Commit graph

95 commits

Author SHA1 Message Date
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
Jan Kaluža
07f4f3d852 ODCS: Remove PDC settings from pungi.conf 2018-08-30 13:18:14 +00:00
Jan Kaluža
3d6a75c53d Install python3 versions of dependencies in ODCS base role. 2018-08-30 13:02:59 +00:00
Jan Kaluža
e8d708a9a2 Do not use recurse when creating ODCS_TAGET_DIR. 2018-08-30 10:57:58 +00:00
Jan Kaluža
ffaa05e029 Use fedmsg-hub-3 for ODCS 2018-08-29 13:59:01 +00:00
Mikolaj Izdebski
ca07181406 Revert "Merge branch 'master' of /git/ansible"
This reverts commit bab1e587b6, reversing
changes made to 0da4b9b0fd.
2018-08-29 08:52:18 +00:00
Jan Kaluža
c290bcf769 Do not use recurse when creating ODCS_TAGET_DIR. 2018-08-29 08:32:39 +00:00
Kevin Fenzi
6e053f661b do not follow links as they could point to things that no longer exist on /mnt/koji and cause ansible to error out 2018-06-29 03:57:57 +00:00
Ralph Bean
95619df9b1 libmodulemd and pdc-client needed for pungi. 2018-06-21 14:49:05 +00:00
Ralph Bean
00be7fd514 Open up perms on /srv/odcs. 2018-06-21 13:18:46 +00:00
Ralph Bean
c4ec3cfa3b Fix odcs backend topics. 2018-06-21 12:53:01 +00:00
Ralph Bean
367cfc4f0f ODCS: ensure /etc/fedmsg.d/odcs.py is absent. 2018-06-21 12:42:02 +00:00
Ralph Bean
1f269385f0 ODCS: adjust file ownership. 2018-06-21 12:20:44 +00:00
Ralph Bean
d6dd7dedb0 odcs-backend runs in fedmsg-hub now. 2018-06-21 12:02:09 +00:00
Ralph Bean
95a232b24f OK, if this doesn't work. 2018-06-20 21:09:56 +00:00
Clement Verna
fc38703328 Add the osbs service to the ODCS allowed client
Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-06-19 20:30:09 +02:00
Clement Verna
259b31fc84 Add sysadmin-osbs to the ODCS allowed client
Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-06-18 16:24:30 +02:00
Kevin Fenzi
5c7fbbf9aa drop duplicate definition for odcs_sigkeys 2018-06-03 21:16:55 +00:00
Jan Kaluža
887fbc3cbb Do not run ODCS fedmsg-hub for now. 2018-05-29 05:45:39 +00:00
Jan Kaluža
103a2560bb Set proper ODCS messaging prefix based on env. 2018-05-29 05:34:42 +00:00
Jan Kaluža
6958554271 Add another missing defaults for ODCS. 2018-05-29 05:29:47 +00:00
Jan Kaluža
bb5b6c3154 Update ODCS defaults 2018-05-29 05:25:34 +00:00
Jan Kaluža
683c3023f9 Uprade odcs-stg to latest ODCS 2018-05-28 08:25:38 +00:00
Patrick Uiterwijk
9b2739908b Update ODCS config with new spec for users and groups
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-09 05:39:23 +02:00
Jan Kaluža
357d6b69d1 Set proper translate_paths for ODCS according to env. 2018-01-19 13:48:31 +00:00
Jan Kaluža
55e65fbbaf Set runroot to False when config.bootable is False 2018-01-19 13:05:49 +00:00
Jan Kaluža
c2cd3ae32b Enable runroot only when config.bootable is set 2018-01-19 12:33:53 +00:00
Jan Kaluža
64ccbfe3de Fix typo in raw_config_wrapper.conf 2018-01-19 10:20:18 +00:00
Jan Kaluža
db9301cf93 Allow only x86_64 architectures on ODCS staging 2018-01-19 06:51:55 +00:00
Jan Kaluža
0e252bcc54 Use symlink link_type for ODCS in staging 2018-01-18 11:55:26 +00:00