New Question
0

juju+openstack: how to get windows machine password

asked 2016-06-14 19:15:19 +0200

gennadiy.dubina gravatar image

Hi everyone,

We are using juju(canonical deployment tool) to deploy windows machine to openstack(nova) We use windows 2012 r2 image from cloudbase.

Machine was created successfully. but i don't know how to get Admin user password.

i have found one option: nova get-password <instance-id> <private-key-path> but it doesn't work in juju case. it returns empty result

Seems it doesn't provide private key for this machine. Key name field is None for this machine on openstack details page.

So how to get password for this machine? we need to get RDP access

Thanks, Gennadiy

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2016-06-15 16:02:13 +0200

Ionut Balutoiu gravatar image

updated 2016-06-15 16:02:43 +0200

Hello!

Juju doesn't use any keypair when creating machines on OpenStack. So you cannot retrieve the password set by cloudbase-init on any Nova instance booted with Juju.

The only options are:

  • Set the default Administrator password via node console;
  • If you're using Juju version >= 2.0, you can set the Administrator or the Admin password via Juju run: juju run --machine <machine-id> "net user Administrator <password>"

Regards,

Ionut Balutoiu

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2016-06-14 19:15:19 +0200

Seen: 810 times

Last updated: Jun 15 '16