Commit Graph

5760 Commits

Author SHA1 Message Date
Kevin Fenzi
4dde14c733 openshift-stg: move masters to different virthosts instead of having them all on virthost02.stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-21 18:21:33 +00:00
Kevin Fenzi
2dfb98136a ansible: more cleanup from group name changes.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 18:10:46 +00:00
Stephen Smoogen
a3505f3be9 move host name of 45drives to storinator. do the same for groups also 2019-05-20 17:54:07 +00:00
Kevin Fenzi
4ee87643fa ansible: fix copr_dist-git
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:43:52 +00:00
Kevin Fenzi
a8b31db8c9 ansible: fix copr_dist-git_stg for _
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:43:17 +00:00
Kevin Fenzi
e6b31db5f5 ansible: fix copr_dist-git_dev for _
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:42:33 +00:00
Kevin Fenzi
843a0e569f ansible: fix missing pdc child for _
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:41:07 +00:00
Kevin Fenzi
4431102b0b ansible: fix children in builder inventory for _ change
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:39:48 +00:00
Kevin Fenzi
4b31ac5152 ansible: Change all our group names from foo-bar to foo_bar or foo-bar-baz to foo_bar_baz
In ansible 2.8 the - character isn't supposed to be valid in group names.
While we could override this, might has well just bite the bullet and change it.
So, just switch all group names to use _ instead of -

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:38:09 +00:00
Kevin Fenzi
c626bcba85 Revert "inventory: drop the constructed inventory for now until we are using it for something specific."
This reverts commit 65410b9d5d.
2019-05-20 16:05:59 +00:00
Randy Barlow
eb3be51b78 Correct Bodhi's wiki URLs for staging.
To do this, I added an env_prefix variable - sometimes you need to
be able to say "stg." instead of ".stg" (env_suffix), and this is
an example.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-17 15:40:26 +00:00
Stephen Smoogen
5f18180591 put the internal ip on the right network 2019-05-16 18:56:08 +00:00
Stephen Smoogen
1614605fec make a host_vars for virthost-cloud. Do not have vpn 2019-05-16 17:47:36 +00:00
Patrick Uiterwijk
5613ca9e80 Revert "os-proxies don't do keepalive anymore"
This reverts commit a2acf45321.
2019-05-16 16:47:22 +02:00
Patrick Uiterwijk
a2acf45321 os-proxies don't do keepalive anymore
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2019-05-16 12:02:59 +02:00
Randy Barlow
f5742d1a82 bodhi: Move OpenShift vars into the playbook so they are defined.
Apparently the bodhi2-stg vars file is not used by the OpenShift
playbook, so let's just put the vars into the playbook.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-15 18:23:44 +00:00
Kevin Fenzi
de3f964161 releng-compose: make ansible use python3 on these hosts.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-15 18:15:13 +00:00
Randy Barlow
04afc85443 bodhi: Queue names must start with the username.
The username that Bodhi uses in stg is bodhi.stg, and the queue
names must have the username at the beginning, so this commit
switches to use the env_suffix in the queue name.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-15 17:59:05 +00:00
Kevin Fenzi
902102d2be composers: Move to fedora 30
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-15 17:43:05 +00:00
Randy Barlow
9887217b0a bodhi: Add a message consumer container pod.
This commit attempts to move all message consuming except for
the compose.start topic to OpenShift. compose.start needs to
continue to be handled by a VM for now due to it needing the NFS
mount for Koji.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-15 17:36:34 +00:00
Clement Verna
61b012de95 pagure: remove the git protocol config from the ansible vars
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-05-15 10:24:49 +02:00
Randy Barlow
104e857951 bodhi: Subscribe consumer to bodhi.update.edit.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-14 20:35:29 +00:00
Kevin Fenzi
65410b9d5d inventory: drop the constructed inventory for now until we are using it for something specific.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-14 00:19:40 +00:00
Kevin Fenzi
9fe6bbe4bb buildvm: Move buildvm-aarch64-02 to buildvmhost-02.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-13 23:51:47 +00:00
Kevin Fenzi
71af1742d6 buildvm-aarch64-01: Move to correct vhost.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-13 22:32:03 +00:00
Kevin Fenzi
48aa0b4559 buildvm-aarch64-01: try and move to thunderx2 box again.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-13 22:28:09 +00:00
Stephen Smoogen
974ebc1c3e [inventor] make sure you have the right domain name for hosts to be found 2019-05-13 18:44:29 +00:00
Randy Barlow
2dd354107e bodhi: Move the message endpoints to the right file.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-13 18:28:28 +00:00
Stephen Smoogen
1c1bfc7c20 add in additional hardware hosts for openshift cloud 2019-05-13 18:12:27 +00:00
Stephen Smoogen
03d3773837 [inventory fix] cloud hosts need to be in inventory/cloud or they will not be seen by nagios scripts. Probably a fixme here. 2019-05-13 17:40:59 +00:00
Stephen Smoogen
29eeb7e75a yaml syntax error causing other issues. will try this as temp fix to bodhi2-stg to get other playbook to run 2019-05-13 17:11:08 +00:00
Randy Barlow
ad4e699c4a bodhi: Configure message routing keys.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-13 15:56:44 +00:00
Patrick Uiterwijk
fff34396a5 Allow openshift into basset
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2019-05-13 17:47:33 +02:00
Miroslav Suchý
e0b9189250 remove clime from copr access list
Michal is no longer working in Copr team, so lets remove him
2019-05-13 14:04:36 +02:00
Kevin Fenzi
ee24caf71a communistack: put os-proxies in cloud host_group to try and make nagios happy.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-12 16:56:53 +00:00
Kevin Fenzi
f7debffa6c communishift: Add keepalived iptables rules, and fix interface name in config
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-11 20:35:20 +00:00
Kevin Fenzi
504053f36f communishift: add keepalived and mod so it can handle 2 ips.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-11 20:23:41 +00:00
Kevin Fenzi
261648a5c4 communishift: Setup simple haproxy config and add firewall rules
Note that we don't use the haproxy rule because it's very proxy specific.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-11 20:13:36 +00:00
Kevin Fenzi
077960163e communishift: make os-proxy02 use it's own ip instead of also using the os-proxy01 one. :)
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-11 19:53:29 +00:00
Kevin Fenzi
e9c06f12c6 communishift: use the actual proper external ips and paths
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-11 18:55:24 +00:00
Kevin Fenzi
e632384c2f communishift: correctly put the second proxy on the second virthost.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-11 18:50:40 +00:00
Kevin Fenzi
d02b9c3c66 communishift: use correct virthost name
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-11 18:46:33 +00:00
Kevin Fenzi
badb9a6c47 communishift: add some proxies.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-11 18:45:10 +00:00
Patrick Uiterwijk
f5e2a0eabc Add 8443 for totp to proxies
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2019-05-11 20:43:03 +02:00
Kevin Fenzi
54d8b15a04 batcave01: also add sysadmin-copr here or adding it to bastion does no good.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-10 20:47:34 +00:00
Kevin Fenzi
6054632d42 bastion: add sysadmin-copr
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-10 20:26:46 +00:00
Kevin Fenzi
4c41c807dd virthost-os: Add cloud datacenter so resolv.conf works.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-10 18:50:59 +00:00
Stephen Smoogen
f794e1fe5f try and use the correct kickstart 2019-05-10 17:58:12 +00:00
Stephen Smoogen
53a3b35cbd ok 30 crashed and burned. back off to 29? 2019-05-10 17:41:16 +00:00
Stephen Smoogen
a84ca8e339 add basic grobisplitter items 2019-05-10 17:13:06 +00:00