Re: [openstack-dev] [nova] about rebuild instance booted from volume

2018-03-23 Thread Matt Riedemann
On 3/21/2018 6:34 AM, 李杰 wrote: So what should we do then about rebuild the volume backed server?Until the cinder could re-image a volume? I've added the spec to the 'stuck reviews' section of the nova meeting agenda so it can at least get some discussion there next week. https://wiki.openst

Re: [openstack-dev] [nova] about rebuild instance booted from volume

2018-03-23 Thread Matt Riedemann
On 3/22/2018 10:47 PM, 李杰 wrote:             This is the spec about  rebuild a instance booted from volume, anyone who is interested in       booted from volume can help to review this. Any suggestion is welcome.Thank you very much!       The link is here.       Re:the rebuild spec:https://

[openstack-dev] [nova] about rebuild instance booted from volume

2018-03-22 Thread 李杰
Hi,all This is the spec about rebuild a instance booted from volume, anyone who is interested in booted from volume can help to review this. Any suggestion is welcome.Thank you very much! The link is here. Re:the rebuild spec:https://review.openstack.org/#/c/53240

Re: [openstack-dev] [nova] about rebuild instance booted from volume

2018-03-21 Thread 李杰
So what should we do then about rebuild the volume backed server?Until the cinder could re-image a volume? -- Original -- From: "Matt Riedemann"; Date: 2018年3月16日(星期五) 上午6:35 To: "OpenStack Developmen"; Subject: Re: [openstack-dev]

Re: [openstack-dev] [nova] about rebuild instance booted from volume

2018-03-15 Thread Matt Riedemann
On 3/15/2018 5:29 PM, Dan Smith wrote: Yep, for sure. I think if there are snapshots, we have to refuse to do te thing. My comment was about the "does nova have authority to destroy the root volume during a rebuild" and I think it does, if delete_on_termination=True, and if there are no snapshots

Re: [openstack-dev] [nova] about rebuild instance booted from volume

2018-03-15 Thread Dan Smith
> Deleting all snapshots would seem dangerous though... > > 1. I want to reset my instance to how it was before > 2. I'll just do a snapshot in case I need any data in the future > 3. rebuild > 4. oops Yep, for sure. I think if there are snapshots, we have to refuse to do te thing. My comment was

Re: [openstack-dev] [nova] about rebuild instance booted from volume

2018-03-15 Thread Tim Bell
t (not for usage questions)" Date: Thursday, 15 March 2018 at 20:42 To: Dan Smith Cc: "OpenStack Development Mailing List (not for usage questions)" , openstack-operators Subject: Re: [openstack-dev] [nova] about rebuild instance booted from volume On 03/15/2018

Re: [openstack-dev] [nova] about rebuild instance booted from volume

2018-03-15 Thread Ben Nemec
On 03/15/2018 09:46 AM, Dan Smith wrote: Rather than overload delete_on_termination, could another flag like delete_on_rebuild be added? Isn't delete_on_termination already the field we want? To me, that field means "nova owns this". If that is true, then we should be able to re-image the vol

Re: [openstack-dev] [nova] about rebuild instance booted from volume

2018-03-15 Thread Dan Smith
> Rather than overload delete_on_termination, could another flag like > delete_on_rebuild be added? Isn't delete_on_termination already the field we want? To me, that field means "nova owns this". If that is true, then we should be able to re-image the volume (in-place is ideal, IMHO) and if not,

Re: [openstack-dev] [nova] about rebuild instance booted from volume

2018-03-15 Thread Ben Nemec
On 03/14/2018 08:46 AM, Matt Riedemann wrote: On 3/14/2018 3:42 AM, 李杰 wrote:              This is the spec about  rebuild a instance booted from volume.In the spec,there is a        question about if we should delete the old root_volume.Anyone who is interested in        booted from volume

Re: [openstack-dev] [nova] about rebuild instance booted from volume

2018-03-14 Thread Matthew Booth
On 14 March 2018 at 13:46, Matt Riedemann wrote: > On 3/14/2018 3:42 AM, 李杰 wrote: > >> >> This is the spec about rebuild a instance booted from >> volume.In the spec,there is a >>question about if we should delete the old root_volume.Anyone who >> is interested in >>

Re: [openstack-dev] [nova] about rebuild instance booted from volume

2018-03-14 Thread Blair Bethwaite
Please do not default to deleting it, otherwise someone will eventually be back here asking why an irate user has just lost data. The better scenario is that the rebuild will fail (early - before impact to the running instance) with a quota error. Cheers, On Thu., 15 Mar. 2018, 00:46 Matt Riedema

Re: [openstack-dev] [nova] about rebuild instance booted from volume

2018-03-14 Thread Jay S Bryant
al Message- From: Matt Riedemann Reply-To: "OpenStack Development Mailing List (not for usage questions)" Date: Wednesday, 14 March 2018 at 14:55 To: "openstack-dev@lists.openstack.org" , openstack-operators Subject: Re: [openstack-dev] [nova] about rebuild instance booted fr

Re: [openstack-dev] [nova] about rebuild instance booted from volume

2018-03-14 Thread Tim Bell
Date: Wednesday, 14 March 2018 at 14:55 To: "openstack-dev@lists.openstack.org" , openstack-operators Subject: Re: [openstack-dev] [nova] about rebuild instance booted from volume On 3/14/2018 3:42 AM, 李杰 wrote: > > This is the spec about rebuild a instan

Re: [openstack-dev] [nova] about rebuild instance booted from volume

2018-03-14 Thread Matt Riedemann
On 3/14/2018 3:42 AM, 李杰 wrote:             This is the spec about  rebuild a instance booted from volume.In the spec,there is a       question about if we should delete the old root_volume.Anyone who is interested in       booted from volume can help to review this. Any suggestion is welc

[openstack-dev] [nova] about rebuild instance booted from volume

2018-03-14 Thread 李杰
Hi,all This is the spec about rebuild a instance booted from volume.In the spec,there is a question about if we should delete the old root_volume.Anyone who is interested in booted from volume can help to review this. Any suggestion is welcome.Thank you! The lin

[openstack-dev] [nova] about rebuild instance booted from volume

2018-03-14 Thread 李杰
Hi,all This is the spec about backup a instance booted from volume, anyone who is interested in booted from volume can help to review this. Any suggestion is welcome. The link is here. Re:the backup spec:https://review.openstack.org/#/c/530214/ Best R

[openstack-dev] [nova] about rebuild instance booted from volume

2018-01-18 Thread 李杰
Hi,all This is the spec about rebuild a instance booted from volume, anyone who is interested in booted from volume can help to review this. Any suggestion is welcome. The link is here. Re:the rebuild spec:https://review.openstack.org/#/c/532407/ Best