Comment 4 for bug 1694743

Revision history for this message
Patrizio Bassi (patrizio-bassi) wrote : Re: [Bug 1694743] Re: kubernetes-[master, worker] snap install fail due to missing proxy

Charles, for master charm we don't gave http_proxy variables, only for
workers

Patrizio

Il giorno mer 31 mag 2017 alle 19:41 Charles Butler <
<email address hidden>> ha scritto:

> xref with https://github.com/juju-solutions/bundle-canonical-
> kubernetes/issues/270
>
> ** Bug watch added:
> github.com/juju-solutions/bundle-canonical-kubernetes/issues #270
>
> https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/270
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1694743
>
> Title:
> kubernetes-[master,worker] snap install fail due to missing proxy
>
> Status in Juju Charms Collection:
> New
>
> Bug description:
> despite setting model proxy, and even proxy specific variables for
> kubernated-workers as specified in https://jujucharms.com/canonical-
> kubernetes/ ,
>
> the deploy of a canonical-kubernetes bundle in a net with a proxy
> server fails to reach internet.
>
> kubernates master and worker fail due to to snap not to use the proxy.
>
> kubernetes-master/0* error idle 5 192.168.0.11
> hook failed: "install"
> kubernetes-worker/0* error idle 6 192.168.0.17
> hook failed: "install"
> kubernetes-worker/1 error idle 7 192.168.0.8
> hook failed: "install"
> kubernetes-worker/2 error idle 8 192.168.0.21
> hook failed: "install"
>
>
> workaround:
> juju ssh <unit>
> copy proxy setting in /etc/environment
> sudo systemctl restart snapd.service
> exit
> and juju resolved <units>
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/charms/+bug/1694743/+subscriptions
>
--

Patrizio Bassi
www.patriziobassi.it
http://piazzadelpopolo.patriziobassi.it