← Back to team overview

group.of.nepali.translators team mailing list archive

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

 

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 नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
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