← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1747985] [NEW] Create Multiple Servers fails when a volume is specified

 

Public bug reported:

With multiattach now enabled, it should be possible to use the Create
Multiple Servers compute api to create multiple instances with a common
multiattach disk attached to all of them (assuming you have met all the
prerequisites for multiattach to work).

Currently when you try to do a multi-create with a bdm specified (as a
non-boot volume), the operation fails with:

INFO nova.api.openstack.wsgi [None req-cc49eb29-6fa4-460f-9bda-
45f9c157016f None None] HTTP exception thrown: Cannot attach one or more
volumes to multiple instances

This is due to a check here:

https://github.com/openstack/nova/blob/master/nova/compute/api.py#L731

There may be other issues following this one, but this is the first
issue that you run into.

version info:

nova$ git show
commit f25b744082b439b2520f4b3f0549fb074bf522a2
Merge: 980f5c3 a84e7ae
Author: Zuul <zuul@xxxxxxxxxxxxxxxxxxxx>
Date:   Wed Feb 7 12:24:04 2018 +0000

    Merge "Address comments from
I51adbbdf13711e463b4d25c2ffd4a3123cd65675"

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1747985

Title:
  Create Multiple Servers fails when a volume is specified

Status in OpenStack Compute (nova):
  New

Bug description:
  With multiattach now enabled, it should be possible to use the Create
  Multiple Servers compute api to create multiple instances with a
  common multiattach disk attached to all of them (assuming you have met
  all the prerequisites for multiattach to work).

  Currently when you try to do a multi-create with a bdm specified (as a
  non-boot volume), the operation fails with:

  INFO nova.api.openstack.wsgi [None req-cc49eb29-6fa4-460f-9bda-
  45f9c157016f None None] HTTP exception thrown: Cannot attach one or
  more volumes to multiple instances

  This is due to a check here:

  https://github.com/openstack/nova/blob/master/nova/compute/api.py#L731

  There may be other issues following this one, but this is the first
  issue that you run into.

  version info:

  nova$ git show
  commit f25b744082b439b2520f4b3f0549fb074bf522a2
  Merge: 980f5c3 a84e7ae
  Author: Zuul <zuul@xxxxxxxxxxxxxxxxxxxx>
  Date:   Wed Feb 7 12:24:04 2018 +0000

      Merge "Address comments from
  I51adbbdf13711e463b4d25c2ffd4a3123cd65675"

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