feature: support configuration of inject_partition with libvirt-image-backend=rbd

Bug #1576497 reported by Nobuto Murata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Nova Compute Charm
Triaged
Low
Unassigned
nova-compute (Juju Charms Collection)
Invalid
Low
Unassigned

Bug Description

At this moment, inject_partition=-2(disable) will be set when libvirt-image-backend=rbd is used. But in some specific cases, e.g an instance for NFV usecase does not have cloud-init, file injection is still needed.

I understand that it's not a recommended way to setup instances, but it would be nice if inject_partition is configurable.

https://github.com/openstack-charmers/charm-nova-compute/blob/master/templates/mitaka/nova.conf#L166-L173
{% if libvirt_images_type and rbd_pool -%}
images_type = {{ libvirt_images_type }}
images_rbd_pool = {{ rbd_pool }}
images_rbd_ceph_conf = {{ libvirt_rbd_images_ceph_conf }}
inject_password = false
inject_key = false
inject_partition = -2
{% endif -%}

James Page (james-page)
Changed in nova-compute (Juju Charms Collection):
status: New → Triaged
importance: Undecided → Low
summary: - please allow to configure inject_partition even with libvirt-image-
+ feature: support configuration of inject_partition with libvirt-image-
backend=rbd
James Page (james-page)
Changed in charm-nova-compute:
importance: Undecided → Low
status: New → Triaged
Changed in nova-compute (Juju Charms Collection):
status: Triaged → Invalid
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.