[Openstack-operators] Change admin password on already running instance

Alexandra Kisin KISIN at il.ibm.com
Tue Feb 5 15:59:26 UTC 2013


Hi,

Is there any way to use OpenStack API to change admin (root) password on
already running instance ?
Which special configuration should be done on compute node or controller or
basic image to make it work ?
I've tried to run

curl -v -H 'X-Auth-Token: 3d9bd4afb993447d8a428d2ec10fcf11' -H
"Content-Type: application/json" -H "Accept: application/json" -X POST "
http://localhost:8774/v2.0/3bb69a4204334bfc98e0199cb33000ea/servers/c7108f77-98e7-4fd2-b53d-b1e1f36fde40/action

" -d '{"changePassword":{"adminPass":"welcome"}}'

And I'm getting HTTP 202 which seems to be ok.
But actually the root password of the instance was not changed.

Thank you.

Alexandra Kisin
Servers & Network group, IBM R&D Labs in Israel
Unix & Virtualization Team




More information about the OpenStack-operators mailing list