Re: [openstack-dev] [cinder] Dependencies of snapshots on volumes

2015-12-10 Thread Duncan Thomas
On 10 December 2015 at 04:48, Li, Xiaoyan wrote: > > This leads to a problem like extending volume. Extending a volume in an > incremental snapshot fails > in vendor storage. And then the cinder volume goes into error_extending > status. From my opinion this is not good. > In any case where you

Re: [openstack-dev] [cinder] Dependencies of snapshots on volumes

2015-12-09 Thread Li, Xiaoyan
On Dec 10, 2015 06:34, Mike Perez wrote: > On 09:27 Dec 09, John Griffith wrote: >> On Tue, Dec 8, 2015 at 9:10 PM, Li, Xiaoyan > wrote: > > > >>> As a result, this raises two concerns here: >>> 1. Let such operations behavior same in Cinder. >>> 2. I prefer to let storage driver decide the dep

Re: [openstack-dev] [cinder] Dependencies of snapshots on volumes

2015-12-09 Thread Mike Perez
On 09:27 Dec 09, John Griffith wrote: > On Tue, Dec 8, 2015 at 9:10 PM, Li, Xiaoyan wrote: > > As a result, this raises two concerns here: > > 1. Let such operations behavior same in Cinder. > > 2. I prefer to let storage driver decide the dependencies, not in the > > general core codes. > > >

Re: [openstack-dev] [cinder] Dependencies of snapshots on volumes

2015-12-09 Thread Arkady_Kanevsky
questions) Subject: [openstack-dev] [cinder] Dependencies of snapshots on volumes Hi all, Currently when deleting a volume, it checks whether there are snapshots created from it. If yes deletion is prohibited. But it allows to extend the volume, no check whether there are snapshots from it. The two

Re: [openstack-dev] [cinder] Dependencies of snapshots on volumes

2015-12-09 Thread Jordan Pittier
Hi, FWIW, I completely agree with what John said. All of it. Please don't do that. Jordan __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscr

Re: [openstack-dev] [cinder] Dependencies of snapshots on volumes

2015-12-09 Thread Chris Friesen
On 12/09/2015 10:27 AM, John Griffith wrote: On Tue, Dec 8, 2015 at 9:10 PM, Li, Xiaoyan mailto:xiaoyan...@intel.com>> wrote: Hi all, Currently when deleting a volume, it checks whether there are snapshots created from it. If yes deletion is prohibited. But it allows to extend

Re: [openstack-dev] [cinder] Dependencies of snapshots on volumes

2015-12-09 Thread John Griffith
On Tue, Dec 8, 2015 at 9:10 PM, Li, Xiaoyan wrote: > Hi all, > > Currently when deleting a volume, it checks whether there are snapshots > created from it. If yes deletion is prohibited. But it allows to extend > the volume, no check whether there are snapshots from it. > ​Correct​ > > The two

[openstack-dev] [cinder] Dependencies of snapshots on volumes

2015-12-08 Thread Li, Xiaoyan
Hi all, Currently when deleting a volume, it checks whether there are snapshots created from it. If yes deletion is prohibited. But it allows to extend the volume, no check whether there are snapshots from it. The two behaviors in Cinder are not consistent from my viewpoint. In backend sto