AFAIK cloud-init is not handling it ATM, while Cloudbase-Init supports it out of the box on Windows (and soon FreeBSD).
You need to deploy your instance with an SSH keypair and use HTTP metadata, required for POSTing back the encrypted password. It does not work with ConfigDrive. Alessandro On 15 Oct 2014, at 18:17, Vishvananda Ishaya <vishvana...@gmail.com<mailto:vishvana...@gmail.com>> wrote: Get password only works if you have something in the guest generating the encrypted password and posting it to the metadata server. Cloud-init for windows (the primary use case) will do this for you. You can do something similar for ubuntu using this script: https://gist.github.com/vishvananda/4008762 If cirros has usermod and openssl installed it may work there as well. Note that you can pass the script in as userdata (see the comments at the end). Vish On Oct 15, 2014, at 8:02 AM, Danny Choi (dannchoi) <dannc...@cisco.com<mailto:dannc...@cisco.com>> wrote: Hi, I used devstack to deploy Juno OpenStack. I spin up an instance with cirros-0.3.2-x86_64-uec. By default, useranme/password is cirrus/cubswin:) When I execute the command “nova get-password”, nothing is returned. localadmin@qa4:/etc/nova$ nova show vm1 +--------------------------------------+----------------------------------------------------------------+ | Property | Value | +--------------------------------------+----------------------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-STS:power_state | 1 | | OS-EXT-STS:task_state | - | | OS-EXT-STS:vm_state | active | | OS-SRV-USG:launched_at | 2014-10-15T14:48:04.000000 | | OS-SRV-USG:terminated_at | - | | accessIPv4 | | | accessIPv6 | | | config_drive | | | created | 2014-10-15T14:47:56Z | | flavor | m1.tiny (1) | | hostId | ea715752b11cf96b95f9742513a351d2d6571c4fdb76f497d64ecddb | | id | 1a3c487e-c3a3-4783-bd0b-e3c87bf22c3f | | image | cirros-0.3.2-x86_64-uec (1dda953b-9319-4c43-bd20-1ef75b491553) | | key_name | cirros-key | | metadata | {} | | name | vm1 | | os-extended-volumes:volumes_attached | [] | | private network | 10.0.0.11 | | progress | 0 | | security_groups | default | | status | ACTIVE | | tenant_id | c8daf9bd6dda40a982b074322c08da7d | | updated | 2014-10-15T14:48:04Z | | user_id | 2cbbafae01404d4ebeb6e6fbacfa6546 | +--------------------------------------+----------------------------------------------------------------+ localadmin@qa4:/etc/nova$ nova help get-password usage: nova get-password <server> [<private-key>] Get password for a server. Positional arguments: <server> Name or ID of server. <private-key> Private key (used locally to decrypt password) (Optional). When specified, the command displays the clear (decrypted) VM password. When not specified, the ciphered VM password is displayed. localadmin@qa4:/etc/nova$ nova get-password vm1 <<<<<[NOTHING RETURNED] localadmin@qa4:/etc/nova$ Am I missing something? Thanks, Danny _______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org<mailto:OpenStack-dev@lists.openstack.org> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev _______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org<mailto:OpenStack-dev@lists.openstack.org> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev