Commit graph

36731 commits

Author SHA1 Message Date
Pavel Raiskup
697d5a9b38 copr-hypervisor: fixup vars.yml instantiation 2022-01-25 14:04:12 +01:00
Pavel Raiskup
7fbfb87a1c copr-builder: cleanup provision scripts
- add copr_builder_fedora_version variable, because production sometimes
  differs from devel for a short period of time
- drop the epel-8 -> centos-stream+epel-8 links, this is now done all
  against RHEL
- katello hack package is not in s390x images anymore, since we generate
  the images by 'copr-image', not by IBM Cloud snapshots
- kernel-core is now fixed for aws builders, update it as well as other
  packages when updating the image
- don't install subscription-manager when spawning builder, it is
  already available from image preparation time
- copr-rh-subscribe.sh script is also prepare_base_image only
- we don't modify /etc/copr-rpmbuild/mock.cfg.j2 for quite some time,
  drop the hack
- the /usr/bin/copr-update-builder is fixed upstream, drop the
  lineinfile hack
- epel-8 configs are installed via files/mock/epel now
- no need to touch /etc/rpkg.conf nowadays on f35
- prepare mockbuilder user only when preparing image, not spawning
- disable coredumps only when preparing the image
- disable services only when preparing the image
- don't update rubygem-gem2rpm all the time, on F35 we have new enough
  version
- the /etc/copr-rpmbuild/rpkg.conf.j2 is to be kept as is on F35
2022-01-25 13:50:35 +01:00
Pavel Raiskup
8ebc8d97bc copr-builders: Power9 machines seem to wait long for DHCP 2022-01-25 13:50:35 +01:00
Lenka Segura
a0eea29bdc Release of 5.7.4 to staging 2022-01-25 11:55:59 +01:00
Pavel Raiskup
f4630f18a1 copr-dev: update builder images to F35
Per https://docs.pagure.org/copr.copr/how_to_upgrade_builders.html

Note the issue with AWS aarch64 images:
https://pagure.io/cloud-sig/issue/365
2022-01-25 11:03:22 +01:00
Pavel Raiskup
e103e35c4b copr-hypervisor: tag the package installation task 2022-01-25 10:19:04 +01:00
Pavel Raiskup
08c1bc3f98 copr-hypervisor: install podman
This is needed to generate Fedora 35 qcow2 builder images.
2022-01-25 10:18:16 +01:00
Pavel Raiskup
028476bfa2 copr-hypervisor: set metadata_expire on helpers directory 2022-01-25 10:12:42 +01:00
Pavel Raiskup
6fc324cf25 copr-hypervisor: update helpers with tags 2022-01-25 10:09:35 +01:00
Pavel Raiskup
754e421ef3 copr-hypervisor: update helpers package with dnf
This should refresh the repository metadata.
2022-01-25 10:08:39 +01:00
Kevin Fenzi
864d8d3732 main: drop playbook for datagrepper, it has moved to openshift.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-24 16:09:16 -08:00
Adam Williamson
91ca14b966 Add host_vars for openqa-x86-worker05
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-24 14:02:07 -08:00
Kevin Fenzi
abd4523cac sigul / bridge: drop fas group check so we can drop fas
Right now this is the last thing (That we know of)
thats using fas2. If we disable this for now we can drop fas2. :)

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-24 13:34:46 -08:00
Pavel Raiskup
d2a2a91828 copr-builders: use limits.conf.d, not limits.conf
The old variant seems to break SSHD on Fedora 35 for some reason, maybe
https://access.redhat.com/solutions/2947841
2022-01-24 22:06:20 +01:00
Adrian Reber
ff550a4317 Try to restart a mirrorlist-server process if not running
Sometimes we see that mirrorlist-server processes are not running and it
just needs to be restarted. Let the script try it twice before erroring
out.

The most common reason for non running mirrorlist-server processes seems
to be incomplete or truncated input files which is usually fixed the
next time the data is synced.

Signed-off-by: Adrian Reber <adrian@lisas.de>
2022-01-24 18:52:32 +00:00
Leonardo Rossetti
76ec9e06a1 adding resultsdb username 2022-01-24 18:49:34 +00:00
d2b07d0218 languages: compute stats for f35 2022-01-24 18:47:15 +00:00
Mattia Verga
0de9fdade7 bodhi: relax regex used to catch bug ids in changelogs
Signed-off-by: Mattia Verga <mattia.verga@protonmail.com>
2022-01-24 18:41:28 +00:00
David Duncan
c7a4031d5f Update configuration to include new AWS region ap-southeast-3
Signed-off-by: David Duncan <davdunc@amazon.com>
2022-01-24 18:36:02 +00:00
David Duncan
5bb6e67e21 Update script to include new AWS regions after jakarta launch
Signed-off-by: David Duncan <davdunc@amazon.com>
2022-01-24 18:36:02 +00:00
8a009ac86a docstranslation: stick with fedora version of po4a 2022-01-24 18:32:05 +00:00
Kevin Fenzi
9552a4ccec security.txt: push out a year on date
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-24 10:31:07 -08:00
Kevin Fenzi
d93be536ff proxies: add security.txt file
Per https://securitytxt.org/ and
https://datatracker.ietf.org/doc/html/draft-foudil-securitytxt-12
This is a basic 2 liner, we can expand on it later.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-24 18:28:46 +00:00
Dusty Mabe
0ae073966a
fedora-coreos-pipeline: include prod OpenShift cluster as a target
We're ready to deploy to the prod cluster now.
2022-01-24 10:25:23 -05:00
Dusty Mabe
2274273ab9
fedora-coreos-pipeline: add steps for deleting project
These steps can be used by the app owners to delete the
project if needed so it can be recreated from scratch.
2022-01-24 10:25:23 -05:00
Dusty Mabe
ac61ab020c
Align naming for the Fedora CoreOS Pipeline
Our playbook was named `fedora-coreos.yml` and our role was
named `fcos-pipeline`. Let's meet in the middle at `fedora-coreos-pipeline`
for both.

Also update some of the descriptions.
2022-01-24 09:55:56 -05:00
Adam Saleh
063545f933 Add Lenka and Patrik to bodhi project on openshift. 2022-01-24 15:22:45 +01:00
Adam Saleh
3e61b53ce1 Testing Bodhi on staging before 5.7.4 release. 2022-01-24 15:06:27 +01:00
Jakub Kadlcik
612af5e20c copr: use systemd drop-ins instead of chaning /usr 2022-01-23 23:54:23 +01:00
Jakub Kadlcik
259b3878c1 swap: fix file creation to be idempotent, pt2 2022-01-23 23:15:49 +01:00
Jakub Kadlcik
358b3c5130 swap: fix file creation to be idempotent 2022-01-23 22:58:00 +01:00
Jakub Kadlcik
12dd3933cc copr: automatically restart frontend httpd after failure 2022-01-23 22:55:23 +01:00
Jakub Kadlcik
68139c0ff2 swap: automatically start swap.swap service, pt2 2022-01-23 22:20:30 +01:00
Jakub Kadlcik
c9d8a50050 swap: automatically restart swap.swap service 2022-01-23 22:01:14 +01:00
Jakub Kadlcik
8de6ab833f swap: create swapfile only once 2022-01-23 21:45:30 +01:00
Jakub Kadlcik
8495c555cc swap: oops, fix typo 2022-01-23 21:32:41 +01:00
Jakub Kadlcik
415731c1ac swap: try to make swapfile working on btrfs
Since F35, the swap service started failing with:

    kernel: BTRFS warning (device nvme0n1p5): swapfile must not be copy-on-write
    swapon[2976986]: swapon: /swap: swapon failed: Invalid argument
    swap.swap: Swap process exited, code=exited, status=255/EXCEPTION
2022-01-23 21:28:16 +01:00
Adam Williamson
104fb66c9c Revert "Enable debug logging on Bodhi temporarily"
This reverts commit 432ad2dcea. We
figured out the problem now.
2022-01-22 11:38:31 -08:00
Adam Williamson
432ad2dcea Enable debug logging on Bodhi temporarily
We're trying to figure out why Bodhi isn't changing update gating
status in response to new test results. Debug logging might help.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-22 11:27:39 -08:00
Anoop C S
eaf7eca4d4 Update email_override in openshift toddler templates
Signed-off-by: Anoop C S <anoopcs@redhat.com>
2022-01-22 09:39:18 +05:30
Adam Williamson
f54516845e Cut openQA worker host 03 down to 22 worker instances
It only has 48 CPUs, so 30 is a bit too many.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-21 13:43:26 -08:00
Adam Williamson
f58eef4690 Update openQA stg scratch build
Previous one had a dep issue and didn't actually install.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-21 13:07:10 -08:00
Adam Williamson
bbc5341c0f Add host_vars for new openQA workers (03 and 06)
05 is still being setup.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-21 12:38:23 -08:00
Adam Williamson
a86dfed582 Tag the ipa/client role in the openqa-workers playbook
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-21 12:13:08 -08:00
Adam Williamson
c19bb08541 Add new openQA worker hosts to the appropriate groups
This doesn't add host_vars for them yet, as I need them to be
partially deployed so I can find the necessary info to set the
host_vars correctly...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-21 12:04:25 -08:00
Stephen Smoogen
9845cd08be fix nagios check on download.copr to use check_website_follow_ssl to remove alert 2022-01-21 11:16:55 -05:00
Pavel Raiskup
c9951efa8d nagios: disable download.copr.fedoraproject.org chack again
We don't know what's wrong on that:
HTTP CRITICAL: HTTP/1.1 503 Service Unavailable - string 'Index of /' not found on 'https://download.copr.fedorainfracloud.org:443/' - 3692 bytes in 0.631 second response time
2022-01-21 15:29:14 +01:00
Silvie Chlupova
ba86e27e79 copr: add nagios checks for copr servers 2022-01-21 14:18:05 +01:00
Kevin Fenzi
60cc37ecd0 dhcp: adjust for new openqa workers
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-20 17:24:33 -08:00
Adam Williamson
9a4027b096 Re-enable openQA-related wiki writing services in staging
Staging wiki auth from openqa-lab01 works again now (thanks to
Aurelien) so we can re-enable these. Also fix the grouping in
openqa_lab that was broken by the sorting done in 580cd25.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-20 15:21:38 -08:00