Commit Graph

35 Commits

Author SHA1 Message Date
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
Adam Williamson 0d3460f03a Drop fedmsg_qa_network concept
I don't think this is needed any more. openQA publishes natively
to fedora-messaging these days, and these groups never have done
anything there. ResultsDB still publishes to fedmsg, it seems,
but the new instances were not added to these groups and I don't
think we need/want to do that, we should just make sure they
have the necessary access via other more widely-used groups if
anything. (It seems like the restrictions these groups used to
affect have been - possibly temporarily - removed entirely at
present, but we can figure out any necessary changes there if the
restrictions are restored).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-06-11 22:49:59 +00:00
Pierre-Yves Chibon 2fe4ae9440 filter_plugins/fedmsg: make the filter work with python3
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-04 17:52:29 +02:00
Kevin Fenzi c529380547 Spring cleaning time. :)
I removed all the old files, inventory, playbooks, roles and other from
services we no longer run or use. There was a bunch of cruft in there
and I hope that will make the repo cleaner and easier to look for things
we actually do run and care about.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-13 14:02:41 -07:00
Kevin Fenzi c0a8e7e49d Drop another place where openshift_pseudohosts_stg is.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:15 +02:00
Kevin Fenzi 12fbe24a16 filter plugins: Fix group names for - vs _
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-22 00:09:09 +00:00
Kevin Fenzi 4b31ac5152 ansible: Change all our group names from foo-bar to foo_bar or foo-bar-baz to foo_bar_baz
In ansible 2.8 the - character isn't supposed to be valid in group names.
While we could override this, might has well just bite the bullet and change it.
So, just switch all group names to use _ instead of -

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:38:09 +00:00
Patrick Uiterwijk f3d2bde922 Give staging fedmsg also prod policy since we have prod->stg message flow
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-04-17 02:24:14 +02:00
Ralph Bean e9cbb411ec Try adding greenwave and waiverdb to the stg fedmsg routing policy. 2017-10-19 15:19:46 +00:00
Ralph Bean e15e880221 Consider the qa network too when building the stg fedmsg routing policy. 2016-03-23 19:14:43 +00:00
Adam Miller 670825a0e4 remove old openshift for osbs, no longer needed 2016-01-12 17:15:07 +00:00
Toshio くらとみ ca68e3cc92 Remove runner from the imports as it's not needed 2015-10-08 17:25:51 +00:00
Adam Miller 2778c0fe1c missed some openshift bits for OSBS in the initial commit 2015-08-05 16:06:21 +00:00
Ralph Bean ceb8e0b73d List only stg hosts in the stg policy and prod hosts in the prod policy. 2015-06-12 17:03:00 +00:00
Ralph Bean c2fc9578c8 Sort things for idempotence. 2015-06-12 16:51:36 +00:00
Ralph Bean d9b491c892 We don't have access to facts like ansible_fqdn at this point. 2015-06-12 16:47:53 +00:00
Ralph Bean c41f3c4b59 Iterate over hosts, not vars. 2015-06-12 16:45:41 +00:00
Ralph Bean 11bde05e66 Debug statement. 2015-06-12 16:44:14 +00:00
Ralph Bean 271300e94c Try passing in the list of hosts a different way. 2015-06-12 16:42:46 +00:00
Ralph Bean a91f4964fc Declare filter. 2015-06-12 16:30:46 +00:00
Ralph Bean 99c75f405b This will always be there. 2015-06-12 16:29:45 +00:00
Ralph Bean 60dbdd00cf Try dynamically generating some fedmsg config from group/host vars in staging. 2015-06-12 16:27:45 +00:00
Miroslav Suchý 1efbaf9075 print correct error message 2015-03-27 13:11:40 +00:00
Miroslav Suchý 069aedf3ee enhance network_name_to_id to accept list as well 2015-03-25 14:16:47 +00:00
Miroslav Suchý e0d37d760a enhance network_id_to_name to accept list as well 2015-03-25 14:14:03 +00:00
Miroslav Suchý 988bb1ca2d give more explanation in error message 2015-03-24 19:00:33 +00:00
Miroslav Suchý cee530018a add network_id_to_name, network_name_to_id filters 2015-03-24 18:57:39 +00:00
Miroslav Suchý 4ecb5624df add image_name_to_id filter 2015-03-24 17:58:16 +00:00
Kevin Fenzi bc4eab6e48 Revert "Revert "add image_id_to_name filter""
This reverts commit 38f86ec17b.
2015-03-24 17:18:24 +00:00
Kevin Fenzi 68de7be7f0 Revert "Just comment this for now as we don't have v3 of nova either."
This reverts commit 4986c6f7a1.
2015-03-24 17:18:05 +00:00
Kevin Fenzi 4986c6f7a1 Just comment this for now as we don't have v3 of nova either. 2015-03-24 17:08:40 +00:00
Kevin Fenzi 38f86ec17b Revert "add image_id_to_name filter"
This reverts commit b4be4fe3d2.
2015-03-24 17:06:19 +00:00
Miroslav Suchý b4be4fe3d2 add image_id_to_name filter 2015-03-23 16:04:30 +00:00
Miroslav Suchý 1b54f37dbd add filters for openstack 2015-03-23 13:05:15 +00:00