lxc container rootfs is attached to more than one device when rebooted or resized
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
QiangGuan |
Bug Description
Operation details are as following:
ubuntu@lxc-gq:~$ nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| b91adccc-
+------
ubuntu@lxc-gq:~$ sudo losetup -a
/dev/loop1: [fd01]:134374 (/opt/stack/
ubuntu@lxc-gq:~$ nova reboot lxc1 --hard
ubuntu@lxc-gq:~$ nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| b91adccc-
+------
ubuntu@lxc-gq:~$ nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| b91adccc-
+------
ubuntu@lxc-gq:~$ sudo losetup -a
/dev/loop0: [fd01]:134374 (/opt/stack/
/dev/loop1: [fd01]:134374 (/opt/stack/
ubuntu@lxc-gq:~$ nova resize lxc1 m1.lxc
ubuntu@lxc-gq:~$ nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| b91adccc-
+------
ubuntu@lxc-gq:~$ sudo losetup -a
/dev/loop0: [fd01]:136419 (/opt/stack/
/dev/loop1: [fd01]:134374 (/opt/stack/
ubuntu@lxc-gq:~$ nova resize-confirm lxc1
ubuntu@lxc-gq:~$ nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| b91adccc-
+------
ubuntu@lxc-gq:~$ vir list
Id Name State
-------
9312 instance-00000052 running
ubuntu@lxc-gq:~$ sudo losetup -a
/dev/loop0: [fd01]:136419 (/opt/stack/
/dev/loop1: [fd01]:134374 (/opt/stack/
tags: | added: lxc |
Changed in nova: | |
status: | New → In Progress |
assignee: | nobody → QiangGuan (hzguanqiang) |
Changed in nova: | |
milestone: | none → icehouse-2 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-2 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/53069
Review: https:/