vSphere cloud provider stuck at Extending the disk
Bug #1790183 reported by
Vuk Vasic
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Christian Muirhead |
Bug Description
When we deploy canonical kubernetes on VMware vSphere 6.0 with custom constraints of root-disk in bundle the deploy gets stuck in for example: Extending the disk to 150G without any feedback.
Then we cannot delete the machine. --force in remove-machine does not help either.
We have VMware vSphere with two clusters. If we remove constraint of root-disk everything passes smoothly.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: vsphere-provider |
Changed in juju: | |
assignee: | nobody → Christian Muirhead (2-xtian) |
importance: | Medium → High |
milestone: | none → 2.5.1 |
Changed in juju: | |
milestone: | 2.5.1 → 2.5.2 |
Changed in juju: | |
milestone: | 2.5.2 → 2.5.3 |
Changed in juju: | |
milestone: | 2.5.3 → 2.5.4 |
Changed in juju: | |
status: | Triaged → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
We are deploying canonical kubernetes on VMware vSphere 6.7. and are probably hitting the same hard point...
No custom constraint, standard deployment with 16GB workers, and it remains pending on "extending disk to 16GiB"
On the logs, a normal machine extending to 8GB is OK : provisioner provisioner.go:1139 SetInstanceStatus called with: params. EntityStatusArg s{Tag:" machine- 2", Status: "allocating" , Info:"VM cloned", Data:map[ string] interface {}(nil)} provisioner provisioner.go:1139 SetInstanceStatus called with: params. EntityStatusArg s{Tag:" machine- 2", Status: "allocating" , Info:"extending disk to 8.0GiB", Data:map[ string] interface {}(nil)} provisioner provisioner.go:1139 SetInstanceStatus called with: params. EntityStatusArg s{Tag:" machine- 2", Status: "allocating" , Info:"powering on", Data:map[ string] interface {}(nil)}
2019-01-16 07:03:59 DEBUG juju.apiserver.
2019-01-16 07:03:59 DEBUG juju.apiserver.
2019-01-16 07:04:00 DEBUG juju.apiserver.
But this machine with 16GB is stuck, remaining pending : provisioner provisioner.go:1139 SetInstanceStatus called with: params. EntityStatusArg s{Tag:" machine- 7", Status: "allocating" , Info:"VM cloned", Data:map[ string] interface {}(nil)} provisioner provisioner.go:1139 SetInstanceStatus called with: params. EntityStatusArg s{Tag:" machine- 7", Status: "allocating" , Info:"extending disk to 16GiB", Data:map[ string] interface {}(nil)}
2019-01-16 07:07:25 DEBUG juju.apiserver.
2019-01-16 07:07:26 DEBUG juju.apiserver.
On the VM side, the vmdk has been extended to 16GB, but the vm is never started.
I have managed to remove the machine with --force after having removed the VM.
A new deploy can then be tried again, but fails at the same point
-> canonical kubernetes cannot be deployed on VSphere
Unit Workload Agent Machine Public address Ports Message
easyrsa/1* active idle 10 10.35.20.222 Certificate Authority connected.
etcd/3* active idle 11 10.35.20.221 2379/tcp Healthy with 2 known peers
etcd/4 active idle 12 10.35.20.220 2379/tcp Healthy with 2 known peers
etcd/5 waiting allocating 13 waiting for machine
...
kubernetes-worker/5 waiting allocating 19 waiting for machine
Entity Meter status Message
model amber user verification pending
Machine State DNS Inst id Series AZ Message
10 started 10.35.20.222 juju-c22e19-10 bionic poweredOn
11 started 10.35.20.221 juju-c22e19-11 bionic poweredOn
12 started 10.35.20.220 juju-c22e19-12 bionic poweredOn
...
19 pending pending bionic extending disk to 16GiB