Give mailman3 more fedmsg endpoints.

This commit is contained in:
Ralph Bean 2015-11-19 14:40:27 +00:00
parent 979d632b1d
commit 2cda638026
3 changed files with 21 additions and 2 deletions

View file

@ -6,7 +6,11 @@ num_cpus: 4
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 25, 80, 443, 3000, 3001 ]
tcp_ports: [
25, 80, 443,
# For outgoing fedmsg
3000, 3001, 3002, 3003,
]
fas_client_groups: sysadmin-tools,sysadmin-main

View file

@ -6,7 +6,11 @@ num_cpus: 2
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 25, 80, 443, 3000, 3001 ]
tcp_ports: [
25, 80, 443,
# For outbound fedmsg
3000, 3001, 3002, 3003,
]
fas_client_groups: sysadmin-tools,sysadmin-main
# These are consumed by a task in roles/fedmsg/base/main.yml

View file

@ -11,6 +11,17 @@ config = dict(
"mailman.mailman01": [
"tcp://mailman01.%s:3000" % suffix,
"tcp://mailman01.%s:3001" % suffix,
# 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,
],
},
)