Commit graph

4084 commits

Author SHA1 Message Date
Kevin Fenzi
dc1b09121b ipsilon: use correct centos stg ipsilon host for hbac rule
This was using the wrong host and thus removing the correct one.
Fixing it to use the right host.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-24 09:26:09 -07:00
Aurélien Bompard
292c7f6c6e
Deploy journal-to-fedora-messaging on IPA (staging for now)
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-03-28 12:37:56 +01:00
Kevin Fenzi
1f2bba4489 bvmhost-a64 / buildhw-a64: enable nbde role here as well
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-03-26 16:17:37 -07:00
Kevin Fenzi
4ab30bdc37 backup: also add nbde role to backup server
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-03-25 11:33:11 -07:00
Kevin Fenzi
f54142e770 backup: add serial console config here
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-03-25 11:29:59 -07:00
Samyak Jain
b4e6f57a4a playbooks/groups/secondary.yml: Install isomd5sum package on secondary servers
Added `isomd5sum` to the list of installed packages in `playbooks/groups/secondary.yml`
to support checksum verification tests on `secondary01.fedoraproject.org`.

This ensures that `isomd5sum` is available for testing workflows, particularly for
QA tasks related to Fedora media checksums.

Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2025-03-19 21:19:58 +00:00
Kevin Fenzi
401d40c098 compose-x86-riscv: adjust some nfs client logic
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-02-17 16:01:55 -08:00
Kevin Fenzi
3a2574b495 releng-compose: no ftp mount on compose-x86-riscv01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-02-17 14:52:38 -08:00
Kevin Fenzi
f0663ae52f compose-riscv01: add a secondary x86 compose host for riscv
This vm will hopefully allow for composing images, repos, etc

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-02-17 13:56:23 -08:00
Kevin Fenzi
4dc4029ad7 koji_hub: enable mod_wsgi role in prod as well
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-02-17 13:19:55 -08:00
Kevin Fenzi
72cc6a829a koji-hub / staging: fix typos
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-02-17 13:04:45 -08:00
Kevin Fenzi
5c492b87a1 koji_hub / staging: try and include mod_wsgi role
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-02-17 13:02:31 -08:00
Adam Williamson
28fbce1a39 Belatedly lift F41 Final freeze, remove unused RelEngFrozen
It seems this has been set true ever since F41 Final freeze. It
probably should have been set false after F41 shipped, but we
missed it.

We did freeze for F42 branching, but I'm pretty sure we declared
that over now. Next freeze is on Feb 18, for Beta.

Also, the RelEngFrozen variable is no longer used by anything.
It was only ever used for one thing in Bodhi config, but that
use was removed in 02cdf36 . So let's get rid of the variable.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-13 08:34:27 -08:00
Michal Konecny
6428f8f772 Sunset github2fedmsg and fedmsg
This commit is removing all the fedmsg related stuff from ansible
repository.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-13 10:08:51 +00:00
Michal Konecny
2ec055db6f Use first uppercase letter for all handlers
This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.

I went through all `notify:` occurrences and fixed them by running
```
set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep
-rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g"
```

Then I went through all the changes and removed the ones that wasn't
expected to be changed.

Fixes https://pagure.io/fedora-infrastructure/issue/12391

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-10 20:31:49 +00:00
Kevin Fenzi
ea5ae957d4 buildvm-x86-riscv: add to playbook
Not gonna work unless the hosts are in the playbook. ;)

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-02-06 15:26:18 -08:00
Kevin Fenzi
bd21aa17c5 add riscv x86 builders
We want a pair of x86_64 buildvm's to do tasks that don't need to be on
a riscv instance (create/newrepos, etc).

So adjust playbooks and add them.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-02-06 15:19:13 -08:00
Michal Konecny
7b58dfdce8 Remove fedmsg and github2fedmsg from staging
The messaging bridges openshift project and github2fedmsg VM were
already removed in staging. This is to clean the ansible playbooks.

I will create a separate one for production after this one is merged.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-04 09:13:40 +01:00
Kevin Fenzi
23d8ef1210 noc-cc01: install ipmitool
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-28 14:33:49 -08:00
Kevin Fenzi
ef73ee4495 buildvm_s390x: drop mention of non existant buildvm-s390x-24
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-27 17:55:13 -08:00
Kevin Fenzi
51bc025548 os-control: fix up indent
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-27 17:52:07 -08:00
Kevin Fenzi
ddc195b56c tasks: drop 2 missed old motd tasks
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-27 17:44:53 -08:00
iamyaash
b3d6a90b9a motd generic template added
migrated notes from infra/hosts

motd changes; excluding CSI infos

removed csi_* vars from group_vars; converted csi_purpose & csi_relationship into notes

fixed merge conflicts

minor changes; var

updating YAMLs & playbooks

udpated YAMLs & playbooks again

updated correctly; buildhw.yml

fixing merge conflicts

dest added in motd.yml
2025-01-28 01:10:14 +00:00
Kevin Fenzi
8b763ae6ab koji-hub: fix some conditionals in playbook
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-27 15:16:40 -08:00
0ba5409a9f
forgejo: Ensure helm utility is available on os-control machines
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-01-27 08:09:38 +00:00
Kevin Fenzi
e71eb715fa koji-hub: add koji_riscv to playbook
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-24 13:38:27 -08:00
Kevin Fenzi
6675345f58 riscv-koji secondary hub
Here's a pull request to setup a secondary riscv-koji hub.

There are still outstanding issues, but things should be
good enough to merge and deploy the initial instance and
interate from there. Also I plan to run a --check --diff to make sure
there's no changes on primary hubs/etc.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-24 19:12:04 +00:00
dbdb0d9824 Fix the final 50ish casing linting errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-22 07:30:55 +10:00
Mattia Verga
afaaf68b22 reg-server: stop serving outdated pages
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2025-01-16 21:35:11 +00:00
Kevin Fenzi
6c38d7b61a various: fix some more shell variables that were accidentally converted to builtin.shell
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-15 17:26:50 -08:00
47c68f478d ansiblelint fixes - fqcn[action-core] - template to ansible.builtin.template
Replaces references to template: with ansible.builtin.template

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:30:29 +10:00
3c41882bb0 ansiblelint fixes - fqcn[action-core] - shell to ansible.builtin.shell
Replaces references to shell: with ansible.builtin.shell

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:29:10 +10:00
25391e95b7 ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
Replaces many references to  package: with ansible.builtin.package

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:28:00 +10:00
462176464b ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command
Replaces many references to  command: with ansible.builtin.command

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:26:47 +10:00
6a3816dfdc ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
Replaces many references to 'copy' with ansible.builtin.copy

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:43:31 +10:00
62952df107 ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
Replaces many references to  file: with ansible.builtin.file

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:41:52 +10:00
691adee6ee Fix name[casing] ansible-lint issues
fix 1900 failures of the following case issue:

`name[casing]: All names should start with an uppercase letter.`

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 20:20:07 +10:00
Kevin Fenzi
c51cbd7824 buildvm-ppc64le: move more builders to iscsi
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-10 13:28:46 -08:00
Kevin Fenzi
b64821ae41 bvmhost-p09-03: look at adding iscsi volume for builders
Setup a iscsi volume, lets see if getting it working on ppc64le is
as simple/the same as x86_64.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-09 14:33:43 -08:00
Kevin Fenzi
82a8e8dbc9 buildvm_s390x: cleanup and add 7 new builders.
We no longer need to keep any config around from boston, so nuke that.
All the buildvm's are now kvm, so we don't need a seperate group/config
for that, so remove it.

Consolidate the variables down to buildvm_s390x group and only have ip
address for host vars.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-12-10 10:50:25 -08:00
Kevin Fenzi
9a2b8bd1f3 add riscv koji db server
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-12-09 15:20:12 -08:00
Aurélien Bompard
b4462755f0
Prefix variables in rabbit/queue
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 11:58:18 +01:00
Aurélien Bompard
b37685848f
Prefix sent_topics where appropriate
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 11:39:54 +01:00
Aurélien Bompard
d23b6f2d9b
s/user_username/user_name/g
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 11:12:47 +01:00
4a4e7e07cb
[ansible-lint] prefix variable names for rabbit/user role
ansible-lint requires that variables for roles are prefixed with the
name of the role. This commit prefixes the variables for the
rabbit/user role with user_ as required by ansible-lint

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-12-03 10:48:45 +01:00
Pavel Raiskup
f11eb65ffc copr-infra: setup root passwords
This is useful when trying to fix things like /etc/fstab
https://fosstodon.org/@praiskup/113557853677016655
2024-11-29 09:44:21 +01:00
89f6f1fc32 Fix majority of remaining yamllint warnings and errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +10:00
Pavel Raiskup
cf46433ec9 copr-keygen: pre-create users before running 'base'
Otherwise we risk a conflict with other automatically allocated users,
right now it is:

fatal: [copr-keygen-dev.aws.fedoraproject.org]: FAILED! => {"changed": false, "msg": "useradd: UID 992 is not unique\n", "name": "copr-signer", "rc": 4}
2024-11-28 00:13:03 +01:00
Adam Williamson
91267d4d49 Templatize branched nightly cron
Instead of doing this by hand at branch and final release, let's
make it a template.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-27 10:08:06 -08:00
Adam Williamson
71c9eab3d0 Make the stable nightly compose crons into templates
This means we don't need to manually update the release numbers
at stable release and EOL times any more, only make sure the
relevant playbook is run.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-27 10:06:08 -08:00