ansible/roles/fedmsg/base/templates/endpoints-mailman.py.j2

28 lines
1.1 KiB
Text
Raw Normal View History

2013-11-07 14:37:15 +00:00
{% if env == 'staging' %}
suffix = 'stg.phx2.fedoraproject.org'
{% else %}
suffix = 'phx2.fedoraproject.org'
{% endif %}
config = dict(
endpoints={
# We need an endpoint for each of the mailman pieces that picks up and
# imports our plugin. So far that's the 'archiver' and the 'pipeline'.
2013-11-07 14:37:15 +00:00
"mailman.mailman01": [
"tcp://mailman01.%s:3000" % suffix,
"tcp://mailman01.%s:3001" % suffix,
2015-11-19 14:40:27 +00:00
# On Nov 19th, we started getting tracebacks that mailman3 had run
# out of endpoints. We're not sure what changed that required
# additional entries here, but we're adding them to try and make the
# error go away.
# One idea is that the mailman REST server grew the ability to list
# the archivers. Postorius calls that, and it (under the hood)
# tries to initialize all the archivers, which would inadvertently
# try to force our fedmsg plugin to establish a socket.
"tcp://mailman01.%s:3002" % suffix,
"tcp://mailman01.%s:3003" % suffix,
2013-11-07 14:37:15 +00:00
],
},
)