Cannot attach volumes to LXC instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Vladik Romanovsky |
Bug Description
Volumes cannot be attach to any LXC instances
since it's root device cannot be parsed properly.
This later causes a failure in device name generation in get_next_
when attempting to generate a name for the attached volume.
The generated device name, will not be recognized by get_dev_
when trying to select a disk bus, nor libvirt will be able to attach the volume
with an unrecognized device name.
When creating a LXC instance, the /dev/nbd1 or /dev/loop0 devices will be saved as
instance root device in _create_domain()
Later, when attaching the volume, block_device.
The formed device will be named as /dev/na (for /dev/nbdX)
Which will not be recognized in blockinfo.
Even if it will be recognized, libvirt wont be able to attach a volume named /dev/na
tags: | added: lxc |
tags: | added: libvirt |
Changed in nova: | |
assignee: | nobody → Vladik Romanovsky (vladik-romanovsky) |
Changed in nova: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-3 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/104047
Review: https:/