[Bug 1637620] Re: cannot delete lxd instances in horizon

James Page james.page at ubuntu.com
Mon Oct 31 15:34:11 UTC 2016


Cherry picked fix patched into package and uploaded for SRU team review.

** Also affects: nova-lxd (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: nova-lxd (Ubuntu)
       Status: New => Fix Released

** Changed in: nova-lxd (Ubuntu Xenial)
       Status: New => Triaged

** Changed in: nova-lxd (Ubuntu Xenial)
   Importance: Undecided => Critical

** Changed in: nova-lxd (Ubuntu Xenial)
     Assignee: (unassigned) => James Page (james-page)

** Description changed:

- After deploying Openstack and spinning up lxd instances we are unable to
- delete those instances
+ [Impact]
+ With later LXD 2.0.x point releases, its not possible to delete instances running on a nova-lxd openstack cloud.
+ 
+ [Test Case]
+ Deploy OpenStack Nova LXD cloud
+ nova boot instance
+ nova delete instance - fails
+ 
+ [Regression Potential]
+ Minimal; later versions of nova-lxd take a different approach to profile management, but the fix simply ensures that the profile is deleted after the container, rather than the other way around.
+ 
+ [Original Bug Report]
+ After deploying Openstack and spinning up lxd instances we are unable to delete those instances
  
  The following error appears in Horizon and in the nova-compute logs
  
  Exception during message handling: Failed to communicate with LXD API
  instance-0000005f: Error 400 - Profile is currently in use
  
  Its possible to delete the lxc container, then delete the profile. Then
  delete from Horizon.

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova-lxd in Ubuntu.
https://bugs.launchpad.net/bugs/1637620

Title:
  cannot delete lxd instances in horizon

Status in OPNFV:
  New
Status in nova-lxd package in Ubuntu:
  Fix Released
Status in nova-lxd source package in Xenial:
  Triaged

Bug description:
  [Impact]
  With later LXD 2.0.x point releases, its not possible to delete instances running on a nova-lxd openstack cloud.

  [Test Case]
  Deploy OpenStack Nova LXD cloud
  nova boot instance
  nova delete instance - fails

  [Regression Potential]
  Minimal; later versions of nova-lxd take a different approach to profile management, but the fix simply ensures that the profile is deleted after the container, rather than the other way around.

  [Original Bug Report]
  After deploying Openstack and spinning up lxd instances we are unable to delete those instances

  The following error appears in Horizon and in the nova-compute logs

  Exception during message handling: Failed to communicate with LXD API
  instance-0000005f: Error 400 - Profile is currently in use

  Its possible to delete the lxc container, then delete the profile.
  Then delete from Horizon.

To manage notifications about this bug go to:
https://bugs.launchpad.net/opnfv/+bug/1637620/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list