kubernetes-worker install hook failed to snap install kube-proxy

Bug #1837606 reported by John George
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kubernetes Worker Charm
Triaged
Undecided
Unassigned

Bug Description

During a recent Solutions QA test (https://solutions.qa.canonical.com/#/qa/testRun/e2a62353-c9aa-4c1e-920d-fd9d45480a65) one of the kubernetes-worker unit install hooks failed to snap install kube-proxy.

2019-07-23 01:07:30 DEBUG install subprocess.CalledProcessError: Command '['snap', 'install', '--channel=1.15/stable', '--classic', 'kube-proxy']' returned non-zero exit status 1.
2019-07-23 01:07:30 ERROR juju.worker.uniter.operation runhook.go:132 hook "install" failed: exit status 1
2019-07-23 01:07:30 DEBUG juju.machinelock machinelock.go:180 machine lock released for uniter (run install hook)
2019-07-23 01:07:30 DEBUG juju.worker.uniter.operation executor.go:74 lock released
2019-07-23 01:07:30 INFO juju.worker.uniter resolver.go:126 awaiting error resolution for "install" hook
2019-07-23 01:07:30 DEBUG juju.worker.uniter agent.go:20 [AGENT-STATUS] error: hook failed: "install"

Revision history for this message
John George (jog) wrote :
Revision history for this message
Tim Van Steenburgh (tvansteenburgh) wrote :

Is this environment still available and could you run `sudo snap install --channel 1.15/stable --classic kube-proxy` on one of the worker units and report the results?

Unfortunately I can't find the actual reason that the snap install failed anywhere in the crashdump logs. It looks like the snap layer swallows the error. I wonder if it might have been a snap store hiccup since it happened on more than one worker unit.

Changed in charm-kubernetes-worker:
status: New → Triaged
Revision history for this message
George Kraft (cynerva) wrote :

Bug for layer-snap eating subprocess output: https://bugs.launchpad.net/layer-snap/+bug/1838274

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.