← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1751564] Re: unable to attach multiattach volume to server

 

Reviewed:  https://review.openstack.org/547856
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=1e2dfc4bb47e9873cbb5286ef351269ca557578a
Submitter: Zuul
Branch:    master

commit 1e2dfc4bb47e9873cbb5286ef351269ca557578a
Author: Matt Riedemann <mriedem.os@xxxxxxxxx>
Date:   Sun Feb 25 14:38:43 2018 -0500

    Use microversion 2.60 when attaching a multiattach volume
    
    Multiattach capable volumes can only be attached with microversion
    2.60 or later, so this checks if the volume being attached is
    multiattach capable and if microversion 2.60 is available, use it.
    
    Part of blueprint multi-attach-volume
    
    Closes-Bug: #1751564
    
    Change-Id: If708e3edb05cff6e93cfc3dfccb91b1441dcd181


** 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/1751564

Title:
  unable to attach multiattach volume to server

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The compute API 2.60 microversion allows attaching multiattach-capable
  volumes to server instances.

  However, when attempting to do so in Horizon it fails because Horizon
  doesn't specify microversion 2.60 during the attach call to nova (see
  screenshot).

  And you can see the error in the nova-api logs:

  [None req-9e43e495-a9ee-4460-85bb-1545ce1efbeb demo demo] Returning
  400 to user: Multiattach volumes are only supported starting with
  compute API version 2.60.

  Note that if Horizon is using python-novaclient for the attach volume
  call, it must have novaclient >= 10.1.0:

  https://github.com/openstack/python-
  novaclient/commit/4e94fe53618638c37285d61c322b663192678bfb

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


References