I have a multi-host MaaS, Juju Openstack deployment. Each charm on different host, multiple nova-compute units (nodes). And Im using Quantum charm for networking.
When I attempt to retrieve the admin password for VM with the following command:
nova get-password <server> <privatekeyfile>
It returns an empty string.
I found that for this to work the HTTP metadata service needs to be up and running when the instance is booted up. So I installed nova-api-metadata package on compute-node where I will try to boot the VM. I restart all nova services on compute and controller nodes and i run the nova-api-metadata service.
It still return blank string.
Any suggestions on how to further troubleshoot this?
Somewhere i found that no other nova-api service should be running, somewhere i read that it should be specified in nova.conf file as enabled_apis.
Where the true is? What and where should be running and specified?