Commit Graph

124 Commits

Author SHA1 Message Date
Stephen Smoogen
38b3796440 remove odcs spam 2020-04-24 21:34:13 +02:00
Jan Kaluža
bccba14ca1 Do not try disabling fedmsg-hub, because we do no longer install it. 2020-04-24 21:34:13 +02:00
Jan Kaluža
81b0917b56 Install httpd for odcs. 2020-04-24 21:34:13 +02:00
Jan Kaluža
230521c0b9 Use apache user also for odcs private queue certs. 2020-04-24 21:34:13 +02:00
Jan Kaluža
ae6ce0d40b Use correct ODCS username for fedora-messaging. 2020-04-24 21:34:13 +02:00
Jan Kaluža
6b3f115cb0 Use apache group for fedora-messaging certs. 2020-04-24 21:34:13 +02:00
Jan Kaluža
9e164313f3 Revert "Use apache group for fedora-messaging config"
This reverts commit 5f32d434e8c2251e2c0a71109059e3eefda8cfef.
2020-04-24 21:34:13 +02:00
Jan Kaluža
abe42cf7f8 Run ODCS frontend under 'odcs' user. 2020-04-24 21:34:13 +02:00
Jan Kaluža
6b392d7b9a Use apache group for fedora-messaging config 2020-04-24 21:34:13 +02:00
Jan Kaluža
742031f6cc Remove extra '-' in the rabbitmq key. 2020-04-24 21:34:13 +02:00
Jan Kaluža
85852c96cf Move fedora-messaging.toml.j2 to right location 2020-04-24 21:34:13 +02:00
Jan Kaluža
f0a24a152b Use fedora-messaging for ODCS. 2020-04-24 21:34:13 +02:00
Jan Kaluža
54d289bf23 Disable also python2 fedmsg-hub on ODCS backend 2020-04-24 21:34:13 +02:00
Jan Kaluža
fe628668ba Run odcs-celery-beat on ODCS frontend. 2020-04-24 21:34:13 +02:00
Mikolaj Izdebski
f4ebcc677a ODCS: Use dedicated sysadmin-odcs group 2020-04-24 21:34:13 +02:00
Jan Kaluža
1c210abdd3 Use double slash for hostname in broker_url. 2020-04-24 21:34:13 +02:00
Jan Kaluža
3b8b978515 Set broker_login_method to EXTERNAL. 2020-04-24 21:34:13 +02:00
Jan Kaluža
a72e70f698 Copy ODCS rabbitmq certs to /etc/odcs 2020-04-24 21:34:13 +02:00
Jan Kaluža
343eea7df5 Set rabbitmq CA cert for ODCS. 2020-04-24 21:34:13 +02:00
Jan Kaluža
9416c7b69c Configure celery broker for ODCS staging. 2020-04-24 21:34:13 +02:00
Jan Kaluža
12021e4212 Create odcs_target_dir on backend. 2020-04-24 21:34:13 +02:00
Jan Kaluža
7b61528b28 Use celery-3 in odce-celery-backend.service. 2020-04-24 21:34:13 +02:00
Jan Kaluža
3268ec213a Do not try restarting odcs-celery-backend on frontend 2020-04-24 21:34:13 +02:00
Jan Kaluža
d59ffafdf7 Install latest odcs package. 2020-04-24 21:34:13 +02:00
Jan Kaluža
30c6417c3b ODCS: Install python3-celery. 2020-04-24 21:34:13 +02:00
Jan Kaluža
894fb7cd02 Stop and disable fedmsg-hub-3 on ODCS staging - it uses Celery now. 2020-04-24 21:34:13 +02:00
Jan Kaluža
ab29128b01 Fix path to tmpfiles.d config 2020-04-24 21:34:13 +02:00
Jan Kaluža
04d75773e4 Add odcs_celery_* defaults. 2020-04-24 21:34:13 +02:00
Jan Kaluža
9b64e5d86a Use 'template' for odcs-celery-backend.service.j2 2020-04-24 21:34:13 +02:00
Jan Kaluža
fa7ab62c96 First try to update ODCS to latest version in staging.
ODCS in Fedora infra is quite outdated. This commit changes ODCS
configuration files and playbook to match the latest uptream release.
2020-04-24 21:34:13 +02:00
Aurélien Bompard
f6a71cf48d Set the RabbitMQ admin user permissions in a way that does not overwrite other vhosts
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:11 +02:00
Kevin Fenzi
261bb54d21 odcs / rabbitmq: fix task that was running locally, fix password to be right and not overwrite
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:08 +02:00
Kevin Fenzi
c67b7dd277 odcs / rabbitmq: setup a private queue for odcs on rabbitmq.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:08 +02:00
Jan Kaluža
bce3078d14 Try sending empty JSON in ODCS cleanup task. 2019-02-25 12:35:01 +00:00
Jan Kaluža
0395c736e8 Try escaping quotes differently... 2019-02-25 12:30:31 +00:00
Jan Kaluža
dcecfeb583 Try escaping quotes... 2019-02-25 12:28:30 +00:00
Jan Kaluža
b0ad485c07 Add tags for the ODCS cron job 2019-02-25 12:22:28 +00:00
Jan Kaluža
31ee3b9cda Install cron job for sending ODCS cleanup messages. For testing on stg, send it once a minute. 2019-02-25 12:21:23 +00:00
Jan Kaluža
82c84f4d67 Allow 'packager' group to do ODCS composes. Update pungi.conf to latest upstream version. 2019-02-25 06:11:19 +00:00
Mikolaj Izdebski
4f140305bc Allow submiting "module" ODCS composes to modularity-wg FAS group (#6672) 2019-01-25 09:51:00 +00:00
Jan Kaluža
5011ff3987 ODCS: Allow all Koji arches by default. 2018-11-06 14:55:00 +00:00
Jan Kaluža
fd559dd4a2 Use 'restart apache' instead of 'restart httpd service'. 2018-11-06 06:28:17 +00:00
Jan Kaluža
58dc4a0e49 Use PrivateTmp=0 to force the task run with fixed notify handlers. 2018-11-06 06:22:14 +00:00
Jan Kaluža
402e1a3bb7 Use 'reload systemd' instead of 'systemctl daemon-reload'. 2018-11-06 06:03:20 +00:00
Jan Kaluža
234625903a Disable PrivateTmp=True in httpd.service for ODCS frontend.
The NFS share with /mnt/koji is automounted and can expired after some time.
System then refreshes the expired NFS share, but this does not work correctly
with private filesystem namespace which is enabled by httpd using PrivateTmp=True.

This leads to httpd using expired NFS storage and httpd therefore cannot serve
files from this storage.
2018-11-06 05:54:48 +00:00
Jan Kaluža
c36e9c1edb ODCS: Use PUNGI_KOJI_ARGS=['--nightly'] by default. 2018-10-03 13:50:36 +00:00
Jan Kaluža
f9ef6259b3 Use MBS instead of PDC to get modules in ODCS. 2018-10-01 05:27:53 +00:00
Jan Kaluža
d620cbe8a4 ODCS: Restart fedmsg-hub-3 backends 2018-08-30 13:44:08 +00:00
Jan Kaluža
547fecfaae ODCS: Turn on the fedmsg-hub-3 in the end of backends role. 2018-08-30 13:36:48 +00:00
Jan Kaluža
80dd545bf1 ODCS: Make sure Python2 fedmsg-hub is not running. 2018-08-30 13:32:07 +00:00