Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Role update_status_html writing to the wrong file #37

Open
benibr opened this issue Apr 15, 2024 · 4 comments
Open

Role update_status_html writing to the wrong file #37

benibr opened this issue Apr 15, 2024 · 4 comments

Comments

@benibr
Copy link
Collaborator

benibr commented Apr 15, 2024

The role update_status_html writes to {{ migrid_state_directory }}/wwwpublic/status.html as can be seen in https://github.com/ucphhpc/ansible-docker-migrid/blob/main/roles/update_status_html/tasks/main.yml#L145

This is wrong as this file is part of the HTML content showing the status of Migrid eg. https://status.erda.dk/status.html

I'm not sure what the initial idea of this role was, and I guess it makes sense to write all the deploy information to a file for error reporting and reproducability but we should use another file as status.html is meant as a webpage :-)

@benibr
Copy link
Collaborator Author

benibr commented Apr 15, 2024

@Bjarke42 Can you comment on this what the initial story behind that role is?

@Bjarke42
Copy link
Collaborator

We choose this file because it has always been empty here, so i decided to use that file for deploy info. I guess it would be easy to rename it to deploy.html. But with all the errors we have had, we have never seen any info come up in this file, so do you have an exampe of something going there ?

@benibr
Copy link
Collaborator Author

benibr commented Apr 16, 2024

As explained above this is the file that contains the HTML for showing the status information. See example link in the description.

@Bjarke42
Copy link
Collaborator

Okay, thats manually inserted information by KU. We do not use that because we have a very different way of informing, via https://serviceinfo.au.dk/
I just wondered if it had any autofilled information in the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants