Logical volume not extended
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Cinder Charm |
Fix Released
|
High
|
Liam Young |
Bug Description
When adding second device to block-device parameter, it is added to volume group, but logical volume is not extended to use it
juju ssh cinder/4 "lsblk; sudo vgs; sudo lvs"
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 50G 0 disk
└─sda1 8:1 0 50G 0 part /
sdb 8:16 0 10G 0 disk
├─cinder-
│ └─cinder-
│ └─cinder-
└─cinder-
└─cinder-
└─cinder-
sdc 8:32 0 10G 0 disk
VG #PV #LV #SN Attr VSize VFree
cinder-volumes 2 1 0 wz--n- 19.99g 10.47g
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
cinder-
Connection to 192.168.100.185 closed.
juju config cinder block-device
sdb sdc
Changed in charm-cinder: | |
status: | Incomplete → Confirmed |
Changed in charm-cinder: | |
milestone: | 18.02 → 18.05 |
Changed in charm-cinder: | |
status: | In Progress → Fix Committed |
Changed in charm-cinder: | |
status: | Fix Committed → Fix Released |
Just some additional information - when two disks are provided during deploy, LV is spread across both as expected. It is just adding a block device which does not enlarge LV ^^^
juju ssh cinder/5 "lsblk; sudo vgs; sudo lvs" -volumes- cinder- -volumes- -pool_tmeta 252:0 0 20M 0 lvm -volumes- cinder- -volumes- -pool 252:2 0 19G 0 lvm -volumes- cinder- -volumes- -pool_tdata 252:1 0 19G 0 lvm -volumes- cinder- -volumes- -pool 252:2 0 19G 0 lvm -volumes- cinder- -volumes- -pool_tdata 252:1 0 19G 0 lvm -volumes- cinder- -volumes- -pool 252:2 0 19G 0 lvm volumes- pool cinder-volumes twi-a-tz-- 18.99g 0.00 0.55
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 50G 0 disk
└─sda1 8:1 0 50G 0 part /
sdb 8:16 0 10G 0 disk
├─cinder-
│ └─cinder-
└─cinder-
└─cinder-
sdc 8:32 0 10G 0 disk
└─cinder-
└─cinder-
VG #PV #LV #SN Attr VSize VFree
cinder-volumes 2 1 0 wz--n- 19.99g 984.00m
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
cinder-