[openstack-dev] [Nova] Seperate out 'soft-deleted' instances from 'deleted' ones?
philip.day at hp.com
Tue Jul 16 17:49:36 UTC 2013
> > -----Original Message-----
> > From: David Ripton [mailto:dripton at redhat.com]
> > Sent: 16 July 2013 15:39
> > To: openstack-dev at lists.openstack.org
> > Subject: Re: [openstack-dev] [Nova] Seperate out 'soft-deleted' instances from
> > 'deleted' ones?
> > On 07/15/2013 10:03 AM, Matt Riedemann wrote:
> > > I have a patch up for review on this:
> > >
> > > _https://review.openstack.org/#/c/35061/_
> > >
> > > However, this doesn't fix the vm_states.SOFT_DELETED mapping in
> > > nova.api.openstack.common so if you show an instance with
> > > vm_states.SOFT_DELETED, the response status will be 'DELETED'.
> > >
> > > I'd like to see if there are any opinions on if this should come back
> > > as 'SOFT_DELETED' or if everyone is OK with mapping soft-delete to
> > > 'DELETED' in the v3 API?
> > I would like to see them merged. Having multiple kinds of deleted records is
> > really confusing, and leads to bugs. The more public we make this, the harder
> > it will be to fix it in the future.
The only place I can see it would be confusing is if an admin is using "deleted" in the search options, in which case I think they would need some way to distinguish between soft and hard deleted instances.
More information about the OpenStack-dev