nova-compute charm should be able to enable or disable "inject_password"

Bug #1755696 reported by Craige McWhirter
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Nova Compute Charm
Fix Released
Wishlist
Linda Guo

Bug Description

To enable the inject_password feature in nova-compute, we need the charm's action to set this option in /etc/nova/nova.conf:

[libvirt]
inject_password=true
inject_key=true

James Page (james-page)
Changed in charm-nova-compute:
status: New → Triaged
importance: Undecided → Wishlist
Linda Guo (lihuiguo)
Changed in charm-nova-compute:
assignee: nobody → Linda Guo (lihuiguo)
Revision history for this message
Linda Guo (lihuiguo) wrote :

actions shouldn't manipulate config files, that's a hook + config.yaml job.

Revision history for this message
Linda Guo (lihuiguo) wrote :

My intention is to add config option `inject-password` to the config.yaml that would allow user to inject admin/root password at nova instance boot time.
According to config reference [1]:

inject_password: If this option allows the injection of an admin password it depends on value greater or equal to -1 for inject_partition.

So to allow inject password, these options in /etc/nova/nova.conf:

[libvirt]
inject_password = True
inject_partition = -1

[1].https://docs.openstack.org/ocata/config-reference/compute/config-options.html

Revision history for this message
Linda Guo (lihuiguo) wrote :
Linda Guo (lihuiguo)
Changed in charm-nova-compute:
status: Triaged → Fix Committed
David Ames (thedac)
Changed in charm-nova-compute:
milestone: none → 21.01
David Ames (thedac)
Changed in charm-nova-compute:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.