Commit graph

20556 commits

Author SHA1 Message Date
Nils Philippsen
46b3fb9390 ipa/client: Revamp combining shell groups
The previous implementation didn't work because of a chicken-and-egg
problem: To add the batcave shell groups to those specifically for
bastion, it needs to look them up, but they aren't set yet (probably
because `batcave` comes after `bastion`).

Now, one can (optionally) set `ipa_client_shell_groups_inherit_from`, a
list of Ansible group names whose `ipa_client_shell_groups` will be
combined with that of the host itself. This is more robust because it's
done late, after variables are set from the inventory.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-25 13:53:21 +01:00
Stephen Smoogen
34728c85cd put in clean up scripts to remove fas-client cron job which bollocks systems 2021-03-25 07:17:53 -04:00
Mark O'Brien
b80eb0b4d3 fas: remove trailing slash 2021-03-25 11:01:04 +00:00
Mark O'Brien
5000466350 fas: remove infra-tags repo 2021-03-25 10:54:42 +00:00
Aurélien Bompard
6e68f8fe4f
Fix the mediawiki auth plugin
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-03-25 11:15:29 +01:00
Aurélien Bompard
fc759fd447
Add the ipsilon script to generate the metadata
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-03-25 11:15:29 +01:00
Kevin Fenzi
5b1b2c403d nagios: fix ipsilon check to look for something in the new theme
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-24 18:13:37 -07:00
Kevin Fenzi
5f8274ff6c ircbot: clean up additional typo in fedmsg-irc
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-24 15:55:48 -07:00
Kevin Fenzi
3ac327e4ff ircbot: clean up typo in fedmsg-irc
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-24 15:54:27 -07:00
Kevin Fenzi
f88bdf2c78 mediawiki: drop old fas cla and use agreements in prod now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-24 11:39:11 -07:00
Nils Philippsen
bcfe96b710 ipa/client: Enable VPN hosts to talk to IPA
This requires the canonical names of IPA servers to be mapped to their
IP addresses on the VPN as well as specifying the IPA server explicitly
when enrolling clients.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 18:19:11 +01:00
Nils Philippsen
28cc2e8d93 ipa/client: specify ipa server when enrolling VPN hosts
This is needed for clients that cannot access the internal DNS
where IPA servers are announced.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 18:18:55 +01:00
Aurélien Bompard
2c04966b51
Adjust the location of the service keytab in ipsilon
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-03-24 17:58:12 +01:00
Aurélien Bompard
4c5e2d605b
Fix the sssd config file
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-03-24 17:31:55 +01:00
Aurélien Bompard
be8535cf05
Fix ipsilon config
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-03-24 17:03:58 +01:00
Aurélien Bompard
327de7debe
Disable the openshift instances of ipsilon
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-03-24 16:59:26 +01:00
Stephen Coady
1f20f3556d add a note saying fas is readonly. patch the docker image.
Signed-off-by: Stephen Coady <scoady@redhat.com>
2021-03-24 15:13:14 +00:00
Mark O'Brien
7f2e8d750a fas2: turn mail on to false to avoid mail being sent 2021-03-24 15:11:25 +00:00
Mark O'Brien
49473da360 Avoid mail being sent from fas server while in read only mode 2021-03-24 15:11:25 +00:00
Aurélien Bompard
7b2c578983
Ipsilon in prod is now on a VM like in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-03-24 13:49:33 +01:00
Nils Philippsen
23e6678997 ipa/client: cease masking tasks for prod hosts
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 13:44:32 +01:00
Stephen Smoogen
5deff9066d somehow pagure says I merged this commit but it also says it never happened. This was PR 447 2021-03-24 08:40:34 -04:00
Nils Philippsen
a4b5dfce5b ipa/client: only install sudoers on FAS clients
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 11:06:44 +00:00
Nils Philippsen
0fde62b23c GNOME backups: Be gone
This hasn't been a thing since the colo move.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 10:52:25 +00:00
Carl George
4e16733d13 robosignatory: Use epel-8 key for epel8-next 2021-03-24 10:44:43 +00:00
Pierre-Yves Chibon
46476881a5 ircbot: add fm-podcast for the fedora-podcast project
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-24 10:13:58 +00:00
Mark O'Brien
e32c6c21b9 create daily data only backups of ipa 2021-03-23 18:06:38 +00:00
Aurélien Bompard
b8e6754f97 Use a VM for Ipsilon in prod too
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-03-23 16:55:38 +00:00
Stephen Smoogen
2adb66f4d5 General cleanup of aliases and add mobrien to various places.
Remove old smooge lines
Remove centos box which is no longer existant.

Signed-off-by: Stephen Smoogen <smooge@smoogespace.com>
2021-03-23 16:52:20 +00:00
František Zatloukal
d7c26c5d1b oraculum: Add motd_password 2021-03-23 13:27:04 +01:00
0a09869a91 Actually it was requested to be codeofconduct@ 2021-03-22 22:03:41 +00:00
62e5539db3 Add code-of-conduct alias pointing to fpl+fcaic, sync changes to fasjson/files/aliases.static 2021-03-22 22:03:41 +00:00
Frank Ch. Eigler
9c2a3b93d9 debuginfod: follow storage PV rename into PVC objects 2021-03-22 18:54:41 +00:00
Frank Ch. Eigler
8b5b37cd4b debuginfod: typo fix on PV storage name 2021-03-22 18:54:41 +00:00
Frank Ch. Eigler
ea334535d3 debuginfod: almost ready for -stg
- changed deploymentconfig to a template, to adapt to stg-sensitive PV name
- tweaked debuginfod command line
  - to match expected PV mount points
  - to reduce verbosity
  - to specify scanning parallelism
- specified a requested cpu (8) & ram (24GB) allocation
2021-03-22 18:54:41 +00:00
Frank Ch. Eigler
496735b1a3 debuginfod: initial ansible/openshift work 2021-03-22 18:54:41 +00:00
Aurélien Bompard
2269f0ece1 Prepare Noggin & FASJSON for prod
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-03-22 17:53:42 +00:00
Mark O'Brien
f952b7a715 add ipsilon02 2021-03-22 15:38:28 +00:00
Pavel Raiskup
1192d848f2 copr-fe-stg: test stg openid in stg environment 2021-03-22 15:53:52 +01:00
Pavel Raiskup
314359cbf1 copr-backend: increase the prune time to 14 days
We'll have enough space once the /usr/bin/copr_prune_srpms.py script is
run.
2021-03-22 14:58:47 +01:00
Mark O'Brien
63ef253011 ipsilon: new prod vm 2021-03-22 11:54:33 +00:00
f7054c12f7 languages: remove registry variable 2021-03-20 19:48:49 +01:00
Kevin Fenzi
02eac50add Add a ipa03 host.
We want to add another ipa server host in case the load gets large when
we migrate from fas. We can always nuke this one or add more.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-19 21:14:42 +00:00
Kevin Fenzi
55cc28c3b1 base / iptables: Add rules to block staging networks on prod hosts
In IAD2 the prod and stg hosts are on different VLANs, so we thought we
didn't need this. However, we are still seeing some odd mixing of prod
and stg fedmsgs, so likely some fedmsg port has become enabled accross
all the VLANS. In any case this should do no harm, it just adds 2
subnets on all prod hosts to block staging, except for a small number of
staging_friendly hosts (in the staging_friendly ansible group).

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-19 20:08:05 +00:00
ac93b011a8 languages: set volumeName for PVC 2021-03-19 18:47:12 +01:00
5b8316be12 languages: initial deployment on staging 2021-03-19 17:28:21 +00:00
Nils Philippsen
3abcb2d011 ipa/client: clean sss caches on changes
SSSD caches information, some types for hours by default. When changing
anything in IPA pertaining to a host this role is applied to, clean out
the caches on the host so the changes are effective immediately.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-19 09:27:51 +00:00
Michael Scherer
7118984b64 Fix traceback when the creation date is exactly at 0 ms
nb found that one user was blocking the cronjob from running.
After looking closely, the problem was the creation date is
similar to 2017-02-01 09:10:20+00:00 , so without any dot,
as it was created at the exact microsecond the second started.

The usual format is 2017-02-01 09:10:20.012+00:00, where
split('.') work fine.

Since the traceback stop the whole cronjob, this prevented all
people whose login was after m from having the lifecycle badges.
2021-03-19 08:14:02 +00:00
Kevin Fenzi
4fbfe6de26 retrace: oops, its home
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-18 12:30:52 -07:00
Kevin Fenzi
ab618af4de retrace: see if moving the homedir setting fixes issues
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-18 12:21:50 -07:00