Commit graph

19 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
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
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