-
Notifications
You must be signed in to change notification settings - Fork 7
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
server, webui: add pool descriptions #167
Conversation
Fix praiskup#133 An example description for a builder: aws_x86_64_normalreserved_prod: description: > A pool of reserved x86_64 instances in the Amazon AWS Fedora organization. Thank you IBM for sponsoring these builders.
resallocwebui/app.py
Outdated
@@ -37,12 +38,20 @@ def pools(): | |||
# e.g. result["copr_hv_x86_64_01_prod"]["STARTING"] | |||
result = {} | |||
|
|||
_, pools_from_config = reload_config() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please test that this doesn't break selinux (apache is unable to read resalloc's configuration files)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It had some issues with /var/log/resallocserver/main.log
which I fixed with the follow-up commit but surprisingly SELinux has no issues with this (on copr-be-dev)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I probably mixed up :-) SELinux is likely blocking apache to write into main.log.
It does some logging which causes permission errors, it is misleading because it logs as the manager, etc.
ca08bc4
to
a6c3c73
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
For the record, I am adding the production descriptions here - https://pagure.io/fedora-infra/ansible/pull-request/2423 |
Fix #133
An example description for a builder: