Commit graph

34576 commits

Author SHA1 Message Date
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
Pierre-Yves Chibon
d0f112f435 pagure: make ADMIN_GROUP be None, this works fine
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-02-17 16:01:17 +01:00
Miro Hrončok
5633044539 releng / ftbfs: Update partner-bugzilla tracker bug ID in staging
Signed-off-by: Miro Hrončok <miro@hroncok.cz>
2021-02-17 00:56:06 +01:00
Kevin Fenzi
95da94f986 net/client: re-add check for route, we need it for rdu
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 14:31:52 -08:00
Kevin Fenzi
47419b1bc8 nfs/client: clean up old phx2 stuff
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 14:22:15 -08:00
Kevin Fenzi
63c2188186 releng / ftbfs: Use partner-bugzilla in staging
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 14:02:42 -08:00
Miro Hrončok
8617fa3573 Send the FTBFS log to the releng-cron list
Signed-off-by: Miro Hrončok <miro@hroncok.cz>
2021-02-16 21:58:34 +00:00
Kevin Fenzi
81030d9a3d rabbitmq_cluster: move nagios perms into main playbook in one place
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 13:43:35 -08:00
Pierre-Yves Chibon
deee7e9b9f pagure: define ADMIN_GROUP to a group that do not exists
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-02-16 22:41:32 +01:00
Stephen Smoogen
abe96d97b2 define a br0_port0_mac so that system will function 2021-02-16 16:34:10 -05:00
Stephen Smoogen
da6d7eb9b5 remember to quote {{}} in host vars and such 2021-02-16 16:01:54 -05:00
Stephen Smoogen
14592fea39 Try to use the linux-system-roles in ansible for ips 2021-02-16 15:59:13 -05:00
Kevin Fenzi
e753bda034 rabbitmq_cluster: cookies are 0400 after restart, set them right here too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 12:42:20 -08:00
Kevin Fenzi
c8a77c5574 rabbitmq_cluster / staging: actually delegate to the stg host when running in stg.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 12:40:49 -08:00
Kevin Fenzi
88905ed40f rabbitmq_cluster / stg: use right datacenter for federation
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 12:36:01 -08:00
Kevin Fenzi
77d44a7159 rabbitmq_cluster / apps: no need to make gitlab-centos user as the queue role does that
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 12:16:06 -08:00
Pierre-Yves Chibon
9ce8e6eac3 pagure: explicitely undefine the ADMIN_GROUP variable
Otherwise it goes back to using sysadmin-main which is the default
value, while here we want to rely on a list of users, not a group.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-02-16 20:12:38 +01:00
Kevin Fenzi
c73f991e30 rabbitmq_cluster / osci / staging: adjust the queue names to match username
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 10:47:06 -08:00
Kevin Fenzi
3f5fe0434d rabbitmq_cluster / osci queues: have to make them start with username in stg
This worked in prod, but in staging the queue isn't starting with the
username because that has a .stg in it. So, we need to also have the
queue's have .stg in the name.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 10:37:22 -08:00
Stephen Smoogen
33049aae15 try adding in items for the other copr hardware 2021-02-16 13:29:04 -05:00
Stephen Smoogen
f52f1c774f add in the other copr systems into the hardware list 2021-02-16 13:29:04 -05:00
Stephen Smoogen
0fa7d3d45e Try to make the naming of rdu-cc systems more consistent. 2021-02-16 13:29:04 -05:00
Nils Philippsen
2e6819354f ipa/client: Don't trip over undefined group vars
With set_facts, if an element of a list is undefined, the containing
fact variable becomes a string. Something Sirius Cybernetics Corporation
something something.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-02-16 19:20:29 +01:00
Nils Philippsen
c394c808e6 ipa/client: Deal better with unset IPA variables
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-02-16 15:37:12 +01:00
Nils Philippsen
109865606a ipa/client: Don't divulge secrets
The `ipa_server_admin_passwords` contains the passwords of the admin
users of all IPA servers affected in a play. Don't loop over them
directly to avoid divulging them in the logs or on the console.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-02-16 14:19:04 +01:00