<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body>
<br>
Hi Robert,<br>
<br>
There are multiple places where those vars could be defined: the
systemd unit files, dropin units, /etc/sysconfig/docker, etc... I
don't think the file you mentioned would be the best place for doing
that and we should avoid confusion and stick to the recommended
solution you can find in the Docker documentation
(<a class="moz-txt-link-freetext" href="https://docs.docker.com/engine/admin/systemd/#custom-docker-daemon-options">https://docs.docker.com/engine/admin/systemd/#custom-docker-daemon-options</a>)
that I provided to our user...<br>
<br>
Cheers<br>
<br>
<br>
Alvaro<br>
<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 05/03/2017 06:50 PM, Robert Roland
wrote:<br>
</div>
<blockquote cite="mid:0ed58795-9898-7bdf-b1f7-194feb829c0c@suse.com"
type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<p>The systemd unit for Docker contains:<br>
</p>
<p>[Service]<br>
EnvironmentFile=/etc/sysconfig/docker<br>
<br>
</p>
<p>So, setting:</p>
<p>HTTP_PROXY=...<br>
HTTPS_PROXY=...<br>
NO_PROXY=...</p>
<p>inside /etc/sysconfig/docker should be sufficient to configure
the proxies. You shouldn't need additional systemd drop-in
files.<br>
</p>
<br>
<div class="moz-cite-prefix">On 05/03/2017 03:54 AM, Alvaro Saurin
wrote:<br>
</div>
<blockquote
cite="mid:3f10d7b9-1ce6-22e0-1b66-df78af9197e4@suse.com"
type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
<br>
Hi Robert,<br>
<br>
Sorry but I don't understand the relation between
/etc/default/docker and the HTTP_PROXY environment variable.
Could you give more details?<br>
<br>
Cheers<br>
<br>
<br>
Alvaro<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 04/28/2017 06:09 PM, Robert
Roland wrote:<br>
</div>
<blockquote
cite="mid:0DB04740-33B8-417B-A31A-854D490F5B09@suse.com"
type="cite">That shouldn't be necessary because our default
Docker systemd uses /etc/default/docker as an EnvironmentFile?<br>
<br>
<br>
<div class="gmail_quote">On April 28, 2017 2:19:17 AM PDT,
"Miquel Sabaté Solà" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:msabate@suse.com"><msabate@suse.com></a>
wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<pre class="k9mail">Hello,
I've just opened a ticket in our internal bugzilla. We are
tracking this issue internally and working on it. That being said,
to make it work manually you should follow this steps:
1. ssh to each machine in the cluster
2. create a systemd drop-in directory for the docker service:
$ mkdir /etc/systemd/system/docker.service.d
3. create a file called
/etc/systemd/system/docker.service.d/http-proxy.conf that adds the
HTTP_PROXY environment variable:
[Service]
Environment="HTTP_PROXY=<a moz-do-not-send="true" href="http://proxy.example.com:80">http://proxy.example.com:80</a>/"
4. flush changes:
$ sudo systemctl daemon-reload
5. verify that the configuration has been loaded:
$ sudo systemctl show --property Environment docker
Environment=HTTP_PROXY=<a moz-do-not-send="true" href="http://proxy.example.com:80">http://proxy.example.com:80</a>/
6. restart Docker:
$ sudo systemctl restart docker
In the future we should ask the user about proxies in some
"advanced configuration" option in YaST, pass it to the worker
nodes through the autoyast.xml and set automatically the
HTTP_PROXY for docker.
Cheers,
Ns @ 2017-04-27 15:20 GMT:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Hi Flavio,
Yes I got information from Robert, however it wasn’t working …?
Best Regards,
Rushi.
I MAY BE ONLY ONE PERSON, BUT I CAN BE ONE PERSON WHO MAKES A
DIFFERENCE
On 4/27/17, 4:49 PM, <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:caasp-beta-bounces@lists.suse.comonbehalfofFlavioCastelli">"caasp-beta-bounces@lists.suse.com on
behalf of Flavio Castelli"</a> <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:caasp-beta-bounces@lists.suse.comonbehalfoffcastelli@suse.com"><caasp-beta-bounces@lists.suse.com on
behalf of fcastelli@suse.com></a> wrote:
On 04/26/2017 06:09 AM, Ns, Rushi wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> As you mentioned you should try to provide that
information during the installation or some sort of
post-steps as all most all enterprise customers have proxy
to go internet.
</blockquote>
You are right, this is definitely something we should
provide either
during the installation time or when deploying the cluster
from the web UI.
I think Robert pointed you in the right direction, please
let us know if
the proposed solution is not working.
Thanks for your feedback.
Cheers
Flavio
<hr>
caasp-beta mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:caasp-beta@lists.suse.com">caasp-beta@lists.suse.com</a>
<a moz-do-not-send="true" href="http://lists.suse.com/mailman/listinfo/caasp-beta">http://lists.suse.com/mailman/listinfo/caasp-beta</a>
<hr>
caasp-beta mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:caasp-beta@lists.suse.com">caasp-beta@lists.suse.com</a>
<a moz-do-not-send="true" href="http://lists.suse.com/mailman/listinfo/caasp-beta">http://lists.suse.com/mailman/listinfo/caasp-beta</a>
</blockquote>
--
Miquel Sabaté Solà,
PGP: 4096R / 1BA5 3C7A C93D CA2A CFDF DA97 96BE 8C6F D89D 6565
</pre></blockquote></div>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre wrap="">_______________________________________________
caasp-beta mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:caasp-beta@lists.suse.com">caasp-beta@lists.suse.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.suse.com/mailman/listinfo/caasp-beta">http://lists.suse.com/mailman/listinfo/caasp-beta</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Alvaro Saurin <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:alvaro.saurin@suse.com"><alvaro.saurin@suse.com></a>
Senior Software Engineer
SUSE Linux GmbH, Maxfeldstr. 5, D-90409 Nürnberg Tel: +49-911-74053-0; Fax: +49-911-7417755; <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://www.suse.com/">https://www.suse.com/</a>
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
</pre>
</blockquote>
</blockquote>
<pre class="moz-signature" cols="72">--
Alvaro Saurin <a class="moz-txt-link-rfc2396E" href="mailto:alvaro.saurin@suse.com"><alvaro.saurin@suse.com></a>
Senior Software Engineer
SUSE Linux GmbH, Maxfeldstr. 5, D-90409 Nürnberg Tel: +49-911-74053-0; Fax: +49-911-7417755; <a class="moz-txt-link-freetext" href="https://www.suse.com/">https://www.suse.com/</a>
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
</pre></body></html>