Commit graph

34745 commits

Author SHA1 Message Date
Pavel Raiskup
f4a4919b49 copr-hv: volume storage 2021-04-23 12:09:45 +02:00
Pavel Raiskup
40a145dac6 copr-hv: swap space 2021-04-23 11:47:59 +02:00
Adam Williamson
8cc6545c4a Drop openQA scratch builds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-04-22 16:06:19 -07:00
Kevin Fenzi
daefe569a6 set primary_auth_source: ipa for staging builders
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-22 14:00:51 -07:00
Pavel Raiskup
350968a567 copr-hv: use the copr/hypervisor role 2021-04-22 18:33:40 +02:00
Pavel Raiskup
34de1182cd copr-hv: install copr user 2021-04-22 18:32:13 +02:00
Pierre-Yves Chibon
1d48d31293 toddlers: remove duplicated variable
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-04-22 15:13:06 +02:00
Pierre-Yves Chibon
72c76eba63 toddlers: update the name and location of the private variables
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-04-22 15:09:28 +02:00
Nick Bebout
2e046bf1e5 jwf's patch swapped the order of the alias - it should read bt0: bt0dotninja 2021-04-21 21:32:00 -05:00
Nick Bebout
393efad2be Remove sysadmin-atomic from group_vars also 2021-04-21 16:50:57 -05:00
Nick Bebout
832455904e Merge branch 'main' of ssh://pagure.io/fedora-infra/ansible 2021-04-21 16:39:59 -05:00
Nick Bebout
a5e8f0f6c0 Remove sysadmin-gnome from batcave since it was deleted 2021-04-21 15:56:06 -05:00
Justin W. Flory (he/him) [Fedora Project]
2effdae9a7 fasjson: Add custom email alias bt0 for FAS @bt0dotninja
This commit creates a custom email address, `bt0@fp.o` to redirect to
@bt0dotninja's FAS email address. As folks who work with Alberto know,
his IRC/Matrix nick is `bt0` and frequently in chats and mailing lists,
his short-hand version of his name is used. So, as @nb did for me
previously with aliasing `jwf@fp.o` to @jflory7, I am doing the same for
@bt0dotninja.

Signed-off-by: Justin W. Flory (he/him) [Fedora Project] <jwf@fedoraproject.org>
2021-04-21 20:46:30 +00:00
Kevin Fenzi
6a2bff7af9 base / ifcfg: make sure and set staging to use stg.iad2.fedoraproject.org domain
This should only affect stg hosts.
We had set all of iad2 the same, prod and stg both.
We need to make sure stg resolves to stg hosts first.
This worked somewhat until now because we replace the resolv.conf on stg
hosts, but without this they are borken right after boot and until we
replace the resolv.conf and restart httpd or other services.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-21 12:13:06 -07:00
Kevin Fenzi
6e1ab9cd21 ipa / client: setup nopasswd sudo groups for maintainer test
For the maintainer_tests instances we just want to allow anyone with
shell access ability to sudo with no password. In this case asking for
password/tokens could provide a MITM attack vector. This matches up with
the way they were setup before with fas2.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-21 16:18:47 +00:00
Pierre-Yves Chibon
7e4543be97 fasjson: do not make the fasjson-aliases silently catch all the exception
This just makes it much harder to debug anything as it silently crashes.
With this, it will crash, show a stacktrace and still have a return code
different from 0.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-04-21 18:06:10 +02:00
Pierre-Yves Chibon
a83685e80a fasjson: fix typo, we need to access .result to have the dict
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-04-21 17:57:22 +02:00
Pierre-Yves Chibon
3cd2bf8929 fasjson: Only create an alias for Fedora contributors
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-04-21 17:54:09 +02:00
František Zatloukal
ffb00b941f Revert "oraculum: Use feature branch to test out FAS on stg"
This reverts commit a20bb1afdd.
2021-04-20 23:25:11 +02:00
František Zatloukal
a20bb1afdd oraculum: Use feature branch to test out FAS on stg 2021-04-20 14:00:30 +02:00
63015e6bd3 Update bodhi staging sync playbook phx2 -> iad2
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-04-19 16:53:58 +00:00
a34c6f6992 languages: namespace missing in oc commands 2021-04-19 16:48:22 +00:00
Brendan Early
4a2f31b0ca Fix syntax issue in solr playbook 2021-04-19 16:46:50 +00:00
Miroslav Suchý
b57d7d4028 copr: typo 2021-04-19 16:29:57 +02:00
Miroslav Suchý
08b2e1370e copr: workaround memory leak
/api_3/package/list/ is leaking a memory. Even after two days of investigation, I did not find why.
Just recycle it more frequent to avoid oomkiller.
2021-04-19 16:03:25 +02:00
Pierre-Yves Chibon
8ccd038356 toddlers: ignore the cockpit account as we do for a couple of others
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-04-19 14:12:35 +02:00
Pavel Raiskup
182b4e2ba6 copr-backend: fix directory listing mtime
Fixes: https://pagure.io/copr/copr/issue/1649
2021-04-19 11:49:06 +02:00
31cc6b81ae update bodhi upgrade migration bool phx2 -> iad2
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-04-19 09:15:42 +10:00
44ba9627eb prepare for deploying bodhi 5.7.0 to staging
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-04-19 08:40:39 +10:00
9a11a95feb remove batcave's retrieve-security-question.py
Removes the batcave script, retrieve-security-question.py
which is no longer needed with Noggin / FreeIPA-FAS

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-04-19 08:38:25 +10:00
Kevin Fenzi
c902575f49 openvpn / base: clean up more RedHat and el6 conditionals
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-16 14:32:36 -07:00
Kevin Fenzi
c0eba5712b openvpn /client: drop another unneeded conditional
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-16 14:25:17 -07:00
Kevin Fenzi
519b756751 openvpn / client: drop another unneeded conditional
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-16 14:20:19 -07:00
Kevin Fenzi
9403ed2309 openvpn / client: drop tons of old cruft for el6 and old openvpn
We had a bunch of old el6 conditionals in here, and we have 0 el6
machines. We also now have some CentOS instances, so we shouldn't check
for RedHat or Fedora anymore. Also, everything is using the newer
openvpn now so no need to make sure the old one is stopped.
This should not affect the vast majority of hosts, but it should allow
the el7/el8-test instances vpns to actually work.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-16 14:09:33 -07:00
Kevin Fenzi
548e3b5332 maintainer-test / copr-hypervisor: clean up playbook and variables.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-16 13:03:25 -07:00
Kevin Fenzi
8a59695693 Add maintainer_test and copr vmhosts to vpn
We need to add these hosts to the vpn to use ipa for auth on them.
They are in the 192.168.100 network, which is the 'more restricted'
subnet of vpn. After the freeze we will probibly want to lock this down
more with a rule on all hosts except ipa* to reject everything from
them. In the mean time the firewall rules blocking most things should be
ok for now.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-16 11:38:26 -07:00
Kevin Fenzi
eddb753a8a bodhi-backend: mount new fedora_ftp_archive volume here
We need this volume here also because this is where the cron job that
calculates the DIRECTORY_SIZES.txt file lives.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-15 15:45:26 -07:00
Mark O'Brien
cba637c5c2 ipa: otp script fix dest name 2021-04-15 21:01:46 +01:00
Kevin Fenzi
fd72c22857 Freeze break request: move /pub/archive from fedora_ftp to fedora_ftp_archive volume
Our fedora_ftp volume is on an SSD aggregate thats running out of space.
So, lets move /pub/archive (17TB) off it on to it's own volume on a
SAS aggregate. archive gets less traffic that other releases, so it
shouldn't be a problem. This will mean however when we archive a release
it will cause a bunch of deletes and re-downloads for mirrors because we
can no longer hardlink content over and then delete it, but there is no
help for that.

I will also notify mirror-admins list about this pending action.
There shouldn't be any short term issues.

Once this PR is merged, we need to run playbooks, then go to a host with
rw access to fedora_ftp and rm the archive tree on it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-15 19:53:08 +00:00
Mark O'Brien
d3927bb3c9 ipa: otp script add tags 2021-04-15 20:29:58 +01:00
Mark O'Brien
ecf0dadc3b add script 2021-04-15 18:23:12 +00:00
Mark O'Brien
b8515e6bce ipa: add script to check which sysadmins do not have otp tokens 2021-04-15 18:23:12 +00:00
Mark O'Brien
8091926e71 ipa: add second stg server 2021-04-15 15:35:08 +01:00
Pavel Raiskup
41580c6a22 copr-vmhost: try to fix sudo 2021-04-15 10:56:01 +02:00
Mohan Boddu
c062941d0a Revert "bodhi / backend: fesco wants to keep 3 days to stable until final"
Now that F33 is released, we should revert back to original.

Fixes: https://pagure.io/releng/issue/10087

This reverts commit df8e13732d.
2021-04-12 19:26:55 +00:00
Michael Scherer
535b396f95 Add the role for translation on sundries 2021-04-12 19:18:38 +00:00
Stephen Coady
88b6b0e0b6 2 bug fixes in the fasjson email aliases script
Signed-off-by: Stephen Coady <scoady@redhat.com>
2021-04-12 19:14:10 +00:00
Kevin Fenzi
5a7bf06620 buildvm-ppc64le: update mac addresses on hosts being reinstalled after bvmhost-p09-02 raid rebuild
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-12 08:30:31 -07:00
Kevin Fenzi
db93fb75cc buildvm-ppc64le: need eth0_ip for now for installs
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-12 08:05:26 -07:00
Nick Bebout
457622b732 Remove people who didn't respond to sysadmin-badges ticket from tahrir.admin 2021-04-10 20:14:05 -05:00