Skip to content

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

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