Commit graph

21621 commits

Author SHA1 Message Date
Qixiang Wan
a4096ccd0d freshmaker: add MBS urls in app config 2018-02-11 16:55:41 +08:00
Qixiang Wan
e5a9e25aa2 freshmaker: whitelist testmodule on stage 2018-02-11 16:40:05 +08:00
Qixiang Wan
f20559c617 freshmaker: remove the temporary task
Seems nothing wrong with app config, revert the slurp task, and
remove 'org.fedoraproject.prod' from message topic prefix on stage that
was added for troubleshooting too.
2018-02-11 15:07:26 +08:00
Qixiang Wan
a1175e60a7 freshmaker: show app config on stage for temp troubleshooting
Seems the parsers on stage are not enabled successfully, show app config
file content for troubleshooting, remove this later.

And a minor var change to restart fedmsg-hub.
2018-02-11 14:13:22 +08:00
Qixiang Wan
f8017a26cf freshmaker: restart fedmsg-hub daemon
'restart fedmsg-hub' handler from restart_services doesn't work, use our
own handler before that fix that one (it's used by many roles, I don't
want to break anything before confirm the issue). And update app config
(add prod fedmsg topic for stage to listen on) to notify the handler.
2018-02-11 10:05:50 +08:00
Patrick Uiterwijk
311a60d262 Revert "Enable h2 on pagure.io"
This reverts commit 173c68df67.
2018-02-10 21:42:16 +00:00
Patrick Uiterwijk
173c68df67 Enable h2 on pagure.io
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-10 21:27:14 +00:00
Patrick Uiterwijk
6e7e0bacc5 Pagure-proxy doees forwarding...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-10 21:21:02 +00:00
Patrick Uiterwijk
18f1320eb3 Support secondary IP
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-10 21:12:27 +00:00
Patrick Uiterwijk
5eecd68868 Enable ip_forward for proxy
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-02-10 22:05:34 +01:00
Patrick Uiterwijk
fd46e74adc Finish pagure-proxy nat rules
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-10 20:33:58 +00:00
Mikolaj Izdebski
1f694e6b5b Don't sync Koji buildroot listings in staging
buildroot_listing is by far the biggest table in koji db (>100 GB for
table data, plus indexes) and it's rarely used - skipping it saves us
some considerable amount of time.  If the table turns out to be
needed, the playbook can always be updated not to exclude it.
2018-02-10 03:29:50 +00:00
Mikolaj Izdebski
4891cfb03e Clean imageinfo listings during Koji staging sync 2018-02-10 03:14:01 +00:00
Mikolaj Izdebski
861c36103d Remove ralph and puiterwijk from list of stg-only Koji admins
Lets not try to grant admin perm to users that already have it, or
we'd get duplicate constraint violation errors.
2018-02-10 03:06:21 +00:00
Mikolaj Izdebski
cda638a3fe Koji staging sync: remove hosts from DB prior to adding them
Some staging hosts already exist in production Koji (they were added
by mistake?), either as hosts or pure users, but can be removed.
2018-02-10 03:06:20 +00:00
Mikolaj Izdebski
7eaec29885 Update koji-reset-staging.sql to recent Koji schema 2018-02-10 03:06:20 +00:00
Dusty Mabe
00f727dbaf
atomic host life support for f26
Sync out the stable ref too, which is just aliased to
the updates ref at this point.
2018-02-09 17:29:23 -05:00
Randy Barlow
39fb321ecd Add the staging alt_master_repomd settings.
Also, rearrange the settings to correspond to their blocks for
primary and alt arches.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-02-09 18:39:19 +00:00
Randy Barlow
d65b46a209 Redefine master_repomd settings that don't have defaults.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-02-09 17:39:36 +00:00
Ralph Bean
db817ee0f3 Typofix. 2018-02-09 16:34:09 +00:00
Ralph Bean
86c78df3f9 Try to fix freshmaker server_name handling. 2018-02-09 16:29:50 +00:00
Ralph Bean
ab1f81b0ce Just set inventory_hostname to freshmaker_servername for now. 2018-02-09 16:29:45 +00:00
Patrick Uiterwijk
24dbc5cf4d Open port 80/443 on pkgs01.stg
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-09 15:13:53 +00:00
Randy Barlow
d5bab6cc8a Correct the CORS setting for staging Bodhi.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-02-09 13:23:10 +00:00
Michael Simacek
6995f01232 Increase koschei pagure cache expiration time 2018-02-09 12:58:55 +01:00
Michael Simacek
45fde4032d Disable distributed memcached lock on koschei.
It seems to deadlock for some reason and is not really needed.
2018-02-09 12:52:12 +01:00
Michael Simacek
e66501a312 Revert "Disable koschei pagure plugin until I figure out why it segfaults"
It was selinux vs dogpile.cache.

This reverts commit ef6f884a0a.
2018-02-09 12:44:39 +01:00
Michael Simacek
05ad37b3f8 Set httpd_execmem sebool on koschei-web 2018-02-09 12:42:38 +01:00
Michael Simacek
ef6f884a0a Disable koschei pagure plugin until I figure out why it segfaults 2018-02-09 10:59:20 +01:00
Qixiang Wan
22930dead9 freshmaker: enable debug log level on stage 2018-02-09 17:49:07 +08:00
Qixiang Wan
f97e5bc371 freshmaker: enable git parser and module build handlers on stage 2018-02-09 15:52:49 +08:00
Qixiang Wan
a2a2d89718 freshmaker: add vars for mbs auth token 2018-02-09 14:54:12 +08:00
Patrick Uiterwijk
31fe8d6bcb Open ports 80 and 443 to everyone
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-08 23:01:22 +00:00
Patrick Uiterwijk
4aa1c5bcc3 Block all but internal from pkgs.fp.o and set up robots.txt files
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-08 22:44:06 +00:00
Kevin Fenzi
cd65be2774 fix conditional 2018-02-08 21:47:19 +00:00
Kevin Fenzi
595a2c40ad changes to get a working bodhi config. Cannot list mounts that the frontend doesnt have and also need to specify the dogpile cache file as it is different than default 2018-02-08 21:33:56 +00:00
Kevin Fenzi
56e9dd9dee fix conditionals 2018-02-08 20:36:36 +00:00
Kevin Fenzi
f75c4dfc55 Merge bodhi production.ini and staging.ini with the shipped version from the upstream rpm. 2018-02-08 20:25:32 +00:00
Adam Williamson
78a7f59ae0 Bump openQA asset size limits for staging
This is due to an upstream change in how the asset reduction
logic works: it now includes 'fixed' assets in the total size
calculation, so we should include the size of those assets
(which is currently ~110GB) in our limits. This is only on stg
for now as only stg has been updated to the new upstream code.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-02-08 10:41:29 -08:00
František Zatloukal
4936b644e9 Taskotron: correct location of imagefactoryd.service 2018-02-08 17:01:00 +01:00
Patrick Uiterwijk
da7f7f89eb Commit to our changes
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-08 15:39:49 +00:00
Patrick Uiterwijk
ce78bf8497 Nat table has different entries
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-08 15:38:58 +00:00
Patrick Uiterwijk
0bfb2a2d1f nat_rules go into the nat table
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-08 15:37:20 +00:00
Patrick Uiterwijk
645654e584 Add empty nat rules
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-08 15:35:49 +00:00
Patrick Uiterwijk
a4f04d53f9 -t nat not needed
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-08 15:32:55 +00:00
Patrick Uiterwijk
40fbf2d575 Do not remove all whitespace
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-08 15:31:24 +00:00
Patrick Uiterwijk
d5ce7a014e Add nat-rules
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-08 15:30:13 +00:00
František Zatloukal
ace5dbaa17 Taskotron: Properly fix imagefactory service
Workaround for https://github.com/redhat-imaging/imagefactory/issues/417
2018-02-08 16:23:50 +01:00
Patrick Uiterwijk
da39a96667 Temporarily override cpu model for virtinstall
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-08 15:22:04 +00:00
Patrick Uiterwijk
7a058ec0ba Fix up pagure-proxy01 gateway
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-08 15:00:55 +00:00