← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1931440] [NEW] Unable to use multiattach volume as boot for new server

 

Public bug reported:


I'm trying to create a new server using the dashboard and use an existing volume for boot. That volume was created previously (from image) and has a type with multiattach property enabled. The operation fails with the dashboard showing an error message baloon with:

Multiattach volumes are only supported starting with compute API version
2.60 (HTTP 400 req: xxx)

If I execute the action in the command line, what I get is:

$ openstack server create --volume test --flavor g1t1.small --netwo
rk ubuntu-net --wait testserver
Multiattach volumes are only supported starting with compute API version 2.60. (HTTP 400) (Request-ID: req-abe1edc4-527e-469a-8936-fda61e9e8395)

But if repeat the operation with the API version, it works:

$ openstack --os-compute-api-version 2.60 server create --volume test --flavor g1t1.small --netwo
rk ubuntu-net --wait testserver
<successfull output removed>

So it works, the problem is that the dashboard is not sending the API
version parameter when trying to create the server. Inspecting the query
arguments in browser I cannot see the "X-OpenStack-Nova-API-Version
2.60" parameter that I would expect to be there.

This is very similar to another bug report -- Bug #1751564 -- but that
one says "Fix Released" at dashboard version 14.0+ so this must not be
exactly the same issue or this is a regression.

I'm using Openstack Ussuri on Ubuntu Focal. Dashboard package version is
openstack-dashboard              3:18.3.3-0ubuntu1.

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  Unable to use multiattach volume as boot for new server

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  
  I'm trying to create a new server using the dashboard and use an existing volume for boot. That volume was created previously (from image) and has a type with multiattach property enabled. The operation fails with the dashboard showing an error message baloon with:

  Multiattach volumes are only supported starting with compute API
  version 2.60 (HTTP 400 req: xxx)

  If I execute the action in the command line, what I get is:

  $ openstack server create --volume test --flavor g1t1.small --netwo
  rk ubuntu-net --wait testserver
  Multiattach volumes are only supported starting with compute API version 2.60. (HTTP 400) (Request-ID: req-abe1edc4-527e-469a-8936-fda61e9e8395)

  But if repeat the operation with the API version, it works:

  $ openstack --os-compute-api-version 2.60 server create --volume test --flavor g1t1.small --netwo
  rk ubuntu-net --wait testserver
  <successfull output removed>

  So it works, the problem is that the dashboard is not sending the API
  version parameter when trying to create the server. Inspecting the
  query arguments in browser I cannot see the "X-OpenStack-Nova-API-
  Version 2.60" parameter that I would expect to be there.

  This is very similar to another bug report -- Bug #1751564 -- but that
  one says "Fix Released" at dashboard version 14.0+ so this must not be
  exactly the same issue or this is a regression.

  I'm using Openstack Ussuri on Ubuntu Focal. Dashboard package version
  is openstack-dashboard              3:18.3.3-0ubuntu1.

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


Follow ups