LVM driver: volume with snaps can't be extended
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Curt Bruns | ||
Kilo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Tested on cinder master
How to reproduce:
1) cinder create --volume-type lvmdriver-1 1
2) cinder snapshot-create $vol_id
3) cinder extend $vol_id 2
The volume extend fails with the following stack trace in c-vol:
DEBUG oslo_concurrenc
otwrap /etc/cinder/
on2.7/dist-
ERROR cinder.
ume
TRACE cinder.
TRACE cinder.
TRACE cinder.
TRACE cinder.
TRACE cinder.
TRACE cinder.
TRACE cinder.
TRACE cinder.
TRACE cinder.
8e7f2e000d78
TRACE cinder.
TRACE cinder.
TRACE cinder.
TRACE cinder.
ERROR cinder.
r-rootwrap /etc/cinder/
ERROR cinder.
ERROR cinder.
origin volumes can be resized only while inactive: try lvchange -an
The volume status become "error_extending"
Changed in cinder: | |
status: | New → Confirmed |
Changed in cinder: | |
assignee: | nobody → Lisa Li (lisali) |
Changed in cinder: | |
status: | Triaged → In Progress |
tags: | added: kilo-backport-potential |
Changed in cinder: | |
assignee: | John Griffith (john-griffith) → Curt Bruns (curt-e-bruns) |
Changed in cinder: | |
milestone: | liberty-2 → liberty-3 |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | liberty-3 → 7.0.0 |
Should the extent be prohibited in Openstack?