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.

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

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

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
>, openstack-operators <openstack-operat...@lists.openstack.org> Subject: Re: [openstack-dev] [nova] about rebuild instance booted from volume On 03/15/2018 09:46 AM, Dan Smith wrote: >> Rather than overload delete_on_termination, could another flag li

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

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

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

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

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

2018-03-14 Thread Jay S Bryant
penstack.org>, openstack-operators <openstack-operat...@lists.openstack.org> 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 instance booted from > volum

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

2018-03-14 Thread Tim Bell
e questions)" <openstack-dev@lists.openstack.org> Date: Wednesday, 14 March 2018 at 14:55 To: "openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org>, openstack-operators <openstack-operat...@lists.openstack.org> Subject: Re: [openstack-dev] [nov

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