New Question

benray's profile - activity

2019-10-09 16:46:18 +0300 received badge  Famous Question (source)
2019-09-23 19:41:05 +0300 received badge  Taxonomist
2019-06-04 18:22:59 +0300 commented answer password in user-data vs password plugin

Thank you! This is exactly what I ended up doing and it works great. Appreciate the confirmation.

2019-06-04 18:22:20 +0300 answered a question password in user-data vs password plugin

Thank you! This is exactly what I ended up doing and it works great. Appreciate the confirmation.

2019-06-03 11:21:27 +0300 received badge  Notable Question (source)
2019-06-03 11:02:01 +0300 received badge  Popular Question (source)
2019-04-09 05:32:23 +0300 received badge  Enthusiast
2019-04-08 17:23:37 +0300 asked a question password in user-data vs password plugin

password in user-data vs password plugin Hi Cloudbase team, Wonder if you can help us figure out how to give users the

2016-07-05 16:55:18 +0300 received badge  Famous Question (source)
2016-03-24 18:46:39 +0300 commented answer Password options for horizon

Got it ... so basically it's a limitation and you were able to get around it with the metadata key. This helps me understand the behavior we've seen. Thanks for the explanation! I think we will go back to configdrive :)

2016-03-24 18:45:02 +0300 received badge  Notable Question (source)
2016-03-23 23:49:00 +0300 commented answer Password options for horizon

Yes - thanks for underscoring these points. Have you been able to get the horizon-set password using httpserver datasource?

2016-03-23 20:34:50 +0300 received badge  Popular Question (source)
2016-03-23 16:32:46 +0300 answered a question Password options for horizon

Adrian,

Thanks for your response. This is an isolated environment for shared temporary test machines where speed and convenience are more desired by users than security. I did find an easy way to re-enable the local Administrator account via userdata script so thank you for supporting that.

Currently I am using 'cansetpassword' in horizon and can successfully deploy instances with configdrive and httpservice (by changing the order in metadata_services). However I'm running into these limitations:

  1. If configdrive is used, the password is properly taken from horizon and applied to the VM but is not posted to the metadata service (I believe this is expected) and thus cannot be retrieved if forgotten short of grepping the configdrive iso by an admin. If the user does not select a password in horizon a random one will be used which again cannot be retrieved from horizon.

  2. If httpserver is used, the user gets a random password which is properly posted to the metadata and can be retrieved with the keypair. Unfortunately if the user adds a password in horizon a random one is still used ... the desired password does not get applied to the VM. Interesting though the desired password will be in the configdrive file.

  3. If httpserver is used and the instance is booted on the command line with "--meta admin_pass=<password>" we get the desired behavior. The password input by the user is applied to the VM and is posted to the metadata meaning it can be retrieved & decrypted with the key. However end users cannot use this method as they are using horizon.

I understand #1 and #3 are probably working normally. So my question is on #2; when using httpserver, should cloudbase-init use the admin pass input to horizon or is it properly generating a random password?

Thanks again for your feedback

2016-03-18 19:01:41 +0300 asked a question Password options for horizon

Hi folks,

Thanks for all your work on bringing cloudbase-init to Windows. We are starting to use it with OpenStack to deploy isolated short-lived VMware test machines for a support community. I have a few password account/related questions to add to what's already been covered here.

Q: Is it possible to deliver admin pass through horizon via configdrive and then post to metadata with httpservice? Currently we can't get it to post but it does get applied to the VM. Looks like httpservice is ignored once configdrive is discovered.

Q: Is it possible to deliver admin pass through horizon via httpservice? Currently we can only get a random password with this method. Booting via cmd line with '--meta admin_pass=' works but our users will be using horizon. Maybe a post-creation option could work too?

Q: How difficult would it be to keep the Administrator account from being disabled after sysprep?

thank you!