VMWare power fails to get IP from hostname
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Unassigned |
Bug Description
MAAS version: 2.6.1 (7832-g17912cdc
On the configuration of a machine which VMware 6.7 virtual machine power configuration setting the VMware hostname returns an error of "Error: failed to detect a valid IP address from 'm-node-
****** LOG *******
2019-09-25 22:18:07 maasserver.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
return target()
File "/usr/lib/
task()
File "/usr/lib/
task()
--- <exception caught here> ---
File "/usr/lib/
result = inContext.theWork()
File "/usr/lib/
inContext.
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
method_name, method, params)
File "/usr/lib/
result = method(params)
File "/usr/lib/
data = super(NodeHandler, self).update(
File "/usr/lib/
obj = form.save()
File "/usr/lib/
node = super(WithMACAd
File "/usr/lib/
WithPowerT
File "/usr/lib/
params_
File "/usr/lib/
prop_
File "/usr/lib/
self.
File "/usr/lib/
super(BMC, self).save(*args, **kwargs)
File "/usr/lib/
validate_
File "/usr/lib/
self.clean()
File "/usr/lib/
raise error
File "/usr/lib/
subnet = Subnet.
File "/usr/lib/
ip = IPAddress(ip)
File "/usr/lib/
'address from %r' % addr)
netaddr.
Related branches
- Alberto Donato (community): Approve
- Adam Collard (community): Approve
- Caleb Ellis (community): Approve
- MAAS Lander: Approve
-
Diff: 13 lines (+1/-1)1 file modifiedsrc/provisioningserver/drivers/power/vmware.py (+1/-1)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: sts |
Changed in maas: | |
milestone: | none → next |
status: | Triaged → Fix Committed |
Changed in maas: | |
milestone: | next → 2.8.0b1 |
status: | Fix Committed → Fix Released |
This still exists in 2.6.2. A workaround is to use the IP which then causes the SSL error. For that you can set VMware API protocol to https+unverified