Commit Graph

41034 Commits

Author SHA1 Message Date
David Kirwan
017235c79d zabbix: add agent to logger systems
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-04-23 13:07:12 +01:00
David Kirwan
9cc8c5d489 zabbix: add external host https template
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-04-23 12:37:55 +01:00
Paul Whalen
4a8c9ecf96 IoT: Sign stable with f40 key
Signed-off-by: Paul Whalen <pwhalen@fedoraproject.org>
2024-04-22 12:53:38 -04:00
Kevin Fenzi
635d3eaa94 kernel02: fix netmask to use cider
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-04-22 09:13:41 -07:00
Kevin Fenzi
4b64142fa3 kernel02: correct network info
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-04-22 09:12:20 -07:00
Aurélien Bompard
86c0b2e50c Fix the last badges-related commit on the staging proxy
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-04-22 17:18:22 +02:00
Aurélien Bompard
f75f5d7823 Badges: update the proxies to point to openshift
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-04-22 12:38:47 +02:00
Aurélien Bompard
e9ceda06da Badges: add the official route
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-04-22 12:33:16 +02:00
Miro Hrončok
fc460139cd Hack around c8s python39 module versions not in ascending order
Fixes https://pagure.io/releng/issue/11947

See also:

https://issues.redhat.com/browse/CS-2025 (module with highest version is incomplete)
https://issues.redhat.com/browse/CS-2044 (module versions are not in ascending order)

Signed-off-by: Miro Hrončok <miro@hroncok.cz>
2024-04-22 10:06:38 +00:00
Aurélien Bompard
cef59c7a8f Badges: prepare for prod deployment
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-04-22 11:21:13 +02:00
Neil Hanlon
bafcded29e fix(os:cloud-image-uploader): set workingDir on container
The latest import failed due to "ERROR: Unable to create local
directories(/.ansible/tmp): [Errno 13] Permission denied: b'/.ansible'".
Which implies the code is being executed from `/`, despite the WORKDIR
variable being set in the container image--I suspect this is a quirk of
kube/openshift that was not expected.

This change sets the workingDir to /srv/cloud-uploader, as specified in
the Containerfile, which should resolve the execution error.

Signed-off-by: Neil Hanlon <neil@shrug.pw>
2024-04-20 20:47:16 +00:00
Kevin Fenzi
6ac1be1f3a lists: block agreessive crawler
This crawler is doing about 2M requests a day to
lists.fedoraproject.org. This is causing db load on db01, causing
services to have issues.

So, block them here for now, but we may want to block them elsewhere
too.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-04-19 11:47:18 -07:00
Samyak Jain
7e6b1b19f1 Fedora 40 is GO
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2024-04-19 21:36:49 +05:30
Kevin Fenzi
9c125b16ea Add aws-pyai group for ticket 11882
Note that this needs the group created in ipa first and the aws iam
policy setup.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-04-18 21:23:57 +00:00
Kevin Fenzi
3b2853b5d4 nagios / staging: fix staging vmhost mgmt
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-04-18 14:20:03 -07:00
Kevin Fenzi
838338e312 IAD2 datacenter changes
There were folks on site this week to rack new machines/pull old
machines, and unfortunately we don't really have much control over when
this happens based on our freeze, so I am just pushing this as part of
the 'do whats required to handle an outage'.

We did the following changes:

- removed old autosign01 (was out of service as we moved to autosign02 a
  while ago)

- removed vmhost-x86-08/09. We also want to migrate off 07 soon and
  remove it next visit. A new vmhost-x86-08 is installed to replace
  these 3.

- removed vmhost-x86-03/04.stg. Added new vmhost-x86-01.stg to replace
  them both.

- added a new kernel02 to replace kernel01 the next onsite trip.
  This machine still needs switch ports configured.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-04-18 12:53:13 -07:00
Aurélien Bompard
1b164fb0ba Badges: identify staging users with their staging email address
This will ensure that people don't "accidentally" export their staging
badges to their official backpack.

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-04-18 11:10:22 +02:00
Kevin Fenzi
744ba3d779 staging: move some vms around to retire vmhost-x86-03/04
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-04-17 10:03:32 -07:00
Jeremy Cline
79935add66 cloud-image-uploader: Fix routing key for AMQP binding
env renders to "production" which is not what messages are published
under ("prod"). Match what other apps are doing and just use a wildcard
so it'll match anything. Since prod and stage are separate brokers this
is fine.
2024-04-17 11:10:46 -04:00
Aurélien Bompard
8541e8980b Badges: have fedbadges build from the right branch and enable github webhook
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-04-17 08:51:36 +02:00
Jeremy Cline
e32fb64366 cloud-image-uploader: enable production deployment 2024-04-16 12:20:35 -04:00
Jeremy Cline
d89d0d22cf cloud-image-uploader: replicate production images beyond eastus
The image needs to be replicated to a region to be usable in that
region. It's likely we'll want to expand this list and potentially add
logic to the uploader to not replicate nightly images until they are
promoted to the latest image in the stream so I've templated it it
in the configuration.
2024-04-16 12:20:04 -04:00
Jeremy Cline
1072599f35 cloud-image-uploader: change prod storage account name
Storage account names need to be globally unique. It seems fedoraimages
was already taken, so I've adjusted it to one that's not taken. It's
only used to import the images so the name doesn't really matter.
2024-04-16 12:20:02 -04:00
David Kirwan
68e1ca53a7 zabbix: put the zabbix postgresql config under sourcecontrol
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-04-16 11:12:04 +01:00
Kevin Fenzi
40361731f1 vmhost-x86-08: use correct mac address
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-04-15 16:11:22 -07:00
Kevin Fenzi
ca11cec799 vmhost-x86-08: new machine
This machine has been replaced and so we need to update mac address.
This is technically breaking the freeze, but this machine isn't frozen
and shouldn't affect anything else.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-04-15 15:56:28 -07:00
Siteshwar Vashisht
6eb3f65b87 openscanhub: remove guards for deploying to production
This is needed for testing the production deployment.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-15 19:53:30 +02:00
Siteshwar Vashisht
afc268d434 openscanhub: export env variable
This should be used to determine which Copr repository (staging or
production) to use when running a playbook.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-15 18:40:17 +02:00
Siteshwar Vashisht
3bb1867704 openscanhub: try to fix vm-provisioning-configmap
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-15 17:40:16 +02:00
Siteshwar Vashisht
5b25f29396 openscanhub: use fedoraproject.org e-mail domain
Related: https://github.com/openscanhub/openscanhub/issues/253

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-15 15:29:46 +00:00
Siteshwar Vashisht
9825095021 openscanhub: add configmap for vm-provisioning config
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-15 15:28:26 +00:00
Siteshwar Vashisht
18a0e58530 openscanhub: add notification e-mail footer
Related: https://github.com/openscanhub/openscanhub/pull/251

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-15 15:25:28 +00:00
David Kirwan
f5b904526a Move zabbix01 prod to vmhost-x86-05
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-04-15 14:00:57 +01:00
František Zatloukal
3310ca5783 BlockerBugs: move activeDeadlineSeconds to the jobTemplate 2024-04-15 11:23:23 +02:00
František Zatloukal
8cd673e318 BlockerBugs: Use volumeMounts for secrets 2024-04-15 11:16:02 +02:00
František Zatloukal
a6495f1eae BlockerBugs: Rmove duplicated startingDeadlineSeconds in CronJob 2024-04-15 11:07:08 +02:00
Kevin Fenzi
0d40c3e1bd koji: 56gb memory for prod hubs
Sometime in the past we manually bumped memory on these, but when I
reinstalled koji02 it got the lower limit set here in ansible.
So, move both of them to 56gb and hopefully fix koji02 falling over
under load.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-04-14 13:17:59 -07:00
Kevin Fenzi
bd16bf2954 virthost-cc-rdu01: adjust dns search and max procs
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-04-11 16:59:02 -07:00
Kevin Fenzi
e6a7605aa0 virthost-cc-rdu01: new machine
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-04-11 16:41:43 -07:00
Siteshwar Vashisht
5be2b62fcb openscanhub: restore labels for fedora-osh-hub
... container.

This makes the view look better in the web ui.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-11 10:24:07 +00:00
Aurélien Bompard
a47a04f53d Badges: the fedora-messaging branch has been merged
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-04-11 12:07:05 +02:00
Michal Konecny
64c6ee288d [mailman3] Use production FAS for staging mailman deployment
Previous staging deployment used production FAS instance for authentication and
it seems to make new accounts when pointing to staging FAS. Let's redirect that
and see if the accounts will be correctly loaded.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-04-11 09:54:29 +02:00
Michal Konecny
4da350c241 [mailman3] Don't proxy /apache-status request
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-04-11 09:54:29 +02:00
Michal Konecny
ff4ad03fd0 [mailman3] Add hyperkitty tag to all hyperkitty tasks
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-04-11 09:54:29 +02:00
Siteshwar Vashisht
7a65d7a8ef openscanhub: rename ocp repository
... to `fedora-osh-hub` to keep the names consistent with the container
names.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-10 22:01:18 +00:00
Samyak Jain
5cbb912267 Fix torrent-generator to be compatible with 3.9 and rhel changes
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2024-04-10 21:58:13 +00:00
Ryan Lerch
b3b3866dbf openshift: add ryanlerch as an admin
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-04-11 07:30:50 +10:00
Jeremy Cline
ea9efa2ffc cloud-image-uploader: fix the final queue reference
I forgot queues are declared separately from the bindings.
2024-04-10 17:16:31 -04:00
Jeremy Cline
e086b2fe93 cloud-image-uploader: azure gallery names are unique per subscription
I assumed gallery names were unique per resource group, but this is not
the case. They're unique per subscription, oddly, so we need to use a
different name in staging.
2024-04-10 17:16:26 -04:00
Jeremy Cline
6d9f9ecc68 cloud-image-uploader: change rabbitmq name to match CN in certificate
The client certificate contains "cloud-image-uploader.stg" for the CN,
so our RabbitMQ name needs to match. Additionally, the queue name needs
to start with the username, so we need to adjust that as well.
2024-04-10 13:32:01 -04:00