[2.0] Failures to release ESXi 6.0 VMs - Failed talking to node's BMC: <vCenter IP Address>:443 is not a VIM server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Undecided
|
Unassigned | ||
2.0 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
This may be released to bug 1603563, but it seems to have different signature as it's not about to talk to the vCenter with this error in the event logs:
Node powered off Thu, 22 Sep. 2016 00:19:54
Node changed status - From 'Releasing' to 'Ready' Thu, 22 Sep. 2016 00:19:54
Powering node off Thu, 22 Sep. 2016 00:19:51
User releasing node - (larry) Thu, 22 Sep. 2016 00:19:51
Failed to power off node - Node could not be powered off: Failed talking to node's BMC: 10.244.192.131:443 is not a VIM server Wed, 14 Sep. 2016 10:21:34
Node changed status - From 'Releasing' to 'Releasing failed' Wed, 14 Sep. 2016 10:21:34
Marking node failed - Node could not be powered off: Failed talking to node's BMC: 10.244.192.131:443 is not a VIM server Wed, 14 Sep. 2016 10:21:34
Powering node off Wed, 14 Sep. 2016 10:21:33
User releasing node - (oil-slave-2) - Released by Juju MAAS provider Wed, 14 Sep. 2016 10:21:33
Failed to query node's BMC - 10.244.192.131:443 is not a VIM server
It could also be an issue with the vCenter but the error is not very telling. So, this issue needs to be investigated further. Note that I was able to release the VMs manually but that was hours after the error occured.
ubuntu@
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii maas 2.0.0+bzr5189-
ii maas-cli 2.0.0+bzr5189-
un maas-cluster-
ii maas-common 2.0.0+bzr5189-
ii maas-dhcp 2.0.0+bzr5189-
ii maas-dns 2.0.0+bzr5189-
ii maas-proxy 2.0.0+bzr5189-
ii maas-rack-
ii maas-region-api 2.0.0+bzr5189-
ii maas-region-
un maas-region-
un python-django-maas <none> <none> (no description available)
un python-maas-client <none> <none> (no description available)
un python-
ii python3-django-maas 2.0.0+bzr5189-
ii python3-maas-client 2.0.0+bzr5189-
ii python3-
Also attaching the logs
It seems that the reason of the releasing failure is related to this:
Failed to power off node - Node could not be powered off: Failed talking to node's BMC: 10.244.192.131:443 is not a VIM server Wed, 14 Sep. 2016 10:21:34
I've searched through the MAAS code and "is not a VIM server" doesn't come from MAAS. It actually comes from python-pyvmomi: https:/ /github. com/vmware/ pyvmomi/ blob/master/ pyVim/connect. py
This error seems to happen when the client tries to connect to the server and it cannot find a SupportedVersion of the API.
What may be happening, however, is that the client cannot actually connect to the vCenterAPI, which could be creating the issue.
So I'd say that this is related to connectivity issues between the Rack and the vCenter.