Public bug reported:

To support older versions of LXD we should check to see if there is an
operation ID in the LXD API request before uploading the image to the
LXD image store.

[Impact]
In order to support older versions of LXD due to an API change when using 
images, the operation ID is not sent. We need to check to see if we have a 
operation id before trying to split the operatin id url. Otherwise we would get 
an exception.

[Test Case]
* upload an image with LXD v0.18 and see there is an exception when trying to 
get an operation id.

[Regression Potential]
None

** Affects: nova-compute-lxd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1524350

Title:
  [SRU] Check for operation id in API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova-compute-lxd/+bug/1524350/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to