← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Reviewed:  https://review.opendev.org/c/openstack/horizon/+/798730
Committed: https://opendev.org/openstack/horizon/commit/64fe0abb653950c85d455dedd09ef42856c6b07b
Submitter: "Zuul (22348)"
Branch:    master

commit 64fe0abb653950c85d455dedd09ef42856c6b07b
Author: manchandavishal <manchandavishal143@xxxxxxxxx>
Date:   Tue Jun 29 23:38:41 2021 +0530

    Fix Unable to use multiattach volume as boot for new server
    
    If we try to create a new server from a bootable volume that
    supports multiattach, it will fail to create with an error
    message that ``multiattach volumes are only supported starting
    with compute API version 2.60``. This patch fixes the issue.
    
    Closes-Bug: #1931440
    Change-Id: Ic8330b947b1a733f70c3bdad8b3493f20a2f26fb


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
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):
  Fix Released

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



References