[SRU] nova resize doesn't resize(extend) rbd disk files when using rbd disk backend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Nicolas Simonds | ||
Liberty |
Fix Released
|
Medium
|
Tony Breeds | ||
Ubuntu Cloud Archive |
Fix Released
|
Medium
|
Unassigned | ||
Liberty |
Fix Released
|
Medium
|
Edward Hope-Morley | ||
nova (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Wily |
Won't Fix
|
Medium
|
Edward Hope-Morley |
Bug Description
[Impact]
Instance resize does not work if the target host has a cached copy of
the root disk. The resize will silently fail but be displayed as
successful in Nova.
[Test Case]
1 deploy nova-compute with RBDImageBackend enabled
2 boot an instance from a QCOW2 image (to guarantee it gets downloaded for reformat prior to re-upload to ceph)
3 nova resize using flavor with larger root disk
4 wait for instance resize migration to complete
5 verify root disk actually resized by checking /proc/partitions in vm
6 do nova resize-confirm
7 repeat steps 3-6
[Regression Potential]
* None
== original description below ==
tested with nova trunk commit eb860c2f219b79e
Configured Nova to use rbd disk backend
nova.conf
[libvirt]
images_type=rbd
instances booted successfully and instance disks are in rbd pools, when perform a nova resize to an existing instance, memory and CPU changed to be new flavors but instance disks size doesn't change
tags: | added: ceph |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Low |
tags: | added: cts |
tags: | added: vole |
tags: |
added: volue removed: vole |
tags: |
added: volumes removed: volue |
tags: | added: sts |
tags: | added: liberty-rc-potential |
Changed in nova: | |
assignee: | Nicolas Simonds (nicolas.simonds) → Dan Smith (danms) |
Changed in nova: | |
assignee: | Dan Smith (danms) → Nicolas Simonds (nicolas.simonds) |
Changed in nova: | |
milestone: | none → liberty-rc2 |
milestone: | liberty-rc2 → none |
milestone: | none → liberty-rc2 |
Changed in nova: | |
milestone: | liberty-rc2 → none |
tags: | added: liberty-rc-potential |
tags: | removed: liberty-rc-potential |
tags: | added: kilo-backport-potential liberty-backport-potential |
Changed in nova: | |
importance: | Low → Medium |
tags: |
added: in-stable-liberty removed: kilo-backport-potential liberty-backport-potential |
Changed in nova (Ubuntu): | |
assignee: | nobody → Liang Chen (cbjchen) |
description: | updated |
tags: | added: sts-sru |
Changed in nova (Ubuntu): | |
importance: | Undecided → Medium |
Changed in nova (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in nova (Ubuntu): | |
assignee: | Liang Chen (cbjchen) → Edward Hope-Morley (hopem) |
status: | In Progress → New |
assignee: | Edward Hope-Morley (hopem) → nobody |
status: | New → Fix Released |
summary: |
- nova resize doesn't resize(extend) rbd disk files when using rbd disk - backend + [SRU] nova resize doesn't resize(extend) rbd disk files when using rbd + disk backend |
tags: | removed: cts |
Changed in cloud-archive: | |
status: | New → Fix Released |
Changed in nova (Ubuntu Wily): | |
status: | New → Triaged |
Changed in cloud-archive: | |
importance: | Undecided → Medium |
Changed in nova (Ubuntu Wily): | |
importance: | Undecided → Medium |
Changed in nova (Ubuntu Wily): | |
status: | Triaged → In Progress |
Changed in nova (Ubuntu Wily): | |
status: | In Progress → Won't Fix |
tags: | removed: sts-sru |
It's probably the same thing causing the failure in the experimental ceph job:
http:// logs.openstack. org/30/ 133530/ 2/experimental/ check-tempest- dsvm-full- ceph/e4e5706/ console. html#_2014- 11-10_18_ 41_56_101