Commit graph

187 commits

Author SHA1 Message Date
Stephen Gallagher
d570e342d9
ODCS: Install xorriso
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-06-17 12:17:38 -04:00
Lubomír Sedlář
e453ce1649 Add expected number of odcs backends
This value is mostly ignored by the application. It is included in the
Prometheus metrics to simplify calculation availability.

The default is set to 0. The number of hosts in the odcs_backend group
is used for the alternative definition in inventory.
2022-06-14 16:06:43 +02:00
Jan Kaluza
896ef5dc2a Run Fedora ELN compose just once a day.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2021-05-10 08:28:03 +02:00
Jan Kaluza
f96df6a048 ODCS: Add compose_ci source to test possible compose-ci packages gating.
The idea is that we will start minimal compose for every new
Koji build for package which appears in the boot.iso and therefore
can break its generation.

These composes will be built using ODCS on releng backend for now.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-12-07 08:42:03 +01:00
Jan Kaluza
e720bfc73c ODCS: Add support for scratch_modules to pungi.conf.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-10-12 07:18:09 +02:00
Jan Kaluza
9268071984 Fix Fedora-ELN crontab. 2020-10-03 06:54:45 +02:00
Kevin Fenzi
443da0c77b odcs: try and fix cron job for eln compose
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-02 11:33:47 -07:00
Mohan Boddu
f43591147d Changing the odcs arches armv7hl to armhfp and i686 to i386
This helps in solving the openh264 mirroring and follow other fedora
composes

MM doesn't understand armv7hl and i686, we need to manually change them
everwhere without this fix

Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-10-02 18:22:52 +00:00
Jan Kaluza
da56f3384b ODCS: Run ELN compose every 3 hours and use timestamp in the label. 2020-10-02 08:36:05 +02:00
Jan Kaluza
24da31f53c ODCS: Do not set enabled:false when simply trying to stop the service to do the upgrade. 2020-08-06 12:24:30 +02:00
Jan Kaluza
0e730e9f9c ODCS: Try to use service module instead of systemd module to fix disabled odcs-celery-backend. 2020-08-06 09:35:03 +02:00
Jan Kaluza
67c7186a2e ODCS: Move systemd daemon_reload to separate task to hopefully fix the disabled odcs-celery-backend service. 2020-08-06 09:30:52 +02:00
Stephen Smoogen
ca61cb76fa try to fix https://pagure.io/fedora-infrastructure/issue/9192 as
/srv/odcs is being set to 0770 every time the playbooks are run. This
patch changes it so that /srv/odcs is set up as 0775 and
/srv/odcs/private is set up as 0770. This should fix the problem for
future runs of the playbook.
2020-08-03 11:10:44 -04:00
Jan Kaluza
7a821d314f ODCS: Move releng composes from odcs-backend back to odcs-backend-releng. 2020-07-31 08:05:39 +02:00
Jan Kaluza
425312bab6 ODCS: Install releng keytab on odcs-backend01 until we get odcs-backend-releng01 again. 2020-06-15 11:15:34 +02:00
Jan Kaluza
ba10a2bb7e ODCS: Trigger httpd restart on frontend 2020-06-12 07:56:04 +02:00
Jan Kaluza
e220dc7015 ODCS: do not create 'private' directory yet without releng backend. 2020-06-11 17:05:01 +02:00
Jan Kaluza
48e9150f91 ODCS: revert tries to fix read-only filesystem. 2020-06-11 16:57:38 +02:00
Jan Kaluza
6c1521169e ODCS: Allow odcs-backend01 to run runroot tasks. 2020-06-11 15:56:26 +02:00
Jan Kaluza
42e4df1f07 ODCS: become odcs-server when changing ODCS_TARGET_DIR permissions. 2020-06-11 06:27:46 +02:00
Jan Kaluza
c692ea6af2 ODCS_TARGET_DIR should be created on all VMs, not just frontend. 2020-06-11 06:19:37 +02:00
Jan Kaluza
ffc74cfdb6 Relax the /srv/odcs permissions from 0770 to 0775. 2020-06-11 06:11:12 +02:00
Stephen Smoogen
32065164b8 fix phx2 hardwire with iad2 hardwire 2020-06-10 10:06:07 -04:00
Jan Kaluza
a65a9749df ODCS: Do not try to stop fedmsg-hub-3, because that package is not installed anymore. 2020-06-04 11:24:09 +02:00
Jan Kaluza
a0a15e927f ODCS: Enable the mod_auth_openidc module on rhel8 2020-06-04 11:11:43 +02:00
Kevin Fenzi
2f81e76657 iad2: adjust a bunch of things that were delegating directly to phx2 hosts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 12:54:59 -07:00
Jan Kaluza
6ccfaf1352 ODCS: Set MAILTO using cronvar module. 2020-05-11 07:46:08 +02:00
Jan Kaluza
7f44408383 ODCS: Do not use special_time in cron job. 2020-05-11 07:27:54 +02:00
Jan Kaluza
442c3b3b8b ODCS: Use symlinks insted of hardlink-or-copy for raw_config composes. 2020-05-11 07:10:02 +02:00
Mohan Boddu
1bf0eb66fb Adding MAILTO releng-cron@ list for eln composes
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-05-08 17:42:19 +00:00
Jan Kaluza
8ccd6841fd ODCS: Remove outdated raw_config.conf options. 2020-05-05 18:36:35 +02:00
Jan Kaluza
0b4ba5bdac ODCS: Fix the version in ELN periodic compose. 2020-05-04 14:22:42 +02:00
Jan Kaluza
6d3a763549 ODCS: Install odcs-client on VMs. 2020-05-04 13:53:28 +02:00
Jan Kaluza
9880d563b5 ODCS: Setup ELN periodic compose. 2020-05-04 13:39:02 +02:00
Mohan Boddu
f75e31281e Adding releng odcs oidc token
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-04-30 13:12:16 +00:00
Jan Kaluža
be4a8f684f ODCS: use --no-latest-link and do not use --nightly.
The `--nightly` option is added automatically in recent ODCS release.
We also do not want to generate latest symlinks anymore with recent
ODCS release.
2020-04-30 05:18:33 +00:00
Jan Kaluža
02f11348b9 ODCS: install packages needed to generate comps files. 2020-04-24 21:34:29 +02:00
Jan Kaluža
b24ea9e7e9 ODCS: Create pungi cache file if it does not exists. 2020-04-24 21:34:29 +02:00
Jan Kaluža
afaf0be610 Use releng@FEDORAPROJECT.ORG on ODCS releng backends. 2020-04-24 21:34:29 +02:00
Mohan Boddu
22ef2bf4cb More fixes to releng keytab in odcs
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-04-24 21:34:28 +02:00
Jan Kaluža
ba6f30ef0c ODCS: Create target_dir only on frontend, because the storage is shared. 2020-04-24 21:34:27 +02:00
Jan Kaluža
60b44b8fb3 ODCS: Create target_dir only on frontend, because the storage is shared. 2020-04-24 21:34:27 +02:00
Jan Kaluža
72468d5f6e ODCS: Stop odcs-celery-backend and odcs-celery-beat before db upgrade. 2020-04-24 21:34:27 +02:00
Jan Kaluža
ee9b3796d0 ODCS: Configure routing of prod composes so releng compose are handled by releng backend. 2020-04-24 21:34:27 +02:00
Jan Kaluža
8040bd2593 ODCS: Fix Pungi cache name. 2020-04-24 21:34:27 +02:00
Jan Kaluža
44f6bac47f ODCS: Execute Pungi cache ownership fix only on backend. 2020-04-24 21:34:27 +02:00
Jan Kaluža
09f4d2cb8f ODCS: Also fix Pungi cache ownership. 2020-04-24 21:34:27 +02:00
Jan Kaluža
56b51220a3 ODCS: Also fix koji profile ownership. 2020-04-24 21:34:27 +02:00
Jan Kaluža
c14ca86f6d ODCS: Also fix /var/run/odcs-backend ownership. 2020-04-24 21:34:27 +02:00
Jan Kaluža
d051992cdf ODCS: Fix owner of /var/log/odcs-backend. 2020-04-24 21:34:27 +02:00