Commit graph

34576 commits

Author SHA1 Message Date
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
Kevin Fenzi
ca10e37592 playbooks / staging: adjust playbooks for staging to configure fedmsg if needed
When we setup things we didn't setup fedmsg in iad2 staging.
Now we are using it, so we should configure it until we get rid of it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-01 14:51:09 -08:00
Kevin Fenzi
74591e19b5 filter_plugins / fedmsg: try and make staging only talk to staging hosts
I think the only reason this worked in phx2 was because we also had a
firewall rule that was blocking the staging subnet on all prod machines.
Instead of doing that here, lets just make fedmsg only deal with the
staging hosts in staging. The only thing this might break is things that
aren't in staging_friendly that should be.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-01 14:34:41 -08:00
Owen W. Taylor
7c245c1acf flatpak-indexer: fix project name in redis URL 2021-03-01 16:35:18 -05:00
Owen W. Taylor
30a8d3a72d flatpak-indexer: use stringData not data in secret.yml
This matches what we do for other applications.
2021-03-01 16:32:15 -05:00
Owen W. Taylor
bbfe6e38fd flatpak-indexer: fix environment variable name for redis password
Match the environment variable in the deploymentconfig to that used
in the configmap (REDIS_PASSWORD)

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2021-03-01 11:54:00 -05:00
Owen W. Taylor
3f7de2e870 flatpak-indexer: fix typo in image change trigger for flatpak-indexer
The 'containerNames' parameter was incorrectly cut-and-pasted from
the flatpak-indexer-differ deployment config.

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2021-03-01 11:54:00 -05:00
Pierre-Yves Chibon
8b39d13364 pagure/dist-git: Adjust the IP list allowed on the internal endpoint - again
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-01 17:26:47 +01:00
Pierre-Yves Chibon
caa8b7054a pagure/dist-git: Adjust the IP list allowed on the internal endpoint
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-01 17:02:50 +01:00