Sometimes we delete the worker in AWS web UI, and our termination script
should ignore the error (at least for now, less error prone solution is
needed).
I suppose that copr backend code should survive the playbook failures,
but it doesn't yet: https://pagure.io/copr/copr/issue/1112
This adds some predefined config to ~/.aws/config, and fixes
copr-builder-image-prepare-os.sh so it accepts first argument like
- x86_64 -> cloud not specified, equivalent to os:x86_64
- os:ppc64le -> box in OpenStack, ppc64le architecture
- aws:x86_64 -> box in AWS, x86_64
instead of plain x86_64/ppc64le.
The reason we do this is so we can use a few scripts (like nag-once)
as python2 on python2 hosts and python3 on rhel8 hosts.
Note that this depends on the script working on either.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
The recent changes to postgresql_server increased the required memory past
what one of my VMs had. I've added a conditional in postgresql.conf to put
some memory settings back where they used to be (controlled by
small_postgres_instance, default is false) and created a default to not use
the small_postgres_instance settings unless specified
We will need to check these services after pushing this out and confirm
that they are still emitting or hearing messages they need to.
Many thanks Karsten!
The pkl file should be removed from everywhere now and everything should
be copying, stating or checking the .proto file now.
Signed-off-by: Adrian Reber <adrian@lisas.de>
Starting the mirrorlist container after a stop sometimes fails with:
Error: error creating container storage: the container name "mirrorlist1.service" is already in use
One way to work around this is to run:
sudo -u mirrormanager /usr/bin/podman rm mirrorlist1.service --storage --force
The restart mirrorlist container script now tries to remove the
container with '--storage --force' if the start fails and retries the
start.
Signed-off-by: Adrian Reber <adrian@lisas.de>
The script sync-old-pkl.yml (which is almost never used) was still
referencing pkl instead of the new proto extension for the mirrorlist
data exchange file. Now also using .proto. The name of the file is
unchanged which is not correct anymore. Not sure if the filename is
referenced in any documentation or SOP. Not changing it therefore right
now.
Signed-off-by: Adrian Reber <adrian@lisas.de>