LXC volume attach problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned |
Bug Description
I ran into an issue using volumes with LXC. The problem was in trying to mount/access the volume inside of the instance after attaching. As an example, when I attach the volume the following command line gets run:
sudo echo > c 8:16 rwm /sys/fs/
With that, the device does not show in devices.list, and I cannot use mknod inside the container to get to and mount the volume. As a work around I can run the following manually after the attach:
echo b 8:16 rwm | sudo tee -a /sys/fs/
Then I see the device show up in devices.list, do a mknod in the container, mount, etc.
In terms of environment, this was observed using devstack on ubuntu 11.10 and 12.04.
Thanks for your input! /review. openstack. org/5389 fixes the issue for you.
Would be great if you could confirm that the patch at: https:/