yes, it works, it's a good and clean workaround, waiting for "final" fix
however (i.e. etcd charm doesn't need it either)
but at the moment i'm deploying :)
Thank you
Patrizio
2017-05-31 23:27 GMT+02:00 Charles Butler <email address hidden>:
> Try setting the snap_proxy configuration value on both the worker and
> the masters and this should unblock you.
>
> As indicated previously the fix to read the proxy configuration from
> model config went out with the bundles as of revision 31 forward (for
> kubernetes core) and revision 36 forward (canonical kubernetes) bundles.
>
> you can set these config options like so:
>
> juju config kubernetes-master snap_proxy=http://my.proxy.ip:3600
> juju config kubernetes-worker snap_proxy=http://my.proxy.ip:3600
>
> regardless of model config, these values will populate in the snapd
> proxy configuration and should get you moving.
>
> --
> 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
>
Charles,
yes, it works, it's a good and clean workaround, waiting for "final" fix
however (i.e. etcd charm doesn't need it either)
but at the moment i'm deploying :)
Thank you
Patrizio
2017-05-31 23:27 GMT+02:00 Charles Butler <email address hidden>:
> Try setting the snap_proxy configuration value on both the worker and my.proxy. ip:3600 my.proxy. ip:3600 /bugs.launchpad .net/bugs/ 1694743 [master, worker] snap install fail due to missing proxy /jujucharms. com/canonical- kubernetes bundle in a net with a proxy master/ 0* error idle 5 192.168.0.11 worker/ 0* error idle 6 192.168.0.17 /bugs.launchpad .net/charms/ +bug/1694743/ +subscriptions
> the masters and this should unblock you.
>
> As indicated previously the fix to read the proxy configuration from
> model config went out with the bundles as of revision 31 forward (for
> kubernetes core) and revision 36 forward (canonical kubernetes) bundles.
>
> you can set these config options like so:
>
> juju config kubernetes-master snap_proxy=http://
> juju config kubernetes-worker snap_proxy=http://
>
> regardless of model config, these values will populate in the snapd
> proxy configuration and should get you moving.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> kubernetes-
>
> Status in Juju Charms Collection:
> New
>
> Bug description:
> despite setting model proxy, and even proxy specific variables for
> kubernated-workers as specified in https:/
> kubernetes/ ,
>
> the deploy of a canonical-
> server fails to reach internet.
>
> kubernates master and worker fail due to to snap not to use the proxy.
>
> kubernetes-
> hook failed: "install"
> kubernetes-
> 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:/
>
--
Patrizio Bassi si.it piazzadelpopolo .patriziobassi. it
www.patriziobas
http://