This is a small follow up fix related to 01be34a706.
Previously the script modified a list while iterating through it, which
is always a bad idea, but it didn't throw an error. My last changes
switched it to iterating through a list, which surfaced the flaw as a
RuntimeError. Using a set comprehension is a cleaner way to generate
the set we need to return.
Signed-off-by: Carl George <carlwgeorge@gmail.com>
Originally attempted in 01be34a706, but it
didn't work correctly and needed to be reverted. Some notable
differences this time around:
- Previously the script predicted branch and version based on the tag.
I had this switched to get both of those from the bodhi release, but not
all tags have a corresponding bodhi release. So this now takes a hybrid
approach of using bodhi release if available, and falling back to the
prediction approach otherwise.
- Retired package lists from the lookaside are now skipped if they don't
exist, both during the retrieval and when checked later.
- The get_project_branches function now returns a set.
Signed-off-by: Carl George <carlwgeorge@gmail.com>
The new epel10 release in bodhi is confusing this script, so
lets exclude it for now until we get the script sorted out.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
The index generated by the hyperkitty-hourly script generated unusually big
index (around 1TB).
This script should help with generating the search index from scratch, after
that we can leave it to hyperkitty-hourly job again.
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
network-scripts-openvswitch was removed in f40 and network-scripts
is going away in f41; we really need to get off using them.
This attempts to implement the same setup using NetworkManager,
based on a few different NM/ovs references, and the source of
openQA upstream's os-autoinst-setup-multi-machine . It might
need a bit of tweaking, so for now, we make it a separate task
and use it only on p09-worker01 for testing. This doesn't handle
tearing down the old network-scripts-based config as that's
pretty complex and will only need to happen once; I'll do it
manually before trying this out.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
The interface name changed (thanks, 'predictable' names...sigh)
and this box *is* encrypted currently.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
trying to address
[WARNING]: Unhandled error in Python interpreter discovery for host logdetective01.fedorainfracloud.org: unexpected output from Python interpreter discovery
[WARNING]: Platform unknown on host logdetective01.fedorainfracloud.org is using the discovered Python interpreter at /usr/bin/python, but future installation of another Python interpreter could change the
meaning of that path. See https://docs.ansible.com/ansible-core/2.14/reference_appendices/interpreter_discovery.html for more information.
fatal: [logdetective01.fedorainfracloud.org]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, "module_stderr": "", "module_stdout": "Please login as the user \"fedora\" rather than the user \"root\".\n\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 142}