how to troubleshoot 'nova get-password' returning a blank password

asked 2014-08-08 12:26:43 +0300

spiffly gravatar image


Per the instructions here:

When I attempt to retrieve the Admin password with the following command:

nova get-password <wininstance> <privatekeyfile>

It returns an empty string.

The article mentions that the HTTP metadata service needs to be up and running when the instance is created. I don't know how to check this directly, but I have verified that I can successfully inject the ssh key into linux instances that I've created. I'm assuming this uses the same HTTP metadata service, and if so, then the metadata service is working properly.

Any suggestions on how to further troubleshoot this?

edit retag flag offensive close merge delete


make sure you are able to ping to if yes restart cloudbase service and try again by refresing the horizon or by executing nova get-passwordagain.

agrahar gravatar imageagrahar ( 2020-03-21 16:00:49 +0300 )edit

let me know i am facing this issue but after restart service its working,but it should in a state of work directly without doing that. please let me know this works or not for you.

agrahar gravatar imageagrahar ( 2020-03-21 16:01:58 +0300 )edit