Activity log for bug #1728603

Date Who What changed Old value New value Message
2017-10-30 14:06:26 Jay Pipes bug added bug
2017-10-30 14:09:37 Matt Riedemann nominated for series nova/ocata
2017-10-30 14:09:37 Matt Riedemann bug task added nova/ocata
2017-10-30 14:09:37 Matt Riedemann nominated for series nova/pike
2017-10-30 14:09:37 Matt Riedemann bug task added nova/pike
2017-10-30 14:21:30 Matt Riedemann tags boot-from-volume resize boot-from-volume libvirt resize
2017-10-30 14:50:11 Joris S'heeren description Turns out that the fix for https://bugs.launchpad.net/nova/+bug/1666831 accidentally broke boot-from-volume setups that use NFS. In particular, this line: https://github.com/openstack/nova/blob/stable/ocata/nova/virt/libvirt/driver.py#L1149 if os.path.exists(inst_base) and not root_disk.exists(): try: shutil.rmtree(inst_base) except OSError as e: if e.errno != errno.ENOENT: raise Causes the instance basedir which includes the instances libvirt.XML file to be deleted. The above needs to be changed to this in order to prevent BFV instances from being destroyed on resize... if os.path.exists(inst_base) and not root_disk.exists() and not compute_utils.is_volume_backed_instance(instance._context, instance): This bug was reported and the fix confirmed by Joris S'heeran Turns out that the fix for https://bugs.launchpad.net/nova/+bug/1666831 accidentally broke boot-from-volume setups that use NFS. In particular, this line: https://github.com/openstack/nova/blob/stable/ocata/nova/virt/libvirt/driver.py#L1149         if os.path.exists(inst_base) and not root_disk.exists():             try:                 shutil.rmtree(inst_base)             except OSError as e:                 if e.errno != errno.ENOENT:                     raise Causes the instance basedir which includes the instances libvirt.XML file to be deleted. The above needs to be changed to this in order to prevent BFV instances from being destroyed on resize...  if os.path.exists(inst_base) and not root_disk.exists() and not compute_utils.is_volume_backed_instance(instance._context, instance): This bug was reported and the fix confirmed by Joris S'heeren
2017-10-30 16:56:00 OpenStack Infra nova: status Confirmed In Progress
2017-10-30 16:56:00 OpenStack Infra nova: assignee Matt Riedemann (mriedem)
2017-11-01 15:33:19 Matt Riedemann nova/pike: status New Confirmed
2017-11-01 15:33:21 Matt Riedemann nova/ocata: status New Confirmed
2017-11-01 15:33:36 Matt Riedemann nova/ocata: importance Undecided High
2017-11-01 15:33:39 Matt Riedemann nova/pike: importance Undecided High
2017-11-02 16:33:18 OpenStack Infra nova: status In Progress Fix Released
2017-11-02 18:05:45 OpenStack Infra nova/pike: status Confirmed In Progress
2017-11-02 18:05:45 OpenStack Infra nova/pike: assignee Matt Riedemann (mriedem)
2017-11-02 18:13:03 OpenStack Infra nova/ocata: status Confirmed In Progress
2017-11-02 18:13:03 OpenStack Infra nova/ocata: assignee Matt Riedemann (mriedem)
2017-11-08 07:16:53 OpenStack Infra nova/pike: status In Progress Fix Committed
2017-11-08 07:17:05 OpenStack Infra nova/ocata: status In Progress Fix Committed
2018-05-11 02:51:57 OpenStack Infra tags boot-from-volume libvirt resize boot-from-volume in-stable-queens libvirt resize
2018-05-11 22:01:11 OpenStack Infra tags boot-from-volume in-stable-queens libvirt resize boot-from-volume in-stable-pike in-stable-queens libvirt resize
2018-05-12 04:46:19 OpenStack Infra tags boot-from-volume in-stable-pike in-stable-queens libvirt resize boot-from-volume in-stable-ocata in-stable-pike in-stable-queens libvirt resize