Commit graph

31296 commits

Author SHA1 Message Date
Kevin Fenzi
185212ef17 iad2: set a eth1_ip for batcave01.iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 15:58:52 -07:00
Kevin Fenzi
c41e1c0815 iad2: use the correct vmhost for batcave01.iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 15:55:50 -07:00
Kevin Fenzi
374102b25a iad2: drop this link, we do not need it anymore
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 15:52:05 -07:00
Kevin Fenzi
cd327147a8 iad2: add a batcave01 in iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 15:49:27 -07:00
Kevin Fenzi
330a0d8405 iad2: log02.iad2. Seems we do not have collectd-ping, or collectd-rabbitmq in epel8 yet
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 15:39:28 -07:00
Kevin Fenzi
927ff7f17c iad2: adjust logserver playbook to handle iad2 log server
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 15:08:55 -07:00
Kevin Fenzi
cec764a806 iad2: add a log01 server to iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 15:05:17 -07:00
Kevin Fenzi
0591804fec iad2: noc01.iad: do not try and install fedmsg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 14:48:23 -07:00
Kevin Fenzi
710c3eaad9 iad2: tftp_server: we do not want pxelinux here, use uefi
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 14:33:36 -07:00
Kevin Fenzi
41660dfe72 iad2: install dhcp-server on rhel8 instead of dhcp, package has moved
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 14:22:17 -07:00
Stephen Smoogen
a6aa7f7923 Make it so correct mod_wsgi gets installed on different versions of rhel 2020-05-08 15:11:46 -04:00
Stephen Smoogen
5c301c12fd try to make this host work with more ram 2020-05-08 14:14:45 -04:00
Kevin Fenzi
fda9b67243 iad2: Setup serial console for sol in iad2.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 11:10:28 -07:00
Stephen Smoogen
4566958e77 Merge branch 'master' of ssh://pagure.io/fedora-infra/ansible 2020-05-08 13:45:25 -04:00
Stephen Smoogen
72dd097774 ansible requires a host in the inventory to run. added noc01.iad2 2020-05-08 13:45:15 -04: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
Stephen Smoogen
3d67cc7d3f Add dhcpd file for noc01.iad2.
Make nagios_server only on phx2 and ibiblio datacenters.
2020-05-08 13:40:57 -04:00
Stephen Smoogen
e2a87b021d Put in files and tools to bring up a dhcpd and noc server at IAD2. 2020-05-08 13:39:46 -04:00
Clement Verna
6077791357 bodhi: use the python3 version of koji-cli-plugins
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-05-08 13:59:49 +02:00
Clement Verna
6921d5ecd4 bodhi: remove legacy fedmsg certs in stg
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-05-08 13:43:55 +02:00
Clement Verna
8f742beaac bodhi: update stg instance to fedora 32
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-05-08 11:40:24 +02:00
Adam Williamson
d667aba2f7 Revert "openqa: test minimal-shrink createhdds branch on staging"
We merged the branch down so master is fine now.

This reverts commit 74c879faba.
2020-05-07 19:33:59 -07:00
Kevin Fenzi
6e43547520 iad2: add host vars for other vmhosts to allow clevis role to work
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-07 19:09:58 -07:00
Kevin Fenzi
3fc79913d0 iad2: add a clevis role to adjust virthosts for clevis/tang
clevis needs to bring up a interface to talk to the tang server
at initramfs time. This is fine, but dracut then "helpfully" writes
out any network config you pass it to ifcfg- files and messes
up the hosts normal networking. If you have bridge devices this is
even more pronounced as the device clevis used keeps the main
bridge ip and doesnt enslave to the bridge, breaking everything.

In order to work around this we:

* tell dracut to not save ifcfg- files from it's passed network config.
* tell dracut to use the first bridge device at initramfs time to
talk to tang
* run a systemd unit after boot to wipe any dract network config out,
allowing NM to start with a clean slate.

Note that you still need to run a dracut -f --regenerate-all

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-07 17:09:17 -07:00
Kevin Fenzi
1871d44c90 iad2: add tang01/02 servers to iad2.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-07 13:42:27 -07:00
Kevin Fenzi
83052d421b iad2: add vmhost-x86-07 to the iad party
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-07 13:28:22 -07:00
Stephen Smoogen
4e9b4e9b12 BIND: rethink having a seperate dns zone for build and qa 2020-05-07 15:27:28 -04:00
Pierre-Yves Chibon
0db6035454 packager_alias: Allow for sporadic failures in retrieving info from dist-git
Basically, if we fail to retrieve data from pagure or we fail to
convert from JSON, wait for 30 seconds and retry.
If after two minutes (4 attempts) it still hasn't worked, bail.

Fixes https://pagure.io/fedora-infrastructure/issue/7603

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-07 16:52:42 +00:00
5fd5b37321 Add Fedora Minimal Compose to openshift-apps
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2020-05-07 16:00:49 +00:00
Pierre-Yves Chibon
45163f66af Add pingou to the app owner of ipsilon
This will help him figure out if the config change pushed
yesterday was successfully deployed.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-07 17:56:09 +02:00
Stephen Smoogen
b6d37e4e68 Add a variable which should stop having these servers added to nagios
for the meant time. It may need more fixes.
2020-05-07 11:30:39 -04:00
Pavel Raiskup
5d26e6c7d4 copr-be: don't re-define alrady defined vm_name
Ie define vm_name only if the playbook is _not_ run from resalloc
server.
2020-05-07 14:41:43 +02:00
Pavel Raiskup
a38bea22b1 copr-be-dev: vm-aws-new needs copr_task.vm_name, too 2020-05-07 14:28:56 +02:00
Pavel Raiskup
63d66a3311 copr-be-dev: correct path to aws terminate playbook 2020-05-07 14:24:25 +02:00
Pavel Raiskup
bbcc370de7 copr-be-dev: fixup resalloc+aws config 2020-05-07 14:17:07 +02:00
Pavel Raiskup
d4865aca5d copr-be-dev: first attempt to allocate AWS VMs by resalloc 2020-05-07 14:08:35 +02:00
Kevin Fenzi
a9d3483554 iad2: add in vmhost-x86-02 to 06.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-06 21:31:59 -07:00
Kevin Fenzi
a2136ce2a2 iad2: set iad2 datacenter on vmhost-x86-01.iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-06 17:00:14 -07:00
Kevin Fenzi
29a4145466 iad2: add a iad2 resolv.conf file.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-06 16:54:48 -07:00
Kevin Fenzi
6d595ddf74 dns / iad2: add a IAD2 view to dns
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-06 16:39:41 -07:00
Kevin Fenzi
2c31e220fb dns: drop libsemanage-pythong and policycoreutils-python from dns since they are not in rhel8
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-06 16:07:28 -07:00
Adam Williamson
a720ccac18 openqa/worker: correct scratchrepo cleanup filename
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-06 15:08:54 -07:00
Adam Williamson
74c879faba openqa: test minimal-shrink createhdds branch on staging
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-06 14:44:58 -07:00
Adam Williamson
1b87504450 openqa/worker: make createhdds git branch to use configurable
So we can test non-master branches on stg easier. May extend this
design to other repos (like the tests...) later.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-06 14:43:33 -07:00
Adam Williamson
32f9933aad openqa/server: drop createhdds stuff
This was disabled due to a bug for some time now. Originally I
meant to turn it back on, but now I don't think I do: it makes
more sense to just keep letting the worker hosts handle disk
image building, it doesn't make any sense to have the server do
it for x86_64 but worker hosts do it for other arches. If the
server can't do it *all*, we may as well be consistent across
arches and always have the worker hosts do it.

This does mean that on initial deployment using these plays there
is a time where the server is up and running but any jobs run
that need the base disk images will fail because the worker play
won't have built them yet. But I think that's not a big problem,
and it was already the case for non-x86_64 arches anyhow.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-06 14:27:37 -07:00
Kevin Fenzi
2b511fa419 iad2: no vpn for ns01.iad2 either
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-06 14:17:40 -07:00
Kevin Fenzi
9edbfa6a39 iad2: only install the default PROD prompt in non iad2 datacenters
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-06 13:56:02 -07:00
Kevin Fenzi
9b49971cae iad2: set prompt in iad2 to avoid confusion
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-06 13:51:16 -07:00
Kevin Fenzi
3749cf4a3b iad2: ns01: lets try rhel8 here and see if its easy
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-06 13:27:29 -07:00
Kevin Fenzi
f6d3301708 iad2: add a ns01 nameserver vm
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-06 13:25:07 -07:00