maas-clusterd must be restarted after installing python-vmomi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Mike Pontillo |
Bug Description
In order to probe-and-enlist VMware, we must install the python-pyvmomi package.
However, if it is not initially installed, and then added later, the probe-and-enlist still fails:
root@maastest-
python-pyvmomi install
root@maastest-
May 29 12:41:44 maastest-1404 maas.rpc.cluster: [ERROR] Failed to probe and enlist VMware nodes: Could not find a suitable VMware API (install python-pyvmomi)
If you then restart maas-clusterd, it works as expected after that.
root@maastest-
maas-clusterd stop/waiting
maas-clusterd start/running, process 17625
It would be nice if, after installing the required package, it "just works".
Related branches
- Gavin Panella (community): Approve
-
Diff: 87 lines (+24/-17)2 files modifiedsrc/provisioningserver/drivers/hardware/tests/test_vmware.py (+1/-9)
src/provisioningserver/drivers/hardware/vmware.py (+23/-8)
Changed in maas: | |
milestone: | none → 1.8.0 |
Changed in maas: | |
importance: | Low → High |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |