<p dir="ltr">+1 from me</p>
<div class="gmail_quote">On Mar 9, 2015 12:02 PM, "David Gay" <<a href="mailto:dgay@redhat.com">dgay@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
----- Original Message -----<br>
> From: "Ralph Bean" <<a href="mailto:rbean@redhat.com">rbean@redhat.com</a>><br>
> To: <a href="mailto:infrastructure@lists.fedoraproject.org">infrastructure@lists.fedoraproject.org</a><br>
> Sent: Monday, March 9, 2015 10:59:54 AM<br>
> Subject: Freeze Break Request: Add more fedmsg endpoints for fedimg<br>
><br>
><br>
> The fedimg uploader daemon that uploads cloud images to AWS is<br>
> complaining that it doesn't have enough fedmsg endpoints.<br>
><br>
> It needs an endpoint for each worker thread, one for the parent thread, and<br>
> then twice that number so that the daemon can do work while an admin can run<br>
> the commands by hand at the same time (otherwise, the daemon claims all the<br>
> ports and the manual commands fail).<br>
><br>
> Can I get two +1s to apply this and push it out to all our hosts?<br>
><br>
><br>
> diff --git a/roles/fedmsg/base/templates/endpoints-fedimg.py.j2<br>
> b/roles/fedmsg/base/templates/endpoints-fedimg.py.j2<br>
> index b13f3a7..5a4fb9d 100644<br>
> --- a/roles/fedmsg/base/templates/endpoints-fedimg.py.j2<br>
> +++ b/roles/fedmsg/base/templates/endpoints-fedimg.py.j2<br>
> @@ -4,11 +4,15 @@ suffix = '<a href="http://stg.phx2.fedoraproject.org" target="_blank">stg.phx2.fedoraproject.org</a>'<br>
> suffix = '<a href="http://phx2.fedoraproject.org" target="_blank">phx2.fedoraproject.org</a>'<br>
> {% endif %}<br>
><br>
> +primary_threads = 4<br>
> +atomic_threads = 2<br>
> +NUM_FEDIMG_PORTS = 2 * ((primary_threads + atomic_threads) + 1)<br>
> +<br>
> config = dict(<br>
> endpoints={<br>
> "fedimg.fedimg01": [<br>
> "tcp://fedimg01.%s:30%0.2i" % (suffix, i)<br>
> - for i in range(4)<br>
> + for i in range(NUM_FEDIMG_PORTS)<br>
> ],<br>
> },<br>
> )<br>
><br>
> _______________________________________________<br>
> infrastructure mailing list<br>
> <a href="mailto:infrastructure@lists.fedoraproject.org">infrastructure@lists.fedoraproject.org</a><br>
> <a href="https://admin.fedoraproject.org/mailman/listinfo/infrastructure" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/infrastructure</a><br>
<br>
+1 from me<br>
_______________________________________________<br>
infrastructure mailing list<br>
<a href="mailto:infrastructure@lists.fedoraproject.org">infrastructure@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/infrastructure" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/infrastructure</a></blockquote></div>