virsh address does not read hostname when adding machine
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Medium
|
Unassigned |
Bug Description
Hi there,
I am attempting to add a machine on MaaS using the Virsh (Virtual system) power type.
Ever since this (https:/
whenever I do not assign a hostname to VMWare, running this command:
virsh -c esx://root@
will output:
error: failed to connect to the hypervisor
error: internal error: curl_easy_perform() returned an error: SSL peer certificate or SSH remote key was not OK (51) : SSL: certificate subject name (<vmware_IP>) does not match target host name '<vmware_IP>'
I then generated SSL certs and exchanged them between the MAAS servers and VMWare until I am able to list the VMs using:
virsh -c esx://root@
Now the problem is that when I try to add them through MAAS, using: esx://root@
MAAS does not read the hostname and translate them properly, this is the error message:
[info] BMC could not save extracted IP address '<vmware_
Since this has just been recently, there's not alot of resources for this fix. I hope someone here can help!
Changed in maas: | |
status: | Incomplete → Triaged |
importance: | Undecided → Medium |
Seems that the MAAS controller cannot resolve the vmware_hostname. Be sure to confirm that the region controller of MAAS can resolve that hostname.