Commit graph

34400 commits

Author SHA1 Message Date
Mark O'Brien
ea5b024dbc redeploy proxy33/39 with new AMI 2021-02-22 10:26:01 -05:00
Aurélien Bompard
7526b44d67 Missed that one
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-22 10:26:01 -05:00
Aurélien Bompard
d9bd5287ab Try to bring back Mailman in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-22 10:26:01 -05:00
Aurélien Bompard
f17dc57b43 Create the sysadmin-main group in IPA
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-22 10:26:01 -05:00
Kevin Fenzi
70d9f69a00 koji / kojira: switch back to the shipped version of kojira
We had a patched version, but the patches have been merged upstream so
we should switch back to using the 'stock' kojira.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-22 10:26:01 -05:00
Nils Philippsen
c2530541f1 ipa/client: Ignore hosts still hooked up with FAS
This is necessary because:

- The ipa/client role is pulled in if only one host is in the play which
  uses it.
- The prepare-ipa-info tasks operate on all hosts in the play in order
  to gather together operations on the IPA server which would otherwise
  be (potentially, unnecessarily) repeated for many hosts in the play
  and which have to be serialized to avoid race conditions when changing
  data in IPA.

For now, we set `primary_auth_source` to `fas` for `all`, and to `ipa`
for the `staging` group. We can set this to `ipa` for individual host
groups in prod to enable this piece meal while we roll out the change.

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

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-02-22 10:26:00 -05:00
ee519289a2 Stop building iot out of the old repo
1. iot.fedoraproject.org now points to getfedora.org/iot
2. The iot directory was removed from the old repo anyway

Signed-off-by: Ben Cotton <bcotton@fedoraproject.org>
2021-02-22 10:26:00 -05:00
Mark O'Brien
b4ffd1d69d mailman01: hostvars for stg iad2 2021-02-22 11:33:32 +00:00
Mark O'Brien
670c68715a redeploy proxy33/39 with new AMI 2021-02-22 11:31:32 +00:00
Aurélien Bompard
a5592f8fb4
Missed that one
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-22 10:51:03 +01:00
Aurélien Bompard
3ef3d39409
Try to bring back Mailman in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-22 10:38:26 +01:00
Aurélien Bompard
fe455c8017
Create the sysadmin-main group in IPA
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-22 10:37:18 +01:00
Kevin Fenzi
e31ecea1c8 koji / kojira: switch back to the shipped version of kojira
We had a patched version, but the patches have been merged upstream so
we should switch back to using the 'stock' kojira.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-19 14:28:26 -08:00
Nils Philippsen
523b53e67f ipa/client: Ignore hosts still hooked up with FAS
This is necessary because:

- The ipa/client role is pulled in if only one host is in the play which
  uses it.
- The prepare-ipa-info tasks operate on all hosts in the play in order
  to gather together operations on the IPA server which would otherwise
  be (potentially, unnecessarily) repeated for many hosts in the play
  and which have to be serialized to avoid race conditions when changing
  data in IPA.

For now, we set `primary_auth_source` to `fas` for `all`, and to `ipa`
for the `staging` group. We can set this to `ipa` for individual host
groups in prod to enable this piece meal while we roll out the change.

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

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-02-19 22:13:18 +00:00
Stephen Smoogen
adcc3b584e fix bvmhost-x86-05.stg.iad2.fedoraproject.org router to be correct network 2021-02-19 16:50:58 -05:00
Stephen Smoogen
6f9f670e73 fix bvmhost-x86-05.stg.iad2.fedoraproject.org router to be correct network 2021-02-19 16:50:34 -05:00
0f5f7850d0 Stop building iot out of the old repo
1. iot.fedoraproject.org now points to getfedora.org/iot
2. The iot directory was removed from the old repo anyway

Signed-off-by: Ben Cotton <bcotton@fedoraproject.org>
2021-02-19 18:15:35 +00:00
Stephen Smoogen
644461a1d4 Fix ips for new aarch64 hardware.
When allocating IP addresses, I used the reverse DNS file as the guide
for what had been allocated. This was in error because there were 3
servers already allocated in this space. This moves the ips to a new
space.
2021-02-19 12:43:13 -05:00
Stephen Smoogen
a5a3b0d7de Merge remote-tracking branch 'upstream/main' into main 2021-02-19 11:15:33 -05:00
František Zatloukal
0199e767d7 oraculum: try frontend build from git 2021-02-19 11:14:51 -05:00
František Zatloukal
63fef17506 oraculum: use master branch for frontend build 2021-02-19 11:14:51 -05:00
František Zatloukal
2496090121 oraculum: try frontend build from git 2021-02-19 14:59:49 +01:00
František Zatloukal
43751b8403 oraculum: use master branch for frontend build 2021-02-19 14:45:22 +01:00
Stephen Smoogen
f7aee096fc Fix inventory/hardware to remove bvmhost-p08-03 so nagios will work 2021-02-18 17:40:42 -05:00
Stephen Smoogen
cdfc5095a2 Fix inventory/hardware to have correct hostname for vmhost-x86-05 to vmhost-x86-cc05 2021-02-18 17:40:42 -05:00
Stephen Smoogen
ac514f96e4 Fix inventory/hardware to remove bvmhost-p08-03 so nagios will work 2021-02-18 17:40:17 -05:00
Stephen Smoogen
ec69619a51 Fix inventory/hardware to have correct hostname for vmhost-x86-05 to vmhost-x86-cc05 2021-02-18 17:36:25 -05:00
Stephen Smoogen
84e5b70f53 Bring up new Lenovo and Dell systems in IAD2
This starts adding in the general host_vars and changes to dhcpd.conf
needed to bring up buildhw boxes and new staging servers.
2021-02-18 16:44:51 -05:00
Stephen Smoogen
55567601c0 Bring up new Lenovo and Dell systems in IAD2
This starts adding in the general host_vars and changes to dhcpd.conf
needed to bring up buildhw boxes and new staging servers.
2021-02-18 21:24:07 +00:00
Stephen Smoogen
6da553c308 Fix tasks/postfix.yaml and roles/basic/tasks/postfix.yaml to match
Found the reason that the definitions I had put were not
working. There were two different ones and i was looking at the wrong
one. Put the two tasks with the same logic so things should work no
matter which one is run.
2021-02-18 17:25:15 +00:00
Stephen Smoogen
09c58e7b75 Try to get virthosts to use correct postfix set.
For some reason the vmhost-x86-copr systems are not using the correct
main.cf even though we have told the variables which one to use. I am
trying a second method to try and force this, but will have to come up
with a different datacenter definition for these otherwise as I can't
figure out why the code is different.
2021-02-18 17:25:15 +00:00
Stephen Smoogen
d0cc759dc6 Merge branch 'main' into copr_mail2 2021-02-18 12:24:42 -05:00
Adam Saleh
3335687173 Updating monitor-gating to work on new branch and look for latest rawhide tag. 2021-02-18 10:35:03 +01:00
Pierre-Yves Chibon
d0a8837c07 distgit/pagure: remove the commit ACL for API keys in prod
This ACL turns out to be too confusing to users as it currently
does not work with our OIDC set-up with fedpkg.
Once we'll have figured out how to make both work together or
keep one and remove the other, we can revisit.

Keeping this in staging so we have a place where we can experiment
with this.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-02-18 09:26:48 +01:00
Stephen Smoogen
ec8c05f116 Fix tasks/postfix.yaml and roles/basic/tasks/postfix.yaml to match
Found the reason that the definitions I had put were not
working. There were two different ones and i was looking at the wrong
one. Put the two tasks with the same logic so things should work no
matter which one is run.
2021-02-17 19:17:50 -05:00
Stephen Smoogen
7def09120e Try to get virthosts to use correct postfix set.
For some reason the vmhost-x86-copr systems are not using the correct
main.cf even though we have told the variables which one to use. I am
trying a second method to try and force this, but will have to come up
with a different datacenter definition for these otherwise as I can't
figure out why the code is different.
2021-02-17 19:12:09 -05:00
Stephen Smoogen
db2ea51618 Have copr vmhosts use different mail config 2021-02-17 18:48:14 -05:00
Stephen Smoogen
57b83291f8 Merge remote-tracking branch 'origin/main' into main 2021-02-17 18:41:05 -05:00
Stephen Smoogen
2939e91888 fix the hostnames for rdu-cc systems due to some unknown playbooks assuming that {{ env }}.iad2 is anything named vmhost-x86 2021-02-17 18:12:25 -05:00
Stephen Smoogen
58646b864b fix the hostnames for rdu-cc systems due to some unknown playbooks assuming that {{ env }}.iad2 is anything named vmhost-x86 2021-02-17 18:12:06 -05:00
Nick Bebout
b004c96b1b Add podcast@fedoraproject.org alias 2021-02-17 18:12:06 -05:00
Nick Bebout
33dd038b32 Add podcast@fedoraproject.org alias 2021-02-17 15:37:05 -06:00
Stephen Smoogen
03a75bbbb3 Merge remote-tracking branch 'refs/remotes/origin/main' into main 2021-02-17 16:30:51 -05:00
Kevin Fenzi
5bbb5a92f8 koji_builder: and conditional for rngd starting
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-17 14:56:50 -05:00
Stephen Smoogen
fe8b113c29 Merge branch 'copr_vm_setup' into main 2021-02-17 14:34:45 -05:00
Stephen Smoogen
aa49bc1021 This pull request sets up a vmhost COPR environment in RDU-CC
First we add in a vmhost_copr playbook which is basically the regular
virthost but meant to limit things for copr admins via rbac.

Second we add in host and group variables which will use the ansible
module for setting up networks. This allows for bridging to work out
of the box and makes sure we know the mac addresses.
2021-02-17 19:26:54 +00:00
Stephen Smoogen
20232f0d7b remove extra range of ips we used for bringup from the 10.3.160 range. 2021-02-17 19:22:05 +00:00
Kevin Fenzi
342ad36321 koji_builder: and conditional for rngd starting
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-17 10:38:42 -08:00
Stephen Smoogen
9c2cc0b184 remove extra range of ips we used for bringup from the 10.3.160 range. 2021-02-17 12:50:01 -05:00
Stephen Smoogen
b7ad40a770 This pull request sets up a vmhost COPR environment in RDU-CC
First we add in a vmhost_copr playbook which is basically the regular
virthost but meant to limit things for copr admins via rbac.

Second we add in host and group variables which will use the ansible
module for setting up networks. This allows for bridging to work out
of the box and makes sure we know the mac addresses.
2021-02-17 11:08:03 -05:00