Commit graph

34634 commits

Author SHA1 Message Date
Adam Saleh
94444e10c4 Added bodhi-web servicemonitor to work with the prometheus operator in application-monitoring. 2021-03-15 11:38:34 +01:00
Owen W. Taylor
5b4dd3cbf3 flatpak-indexer: update to a newer upstream
* Fix permissions on generated tardiff files
 * Clean up unused deltas and icons
 * Update times in config files to be readable (30m) rather than
   now-deprecated mix of seconds (1800) and days.
2021-03-12 12:59:51 -05:00
Nils Philippsen
18b5afca17 Make fixing home dir ownership a separate playbook
We will have to fix ownership of home directories on all FAS client
hosts when migrating users to IPA because they have different uids
there. This is a manual playbook because running this on fedorapeople
will have to check thousands of directories which is a cost we want to
avoid in ordinary playbook runs.

Also, tag tasks in the reenrollment playbook to allow specifying which
parts get run if necessary.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-12 15:57:52 +01:00
Owen W. Taylor
239525d161 reversepassproxy.registry-generic.conf: sync staging Flatpak index names
In the regindexer => flatpak-indexer move, the index names for the 'latest'
tag were renamed from flatpak.json to flatpak-latest.json (and so forth.)
2021-03-11 07:57:11 -05:00
Owen W. Taylor
ba0a7b4c85 flatpak-indexer/templates/configmap.yml: include arm64 indexes
We are now building Flatpaks for aarch64 - while we don't yet have
a working runtime, write architecture-specific for aarch64, using
the container-world name of 'arm64'.
2021-03-11 07:48:42 -05:00
Adam Saleh
9a0b82f39d Bumping bodhi on staging to current release for testing purposes. 2021-03-11 09:36:11 +01:00
Adam Saleh
f037804007 Trying application-monitoring without persistant claim. 2021-03-11 08:52:53 +01:00
Adam Saleh
0963580bf1 The install script usies 0.38.1 prometheus operator instead of the 0.34 that was vendored 2021-03-10 23:07:46 +01:00
Adam Saleh
be93449401 Typo in application-monitoring playbook. 2021-03-10 22:56:14 +01:00
Adam Saleh
08a904dc98 Forgot to copy over files to remote to be applied in application monitoritg. 2021-03-10 22:51:26 +01:00
Adam Saleh
97f0d9ae5d Needs --overvrite flag to be able to rerun the application monitoring monitoring-key label. 2021-03-10 21:51:10 +01:00
Adam Saleh
3d78ab263c Application monitoring role had unitialized var 2021-03-10 21:35:33 +01:00
Adam Saleh
22910423d6 Using tasks instead of roles in AMO installation. 2021-03-10 21:25:18 +01:00
Miroslav Suchý
4f27eb8642 copr: try to lower this down 2021-03-10 19:01:09 +01:00
Adam Saleh
76452ba1c7 Added application monitoring operator based on its installation script 2021-03-10 11:01:31 +01:00
Adam Saleh
b0c939b3d8 Add siddharthvipul1 to the POC project and to be able to view the prometheus instance. 2021-03-10 09:19:58 +01:00
Kevin Fenzi
317f724a08 sundries / staging: adjust flatpak-indexer some more in staging
Turns out we want to keep reg and it's output.
So, we just copy flatpak-indexers fedora/deltas/icons dirs under the reg
renerated top level on the proxies.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-09 13:44:05 -08:00
Owen W. Taylor
32a3c0c43f reversepassproxy.registry-generic.conf: Set up for flatpak-indexer for staging
Add changes required for flatpak-indexer, conditionalized for staging:

 * Reverse which of "index with labels" or "index with annotations" is the
   default (make labels the default, since annotations are only used by
   old versions of Flatpak)
 * Add the deltas/ directory which holds deltas between Flatpak versions.

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2021-03-09 21:02:28 +00:00
Owen W. Taylor
df15370222 flatpak-indexer: fix icon/delta urls for staging
Were showing up as registrystg.fedoraproject.org

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2021-03-09 21:02:28 +00:00
Kevin Fenzi
2db4cb7eb8 sundries01.stg: add missing -
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-09 12:57:21 -08:00
Kevin Fenzi
9116768e2a sundries and proxies / staging: switch to new flatpak-indexer
Under the old setup, we ran 'reg' on sundries and then synced that
content (in 3 rsyncs) to proxies.

With this new setup, flatpak-indexer runs in openshift. It has a nfs
volume where it writes it's output too. We rsync just that entire output
directory to the proxies. This includes things like deltas.

This commit should only affect staging, we will roll to production
later.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-09 12:33:44 -08:00
Nils Philippsen
b78fbabd71 ipa/client: repair nsswitch.conf post-FAS
The `fas_client` role installed a version of nsswitch.conf which doesn't
delegate to sss. For some reason, ipa-client-install doesn't ensure this
is brought back. This prepends `sss` to lines where it would be missing
otherwise. Also, run the cleanup tasks before the enrollment task.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-09 17:04:09 +00:00
Nils Philippsen
23a7607dab ipa/client: fix adding hosts to host groups
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-09 17:54:29 +01:00
Nils Philippsen
5bf0f2ab8d ipa/client: add missing MBS group vars
I missed this in commit 8e2fc1033c

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-09 17:31:58 +01:00
Mark O'Brien
e6f980bb4f ass zabbix_stg inventory group 2021-03-09 15:00:15 +00:00
siddharthvipul
261ee786c0 add zabbix config playbook for vm
Signed-off-by: siddharthvipul <siddharthvipul1@gmail.com>
2021-03-09 20:14:37 +05:30
Miroslav Suchý
c71ab07c4e copr: watchdog is actually needed 2021-03-08 18:17:58 +01:00
Miroslav Suchý
d86f6a47b8 copr: use two processes at least to minimaze time when respawning 2021-03-08 17:26:25 +01:00
Miroslav Suchý
ed18fba696 copr: disable httpd modules which we do not use
to save a bit of memory
2021-03-08 17:20:48 +01:00
Damian Tometzki
148c029d74 copr: enable fas_client role on fe-dev it was disbled. The reason is
unknown.

Signed-off-by: Damian Tometzki <damian@tometzki.de>
2021-03-08 13:04:47 +00:00
Mark O'Brien
0a8e57c5b8 basic setup file for staging zabbix vm 2021-03-08 12:50:57 +00:00
siddharthvipul
e879f96433 add centos-infra messages to centos-ci channel in freenode
Signed-off-by: siddharthvipul <siddharthvipul1@gmail.com>
2021-03-08 09:45:32 +00:00
Kevin Fenzi
8f075d1409 branched-composer: Send output of branched composes to releng-cron list
We really want to save the output of branched jobs so we can easier
track down issues and fix them.

Normally this would be a freeze break, but I can't imagine how it would
cause any issues and it's one character, so I am just doing it. :)

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-05 11:45:43 -08:00
Nils Philippsen
c43010514c ipa/client: Fix warning about legacy vars
This needs to be run per every host in the play.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-05 17:12:32 +01:00
Nils Philippsen
8bb0b6f069 reenroll-ipa-client: Fix conditionals
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-05 16:58:01 +01:00
Nils Philippsen
9ca47e58cb Use include_role the right way
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-05 16:44:14 +01:00
Mikolaj Izdebski
b3261e9743 koschei: remove fedmenu 2021-03-05 11:05:02 +01:00
Nils Philippsen
62882a1906 manual: Reenroll stale IPA clients
Reinstalling the IPA server in staging made the enrollments of IPA
clients against the old instance stale. This playbook detects this,
cleans things up and enrolls hosts again.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-04 16:20:40 +01:00
Mark O'Brien
8ad09bd193 fas-stg: add app owners scoady and mobrien 2021-03-04 11:41:55 +00:00
Mark O'Brien
03d830adfd fas-stg: bring up test fas 2021-03-04 11:35:50 +00:00
Lukas Zapletal
8944ce748e Update roles/openshift-apps/toddlers/templates/email_overrides.toml
Adding my account, thanks!
2021-03-03 16:49:26 +00:00
František Zatloukal
d20ea8adf9 oraculum: Switch staging back to master branch 2021-03-03 10:32:55 +01:00
František Zatloukal
ad77900c6e oraculum: Update BC 2021-03-03 10:12:07 +01:00
Nils Philippsen
8e2fc1033c ipa/client: remove redundant variable definitions
The definitions are in mbs and mbs_stg, respectively.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-02 19:30:55 +00:00
Nils Philippsen
3e7bb19490 ipa/client: add variables missing in groups
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-02 19:30:55 +00:00
Michal Fabik
c96ab97549 abrt: Update list of Fedora versions for retrace-server 2021-03-02 19:25:54 +00:00
Pierre-Yves Chibon
74b32a1768 distgit/pagure: fix thee if/else/endif block
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-02 11:18:29 +01:00
Pierre-Yves Chibon
5d83949656 distgit/pagure: Turn off username lookup in dist-git
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-02 11:16:06 +01:00
Owen W. Taylor
506b3727b7 flatpak-indexer: update to newer upstream, fixing redis binding
Pull in  redis/docker-entrypoint.sh: listen on all interfaces

b239f79e58

This should make redis accessible on the redis service and not just
locally in the redis container.
2021-03-01 19:51:12 -05:00
Kevin Fenzi
b8ff9cb9cd github2fedmsg: fix another fedmsg/base role in staging
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-01 16:46:10 -08:00