← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1750064] [NEW] multiattach volume failures are masked in compute api

 

Public bug reported:

While trying to create a server from a multiattach volume, I kept
getting this unhelpful error:

$ openstack server create --flavor 1 --wait --volume cirros-multiattach-volume new-server
Block Device Mapping is Invalid: failed to get volume fde36bc8-3104-43b7-902a-3b391d7f4e12. (HTTP 400) (Request-ID: req-4e2dc785-82b6-4e48-93e5-9b72bd62b3ba)

By adding some debug code to nova-api, I figured out it was this:

Feb 16 21:18:35 multiattach devstack@n-api.service[13811]: ERROR
nova.compute.api [None req-88476e2e-f6ed-4b95-bed2-f6cf567b044d demo
demo] Failed to get volume fde36bc8-3104-43b7-902a-3b391d7f4e12. Error:
Multiattach volumes are only supported starting with compute API version
2.60.: MultiattachNotSupportedOldMicroversion: Multiattach volumes are
only supported starting with compute API version 2.60.

This is the problematic exception block:

https://github.com/openstack/nova/blob/9910ac95eb9ac822ef5d38b8af2d3aff5dc4d25a/nova/compute/api.py#L1354

** Affects: nova
     Importance: Medium
         Status: Triaged


** Tags: api multiattach volumes

** Changed in: nova
       Status: New => Triaged

** Changed in: nova
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1750064

Title:
  multiattach volume failures are masked in compute api

Status in OpenStack Compute (nova):
  Triaged

Bug description:
  While trying to create a server from a multiattach volume, I kept
  getting this unhelpful error:

  $ openstack server create --flavor 1 --wait --volume cirros-multiattach-volume new-server
  Block Device Mapping is Invalid: failed to get volume fde36bc8-3104-43b7-902a-3b391d7f4e12. (HTTP 400) (Request-ID: req-4e2dc785-82b6-4e48-93e5-9b72bd62b3ba)

  By adding some debug code to nova-api, I figured out it was this:

  Feb 16 21:18:35 multiattach devstack@n-api.service[13811]: ERROR
  nova.compute.api [None req-88476e2e-f6ed-4b95-bed2-f6cf567b044d demo
  demo] Failed to get volume fde36bc8-3104-43b7-902a-3b391d7f4e12.
  Error: Multiattach volumes are only supported starting with compute
  API version 2.60.: MultiattachNotSupportedOldMicroversion: Multiattach
  volumes are only supported starting with compute API version 2.60.

  This is the problematic exception block:

  https://github.com/openstack/nova/blob/9910ac95eb9ac822ef5d38b8af2d3aff5dc4d25a/nova/compute/api.py#L1354

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


Follow ups