From a6d987bc9e89500b6addc23e174869975557e0ef Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Wed, 22 Jul 2020 15:18:27 -0400 Subject: [PATCH] Remove more 'safe' entries from fedmsg endpoints to try and cut down the noise of broken links in the system. Still not sure why some things are supposed to fire up 8 processes but only 2 show up --- .../base/templates/endpoints-bodhi.py.j2 | 25 ------------------- roles/fedmsg/base/templates/endpoints.py.j2 | 25 ------------------- 2 files changed, 50 deletions(-) delete mode 100644 roles/fedmsg/base/templates/endpoints-bodhi.py.j2 diff --git a/roles/fedmsg/base/templates/endpoints-bodhi.py.j2 b/roles/fedmsg/base/templates/endpoints-bodhi.py.j2 deleted file mode 100644 index b1d6cd9db4..0000000000 --- a/roles/fedmsg/base/templates/endpoints-bodhi.py.j2 +++ /dev/null @@ -1,25 +0,0 @@ -{% if datacenter == 'iad2' %} -{% if env == 'staging' %} -suffix = 'stg.iad2.fedoraproject.org' -{% else %} -suffix = 'iad2.fedoraproject.org' -vpn_suffix = 'vpn.fedoraproject.org' -{% endif %} -{% else %} -{% if env == 'staging' %} -suffix = 'stg.fedoraproject.org' -{% else %} -suffix = 'fedoraproject.org' -vpn_suffix = 'vpn.fedoraproject.org' -{% endif %} -{% endif %} - - -config = dict( - endpoints={ - "bodhi.bodhi-backend01": [ - "tcp://bodhi-backend01.%s:30%0.2i" % (suffix, i) - for i in range(20) - ], - } -) diff --git a/roles/fedmsg/base/templates/endpoints.py.j2 b/roles/fedmsg/base/templates/endpoints.py.j2 index 008d7e8342..6df1454a9e 100644 --- a/roles/fedmsg/base/templates/endpoints.py.j2 +++ b/roles/fedmsg/base/templates/endpoints.py.j2 @@ -29,31 +29,6 @@ config = dict( "tcp://value01.%s:3000" % suffix, ], - # Askbot runs as 12 processes with 1 thread each. - "askbot.ask01": [ - "tcp://ask01.%s:30%02i" % (suffix, i) - for i in range(12) - ], - -{% if env != 'staging' %} - "askbot.ask02": [ - "tcp://ask02.%s:30%02i" % (suffix, i) - for i in range(12) - ], -{% endif %} - - # The mirrormanager2 frontend runs as 2 processes with 1 thread each. - "mirrormanager2.mm-frontend01": [ - "tcp://mm-frontend01.%s:30%02i" % (suffix, i) - for i in range(2) - ], -{% if env != 'staging' %} - "mirrormanager2.mm-frontend02": [ - "tcp://mm-frontend02.%s:30%02i" % (suffix, i) - for i in range(2) - ], -{% endif %} - # koji is not listed here since it publishes to the fedmsg-relay