Bug 1049944

Summary: ThinLVM: volumes and snaps created outside the thin pool
Product: [Community] RDO Reporter: Giulio Fidente <gfidente>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED NOTABUG QA Contact: Dafna Ron <dron>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: eharney, gfidente, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-15 17:40:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Giulio Fidente 2014-01-08 14:23:40 UTC
Description of problem:
New volumes and snapshots are created outside the lvm thin pool, despite the pool being available.

[root@gfidente-rdo4 ~]# lvs
  LV                                             VG             Attr       LSize  Pool                Origin                                     
  _snapshot-50bb540e-76ef-404b-a71a-0d5e8cbba869 cinder-volumes Vwi---tz-k  4.00g cinder-volumes-pool volume-db90d9f6-f13b-439c-a7da-6f4a3cfba362
  cinder-volumes-pool                            cinder-volumes twi-a-tz-- 10.00g                                                                
  volume-db90d9f6-f13b-439c-a7da-6f4a3cfba362    cinder-volumes Vwi-aotz--  4.00g cinder-volumes-pool                                            
  

Version-Release number of selected component (if applicable):
openstack-cinder-2014.1-0.2.b1.el6.noarch


Steps to Reproduce:
1. configure cinder with lvm_type = thin
2. create a new volume or snap

Comment 1 Eric Harney 2014-01-13 22:01:02 UTC
Why do you say they are outside of the pool?  The lvs output indicates they are in "cinder-volumes-pool".

Comment 2 Giulio Fidente 2014-01-15 17:40:27 UTC
This is working as expected, the bug is invalid! volumes, clones and snaps are all correctly placed within the pool.