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

server, webui: add pool descriptions #167

Merged
merged 2 commits into from
Jan 7, 2025

Conversation

FrostyX
Copy link
Collaborator

@FrostyX FrostyX commented Jan 3, 2025

Fix #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.

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.
@@ -37,12 +38,20 @@ def pools():
# e.g. result["copr_hv_x86_64_01_prod"]["STARTING"]
result = {}

_, pools_from_config = reload_config()
Copy link
Owner

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)

Copy link
Collaborator Author

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)

Copy link
Owner

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.

resallocwebui/app.py Fixed Show fixed Hide fixed
resallocwebui/app.py Fixed Show fixed Hide fixed
It does some logging which causes permission errors, it is misleading
because it logs as the manager, etc.
Copy link
Collaborator

@xsuchy xsuchy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@praiskup praiskup merged commit c1de0d5 into praiskup:main Jan 7, 2025
3 checks passed
@FrostyX
Copy link
Collaborator Author

FrostyX commented Jan 10, 2025

For the record, I am adding the production descriptions here - https://pagure.io/fedora-infra/ansible/pull-request/2423

ryanlerch pushed a commit to fedora-infra/ansible that referenced this pull request Jan 13, 2025
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

Successfully merging this pull request may close these issues.

Possibility to describe pools
3 participants