Re: [Openstack] Delete server spec

2011-12-08 Thread Brian Waldon
I agree that we shouldn't delete snapshots. I'll file a bug and fix the 
documentation assuming nobody else has a reason to keep the intended behavior 
(http://docs.openstack.org/api/openstack-compute/1.1/content/Delete_Server-d1e2883.html)

Brian


On Dec 7, 2011, at 8:05 PM, Nachi Ueno wrote:

> Hi folks
> 
> I wanna make Delete server spec clear.
> 
> The API doc says,
> "When a server is deleted, all images created from that server are also 
> removed"
> 
> http://docs.openstack.org/api/openstack-compute/1.1/content/Delete_Server-d1e2883.html
> 
> IMO, "all images" is vm images which stored on compute node instances_path.
> Is this correct?
> 
> Cheers
> Nati
> 
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Delete server spec

2011-12-08 Thread Monty Taylor
++

On 12/07/2011 07:46 PM, Jay Pipes wrote:
> I would agree with that. If I delete a server instance, I don't want
> to destroy snapshot images I took of that server...
> 
> -jay
> 
> On Wed, Dec 7, 2011 at 8:50 PM, Nachi Ueno
>  wrote:
>> Hi Jessy
>>
>> Thanks.
>> Hmm, there are no implementation of cleanup snapshot images.
>> IMO, Snapshot image should not deleted, in case of API request mistake.
>>
>> https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L540
>>
>> 2011/12/7 Jesse Andrews :
>>> I would interpret that to include the snapshots - but I'm not sure
>>> that is what I'd expect as a user.
>>>
>>> On Wed, Dec 7, 2011 at 5:05 PM, Nachi Ueno
>>>  wrote:
 Hi folks

 I wanna make Delete server spec clear.

 The API doc says,
 "When a server is deleted, all images created from that server are also 
 removed"

 http://docs.openstack.org/api/openstack-compute/1.1/content/Delete_Server-d1e2883.html

 IMO, "all images" is vm images which stored on compute node instances_path.
 Is this correct?

 Cheers
 Nati

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
> 
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
> 

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Delete server spec

2011-12-07 Thread Jay Pipes
I would agree with that. If I delete a server instance, I don't want
to destroy snapshot images I took of that server...

-jay

On Wed, Dec 7, 2011 at 8:50 PM, Nachi Ueno
 wrote:
> Hi Jessy
>
> Thanks.
> Hmm, there are no implementation of cleanup snapshot images.
> IMO, Snapshot image should not deleted, in case of API request mistake.
>
> https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L540
>
> 2011/12/7 Jesse Andrews :
>> I would interpret that to include the snapshots - but I'm not sure
>> that is what I'd expect as a user.
>>
>> On Wed, Dec 7, 2011 at 5:05 PM, Nachi Ueno
>>  wrote:
>>> Hi folks
>>>
>>> I wanna make Delete server spec clear.
>>>
>>> The API doc says,
>>> "When a server is deleted, all images created from that server are also 
>>> removed"
>>>
>>> http://docs.openstack.org/api/openstack-compute/1.1/content/Delete_Server-d1e2883.html
>>>
>>> IMO, "all images" is vm images which stored on compute node instances_path.
>>> Is this correct?
>>>
>>> Cheers
>>> Nati
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to     : openstack@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Delete server spec

2011-12-07 Thread Nachi Ueno
Hi Jessy

Thanks.
Hmm, there are no implementation of cleanup snapshot images.
IMO, Snapshot image should not deleted, in case of API request mistake.

https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L540

2011/12/7 Jesse Andrews :
> I would interpret that to include the snapshots - but I'm not sure
> that is what I'd expect as a user.
>
> On Wed, Dec 7, 2011 at 5:05 PM, Nachi Ueno
>  wrote:
>> Hi folks
>>
>> I wanna make Delete server spec clear.
>>
>> The API doc says,
>> "When a server is deleted, all images created from that server are also 
>> removed"
>>
>> http://docs.openstack.org/api/openstack-compute/1.1/content/Delete_Server-d1e2883.html
>>
>> IMO, "all images" is vm images which stored on compute node instances_path.
>> Is this correct?
>>
>> Cheers
>> Nati
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Delete server spec

2011-12-07 Thread Jesse Andrews
I would interpret that to include the snapshots - but I'm not sure
that is what I'd expect as a user.

On Wed, Dec 7, 2011 at 5:05 PM, Nachi Ueno
 wrote:
> Hi folks
>
> I wanna make Delete server spec clear.
>
> The API doc says,
> "When a server is deleted, all images created from that server are also 
> removed"
>
> http://docs.openstack.org/api/openstack-compute/1.1/content/Delete_Server-d1e2883.html
>
> IMO, "all images" is vm images which stored on compute node instances_path.
> Is this correct?
>
> Cheers
> Nati
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Delete server spec

2011-12-07 Thread Nachi Ueno
Hi folks

I wanna make Delete server spec clear.

The API doc says,
"When a server is deleted, all images created from that server are also removed"

http://docs.openstack.org/api/openstack-compute/1.1/content/Delete_Server-d1e2883.html

IMO, "all images" is vm images which stored on compute node instances_path.
Is this correct?

Cheers
Nati

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp