can not deploy flannel - regression of snapd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AWS Integrator Charm |
New
|
Undecided
|
Unassigned | ||
Flannel Charm |
New
|
Undecided
|
Unassigned | ||
Kubernetes Worker Charm |
New
|
Undecided
|
Unassigned |
Bug Description
The last release of snapd bring another a new bug .
The flannel charm use /usr/local/bin/ to deploy some binary
Because /usr/local/bin/ is not anymore in system-d PATH , all daemons does not have it .
so juju can not access it .
2019-02-02 04:21:27 DEBUG install File "/var/lib/
2019-02-02 04:21:27 DEBUG install version = check_output(
2019-02-02 04:21:27 DEBUG install File "/usr/lib/
2019-02-02 04:21:27 DEBUG install **kwargs).stdout
2019-02-02 04:21:27 DEBUG install File "/usr/lib/
2019-02-02 04:21:27 DEBUG install with Popen(*popenargs, **kwargs) as process:
2019-02-02 04:21:27 DEBUG install File "/usr/lib/
2019-02-02 04:21:27 DEBUG install restore_signals, start_new_session)
2019-02-02 04:21:27 DEBUG install File "/usr/lib/
2019-02-02 04:21:27 DEBUG install raise child_exception
2019-02-02 04:21:27 DEBUG install FileNotFoundError: [Errno 2] No such file or directory: 'flanneld': 'flanneld'
I reported the bug in snapd :
https:/
to fix:
wget http://
dpkg -i snapd_2.
init 6
wait a few minutes and juju can continue the deployment
no longer affects: | cdk8s |
confirmed -- this has broken juju canonical Kubernetes charm. Cannot deploy new Kubernetes workers with flannel.