Commit graph

33177 commits

Author SHA1 Message Date
Aurélien Bompard
dadb90e633
Missing part of bd1cc1d
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-16 09:36:03 +02:00
Kevin Fenzi
4c8d530926 inventory / staging: make sure buildvm-s390x-01.stg is in staging
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-15 19:18:55 -07:00
Kevin Fenzi
38e1eb3e4e bodhi / staging: adjust bodhi staging database to be the correct one.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-15 11:33:08 -07:00
Kevin Fenzi
2c15d84a87 openshift / bodhi / staging: adjust bodhi-web arguments to try and figure out why it's crashing on start
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-15 11:29:27 -07:00
Kevin Fenzi
dba7d2d870 inventory: pkgs and pkgs_stg variables
Adjust pkgs prod to...what it actually already is.
Adjust stg to match prod so we can sync all the content to it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-15 10:58:39 -07:00
Pavel Raiskup
cfee2bba99 copr-be: update the aarch64 aws image
Fixes: rhbz#1887635
2020-10-15 19:22:40 +02:00
Aurélien Bompard
e0918f5c96
Ipsilon: set the attribute mapping for openid too
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-15 19:05:08 +02:00
Aurélien Bompard
5078c95140
The ipsilon service is accessible from the ipsilon hosts, not the ipa hosts
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-15 18:51:12 +02:00
Aurélien Bompard
157f1d2d52
Ipsilon: improve the HBAC rule
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-15 18:46:51 +02:00
Aurélien Bompard
35f2aeb15d
Actually those tasks must be run on the IPA server
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-15 18:04:21 +02:00
Aurélien Bompard
2cc20bb1af
Ipsilon: create a HBAC rule
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-15 17:51:21 +02:00
Aurélien Bompard
bd1cc1d5f7
Allow redirect on usernames that have an underscore
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-15 17:25:23 +02:00
Aurélien Bompard
b219aad49f
Try to fix ipsilon's openid
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-15 16:45:20 +02:00
Aurélien Bompard
b75b580a49
Ipsilon: re-enable the alias for the well-known dir
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-15 15:07:49 +02:00
Aurélien Bompard
78ad8c102a
Ipsilon: fix access to the well-known dir
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-15 14:55:10 +02:00
Stephen Smoogen
6e54578608 Try to get retrace-stg to have vpn.
Currently the retrace03 system is on the vpn while its variables state
vpn:false. I am forcing retrace-stg to have vpn as true to see if that
gets this box onto the VPN.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2020-10-15 08:31:22 -04:00
Clement Verna
b52a7b7e22 Allow mattia to access bodhi in OpenShift (prod/stg)
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-10-15 08:36:32 +00:00
Kevin Fenzi
e59166aeac pkgs / staging: sort out staging certs and sites.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-14 16:20:32 -07:00
Kevin Fenzi
50cc7317bf certgetter / staging: drop certgetter01.stg
We can just use the main one and not bother with a specific stg one

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-14 16:07:41 -07:00
Kevin Fenzi
ff0bf41f00 pkgs01 / staging: set correct db host
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-14 15:52:15 -07:00
Kevin Fenzi
150f53ecb0 Freeze Break Request: Update openshift ssl certs
These certs are used for *.app.os.fedoraproject.org.
ie, things that don't also have/use a fedoraproject.org route.
THis includes the console and some apps that just never bothered to make
a fedoraproject route.

Fixes 9162

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-14 19:38:24 +00:00
Miroslav Suchý
1326be797a retrace: use podman for retracing
this is submitted to upstream as well
2020-10-14 21:02:00 +02:00
Stephen Smoogen
a01fa60589 correct problem with flipped ip addresses between centos-ipa-client01 and centos-ipa-client02
Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2020-10-14 13:26:42 -04:00
Kevin Fenzi
5c70045704 Update staging openshift ssl cert to new one.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-14 09:32:07 -07:00
Stephen Smoogen
7d2b81a658 Made whitespace change. 2020-10-14 10:37:01 -04:00
Stephen Smoogen
539cf52303 Add a host for CentOS testing of noggin
This adds in for the staging environment a minimal system for centos
admins to test how items work in staging. Because this server will be
administered by CentOS, we only set up a minimal environment.

ToDo: Put in lines to get and copy the correct root ssh key into
/root/.ssh/authorized_keys for CentOS admins.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2020-10-14 10:33:16 -04:00
Aurélien Bompard
e97aa82fc0
IPA: Don't allow all users to log into all hosts
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-14 14:44:45 +02:00
Aurélien Bompard
ca8a00dc54
Prepare FASJSON for the new certificate profile setting
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-14 11:47:58 +02:00
Aurélien Bompard
5c71822352
Add ansible-freeipa to batcave
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-14 08:41:47 +02:00
Miroslav Suchý
ebaded131e copr: remove thrnciar 2020-10-14 06:17:01 +02:00
Miroslav Suchý
6c35df6425 copr: remove dturecek 2020-10-14 06:11:04 +02:00
Will Woods
f46768ec6b countme: add .gitconfig
This gives the web-data-analysis `countme` user a .gitconfig file so the
commits it makes in its local git repo have a proper user name and
email address. (Also it makes git stop complaining..)

The email address might not actually be valid, but this repo doesn't
currently go anywhere public so it shouldn't really matter.
2020-10-13 16:17:00 +00:00
Will Woods
f8a5720535 add 'countme' stuff to web-data-analysis role
This should automate running the "countme" scripts every day to parse
new log data and publish updated totals.

Here's what I've added to the ansible role:

* install package deps for `mirrors-countme`
* make "countme" user with home /srv/countme
* clone 'prod' branch of https://pagure.io/mirrors-countme to /srv/countme
  * if changed: pip install /srv/countme/mirrors-countme
* make web subdir /var/www/html/csv-reports/countme
* make local data dir /var/lib/countme
* install `countme-update.sh` to /usr/local/bin
* install `countme-update.cron` to /etc/cron.d
  * runs /usr/local/bin/countme-update.sh daily, as user `countme`

That should make sure `countme-update.sh` runs every day.
That script works like this:

1. Run `countme-update-rawdb.sh`
  * parse new mirrors.fp.o logs in /var/log/hosts/proxy*
  * write data to /var/lib/countme/raw.db
2. Run `countme-update-totals.sh`
  * parse raw data from /var/lib/countme/raw.db
  * write updated totals to /var/lib/countme/totals.{db,csv}
3. Track changes in updated totals
  * set up /var/lib/countme as git repo (if needed)
  * commit new `totals.csv` (if changed)
4. Make updated totals public
  * Copy totals.{db,csv} to /var/www/html/csv-reports/countme

For safety's sake, I've tried to set up everything so it runs as the
`countme` user rather than running everything as `root`. This might be
an unnecessary complication but it seemed like the right thing to do.

Similarly, keeping totals.csv in a git repo isn't _required_, but it
seemed like a good idea to keep historical records in case we want/need
to change the counting algorithm or something.

I checked the YAML with ansible-lint and tested that all the scripts
work as expected when run as `wwoods`, so unless I've missed something
this should do the trick.
2020-10-13 16:17:00 +00:00
Aurélien Bompard
5868f77c53
IPA: fix the new tasks
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-13 17:02:18 +02:00
Aurélien Bompard
cd2e75bc4f
IPA: syntax
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-13 16:50:08 +02:00
Aurélien Bompard
d208e3a087
IPA: attempt to create a certificate profile & ACL
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-13 16:27:07 +02:00
Stephen Smoogen
c1014c4a8c Change download-sync location and update script.
The download-sync for rdu-cc needs to use the /root versus default
quick-fedora-mirror git repository. This allows for it to only copy
the modules needed.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2020-10-12 17:07:33 -04:00
Aurélien Bompard
9f94667b1f
Missing dependency for fasjson
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-12 15:26:13 +02:00
Miroslav Suchý
4c4b63516d copr: really restart lighttpd
Otherwise there are some mapped files on / volume and keep consuming the storage.
I do not know what is actually consuming the storage, but the restart instead of reload helps.
2020-10-12 14:07:13 +02:00
Jan Kaluza
32e4f83062 ODCS: Configure ODCS releng backend as separate task.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-10-12 07:40:38 +02:00
Jan Kaluza
e720bfc73c ODCS: Add support for scratch_modules to pungi.conf.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-10-12 07:18:09 +02:00
Nick Bebout
87779c2821 Quota for jibecfed to 10g 2020-10-11 18:58:30 -05:00
Pierre-Yves Chibon
b1fbe9fb97 toddlers: bump the logs for pdc_import_compose to debug
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-10-09 17:17:11 +02:00
Aurélien Bompard
1ca3aff8f1
Ipsilon: configure SSSd
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-08 12:29:37 +02:00
Aurélien Bompard
f4684a1f07
Ipsilon: fix config files
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-08 10:11:36 +02:00
Aurélien Bompard
3a1885bcc9
Ipsilon in staging: deploy config files
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-08 09:48:31 +02:00
Kevin Fenzi
cf6f1a8b52 mediawiki: in staging, fix the port and password
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-07 12:13:41 -07:00
Pierre-Yves Chibon
542cc75a07 koji sync from stg: attempt to fix the migration
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-10-07 16:24:15 +02:00
Aurélien Bompard
1a1f7d79e4
Ipsilon: fix files location
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-07 14:53:45 +02:00
Aurélien Bompard
fa6eaf9f42
get rid of phx2 in krb5.conf
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-07 14:14:06 +02:00