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