thin lvm reports 0 capacity after restart

Bug #1702152 reported by Attila Fazekas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Unassigned

Bug Description

I have an lvm backend with this options:
[lvm]
volume_backend_name=lvm
volume_driver=cinder.volume.drivers.lvm.LVMVolumeDriver
iscsi_ip_address=192.168.9.158
iscsi_helper=lioadm
volume_group=cinder-volumes
volumes_dir=/var/lib/cinder/volumes

At the first start cinder automatically decides it will be used as thin
and creates the cinder-volumes/cinder-volumes-pool .

This time it's working,
but when I restart the service it reports 0 capacity to the c-sch.

when update_volume_group_info() run, the self.vg_thin_pool was None,
it needs to be added in time!

The issues is easily reproducible,
and If you want to run on the working path, you just need to delete cinder-volumes/cinder-volumes-pool (loosing all data).

If you want to move back to the not working path, just restart the service.

description: updated
Revision history for this message
Eric Harney (eharney) wrote :

I think this is bug 1701547.

Changed in cinder:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.