Password Injection Through Horizon

asked 2016-12-09 08:12:33 -0600

anonymous user


Hi All,

I am currently setting up a Openstack environment and I have hit a roadblock. Through using Horizion I want to be able set the root password for VMs (ubuntu, centos etc...)

I have read guides that suggest setting:

OPENSTACK_HYPERVISOR_FEATURES = { ... 'can_set_password': True, }

However, on Horizion, there is still no option to set a password for a VM. Here is the guide I have used to setup the system: (

Any help on how to set this up would be appreciated.

edit retag flag offensive close merge delete


Praveen N gravatar imagePraveen N ( 2016-12-12 05:11:21 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-12-10 16:01:07 -0600

volenbovsky gravatar image

I think you are hitting, sory switching to legacy launch interface via LAUNCH_INSTANCE_LEGACY_ENABLED to True in

-consider using config drive (I have not tried to do it myself though). Metadata service is typically a worse alternative.

edit flag offensive delete link more


Thank you very much, I now have the option through the GUI, however when the password is injected, I am still unable to login with the new password. The password I set through the GUI is not being set in the image.

I'm a using a Centos 6.8_64bit image.


timcharger gravatar imagetimcharger ( 2016-12-14 10:26:17 -0600 )edit

there are few parameters in nova (/libvirt) that you need to check. Google it up and let us know here how it went

volenbovsky gravatar imagevolenbovsky ( 2016-12-14 13:36:35 -0600 )edit

Thank you this has help a lot. On the compute node (in nova.conf), I have now set:

inject_password=true enable_instance_password=true

However once the instance has been deployed, the password is still not set.

Any help would be appreciated.

timcharger gravatar imagetimcharger ( 2016-12-15 06:16:46 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-12-09 08:12:33 -0600

Seen: 264 times

Last updated: Dec 10 '16