<div dir="ltr">Hi Gordon,<div><br></div><div>I came across this as well. I've checked in some updated instructions on the none-authservice branch that I've not cherry-picked over to master yet: <a href="https://github.com/EnMasseProject/enmasse/blob/none-authservice/HACKING.md">https://github.com/EnMasseProject/enmasse/blob/none-authservice/HACKING.md</a></div><div><br></div><div>This should work I think:</div><div><br></div><div><div>export DOCKER_ORG=myproject</div><div>export DOCKER_REGISTRY=<a href="http://172.30.1.1:5000">172.30.1.1:5000</a></div><div>./gradlew build pack buildImage -x test --parallel --rerun-tasks && DOCKER_USER=developer DOCKER_PASS=`oc whoami -t` ./gradlew tagImage pushImage --parallel</div></div><div><br></div><div>Apparantly when I initially wrote these instructions, I had the 'base' images cached, so I didn't run into these issues.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 9, 2017 at 3:20 PM, Gordon Sim <span dir="ltr"><<a href="mailto:gsim@redhat.com" target="_blank">gsim@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When running:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
DOCKER_REGISTRY=<a href="http://172.30.1.1:5000" rel="noreferrer" target="_blank">172.30.1.1:500<wbr>0</a> DOCKER_ORG=myproject DOCKER_USER=developer DOCKER_PASS=`oc whoami -t` ./gradlew build pack buildImage tagImage pushImage -x test<br>
</blockquote>
<br>
I get:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Task :admin:address-controller:tagI<wbr>mage<br>
</blockquote>
Tagging image with ID 'myproject/address-controller:<wbr>latest'.<br>
Executing tagImage for /home/gordon/projects/enmasse/<wbr>admin/address-controller commit latest<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Task :admin:configserv:tagImage<br>
</blockquote>
Tagging image with ID 'myproject/configserv:latest'.<br>
Executing tagImage for /home/gordon/projects/enmasse/<wbr>admin/configserv commit latest<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Task :admin:queue-scheduler:tagImag<wbr>e<br>
</blockquote>
Tagging image with ID 'myproject/queue-scheduler:lat<wbr>est'.<br>
Executing tagImage for /home/gordon/projects/enmasse/<wbr>admin/queue-scheduler commit latest<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Task :mqtt:mqtt-gateway:tagImage<br>
</blockquote>
Tagging image with ID 'myproject/mqtt-gateway:latest<wbr>'.<br>
Executing tagImage for /home/gordon/projects/enmasse/<wbr>mqtt/mqtt-gateway commit latest<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Task :mqtt:mqtt-lwt:tagImage<br>
</blockquote>
Tagging image with ID 'myproject/mqtt-lwt:latest'.<br>
Executing tagImage for /home/gordon/projects/enmasse/<wbr>mqtt/mqtt-lwt commit latest<br>
<br>
[dockerjava-jaxrs-async-0] INFO org.apache.http.impl.execchain<wbr>.RetryExec - I/O exception (org.apache.http.NoHttpRespons<wbr>eException) caught when processing request to {}->unix://localhost:80: The target server failed to respond<br>
[dockerjava-jaxrs-async-0] INFO org.apache.http.impl.execchain<wbr>.RetryExec - Retrying request to {}->unix://localhost:80<br>
[dockerjava-jaxrs-async-0] INFO org.apache.http.impl.execchain<wbr>.RetryExec - I/O exception (org.apache.http.NoHttpRespons<wbr>eException) caught when processing request to {}->unix://localhost:80: The target server failed to respond<br>
[dockerjava-jaxrs-async-0] INFO org.apache.http.impl.execchain<wbr>.RetryExec - Retrying request to {}->unix://localhost:80<br>
[dockerjava-jaxrs-async-0] INFO org.apache.http.impl.execchain<wbr>.RetryExec - I/O exception (org.apache.http.NoHttpRespons<wbr>eException) caught when processing request to {}->unix://localhost:80: The target server failed to respond<br>
[dockerjava-jaxrs-async-0] INFO org.apache.http.impl.execchain<wbr>.RetryExec - Retrying request to {}->unix://localhost:80<br>
[dockerjava-jaxrs-async-0] ERROR com.github.dockerjava.core.asy<wbr>nc.ResultCallbackTemplate - Error during callback<br>
org.apache.http.NoHttpResponse<wbr>Exception: localhost:80 failed to respond<br>
        at org.apache.http.impl.conn.Defa<wbr>ultHttpResponseParser.parseHea<wbr>d(DefaultHttpResponseParser.ja<wbr>va:143)<br>
        at org.apache.http.impl.conn.Defa<wbr>ultHttpResponseParser.parseHea<wbr>d(DefaultHttpResponseParser.ja<wbr>va:57)<br>
        at <a href="http://org.apache.http.impl.io" target="_blank">org.apache.http.impl.io</a>.Abstra<wbr>ctMessageParser.parse(Abstract<wbr>MessageParser.java:259)<br>
        at org.apache.http.impl.DefaultBH<wbr>ttpClientConnection.receiveRes<wbr>ponseHeader(DefaultBHttpClient<wbr>Connection.java:163)<br>
        at org.apache.http.impl.conn.CPoo<wbr>lProxy.receiveResponseHeader(C<wbr>PoolProxy.java:167)<br>
        at org.apache.http.protocol.HttpR<wbr>equestExecutor.doReceiveRespon<wbr>se(HttpRequestExecutor.java:<wbr>273)<br>
        at org.apache.http.protocol.HttpR<wbr>equestExecutor.execute(HttpReq<wbr>uestExecutor.java:125)<br>
        at org.apache.http.impl.execchain<wbr>.MainClientExec.execute(<wbr>MainClientExec.java:271)<br>
        at org.apache.http.impl.execchain<wbr>.ProtocolExec.execute(<wbr>ProtocolExec.java:184)<br>
        at org.apache.http.impl.execchain<wbr>.RetryExec.execute(RetryExec.<wbr>java:88)<br>
        at org.apache.http.impl.execchain<wbr>.RedirectExec.execute(<wbr>RedirectExec.java:110)<br>
        at <a href="http://org.apache.http.impl.client.In">org.apache.http.impl.client.In</a><wbr>ternalHttpClient.doExecute(Int<wbr>ernalHttpClient.java:184)<br>
        at <a href="http://org.apache.http.impl.client.Cl">org.apache.http.impl.client.Cl</a><wbr>oseableHttpClient.execute(Clos<wbr>eableHttpClient.java:71)<br>
        at <a href="http://org.glassfish.jersey.apache.co">org.glassfish.jersey.apache.co</a><wbr>nnector.ApacheConnector.apply(<wbr>ApacheConnector.java:435)<br>
        at <a href="http://org.glassfish.jersey.client.Cl">org.glassfish.jersey.client.Cl</a><wbr>ientRuntime.invoke(ClientRunti<wbr>me.java:252)<br>
        at <a href="http://org.glassfish.jersey.client.Je">org.glassfish.jersey.client.Je</a><wbr>rseyInvocation$2.call(JerseyIn<wbr>vocation.java:701)<br>
        at org.glassfish.jersey.internal.<wbr>Errors.process(Errors.java:315<wbr>)<br>
        at org.glassfish.jersey.internal.<wbr>Errors.process(Errors.java:297<wbr>)<br>
        at org.glassfish.jersey.internal.<wbr>Errors.process(Errors.java:228<wbr>)<br>
        at org.glassfish.jersey.process.i<wbr>nternal.RequestScope.runInScop<wbr>e(RequestScope.java:444)<br>
        at <a href="http://org.glassfish.jersey.client.Je">org.glassfish.jersey.client.Je</a><wbr>rseyInvocation.invoke(JerseyIn<wbr>vocation.java:697)<br>
        at <a href="http://org.glassfish.jersey.client.Je">org.glassfish.jersey.client.Je</a><wbr>rseyInvocation$Builder.method(<wbr>JerseyInvocation.java:448)<br>
        at <a href="http://org.glassfish.jersey.client.Je">org.glassfish.jersey.client.Je</a><wbr>rseyInvocation$Builder.post(Je<wbr>rseyInvocation.java:349)<br>
        at <a href="http://com.github.dockerjava.jaxrs.as">com.github.dockerjava.jaxrs.as</a><wbr>ync.POSTCallbackNotifier.respo<wbr>nse(POSTCallbackNotifier.java:<wbr>29)<br>
        at <a href="http://com.github.dockerjava.jaxrs.as">com.github.dockerjava.jaxrs.as</a><wbr>ync.AbstractCallbackNotifier.<wbr>call(AbstractCallbackNotifier.<wbr>java:50)<br>
        at <a href="http://com.github.dockerjava.jaxrs.as">com.github.dockerjava.jaxrs.as</a><wbr>ync.AbstractCallbackNotifier.<wbr>call(AbstractCallbackNotifier.<wbr>java:24)<br>
        at java.util.concurrent.FutureTas<wbr>k.run(FutureTask.java:266)<br>
        at java.util.concurrent.ThreadPoo<wbr>lExecutor.runWorker(ThreadPool<wbr>Executor.java:1149)<br>
        at java.util.concurrent.ThreadPoo<wbr>lExecutor$Worker.run(ThreadPoo<wbr>lExecutor.java:624)<br>
        at java.lang.Thread.run(Thread.ja<wbr>va:748)<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Task :artemis:pushImage<br>
</blockquote>
Pushing image with name '<a href="http://172.30.1.1:5000/myproject/artemis" rel="noreferrer" target="_blank">172.30.1.1:5000/myproject/art<wbr>emis</a>'.<br>
<br>
<br>
FAILURE: Build failed with an exception.<br>
<br>
* What went wrong:<br>
Execution failed for task ':artemis:pushImage'.<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
org.apache.http.NoHttpResponse<wbr>Exception: localhost:80 failed to respond<br>
</blockquote>
<br>
* Try:<br>
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.<br>
<br>
BUILD FAILED in 1m 25s<br>
102 actionable tasks: 38 executed, 64 up-to-date<br>
</blockquote>
<br>
Where is the localhost:80 it is trying to us here coming from and how should I configure this?<br>
<br>
______________________________<wbr>_________________<br>
enmasse mailing list<br>
<a href="mailto:enmasse@redhat.com" target="_blank">enmasse@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/enmasse" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/enmasse</a><br>
</blockquote></div><br></div>