← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1257142] Re: booting multiple instances in one API call doesn't work with booting from volume

 

IMHO this is the intended behaviour. Booting more than one instance with
a snapshot would actually work fine. If you choose a specific volume
from cinder, then of course it cannot be attached to more than a single
instance, the error you are seeing is a guard specifically against that
case (though the error message could use a bit of re-wording).

Closing as invalid.

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

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

Title:
  booting multiple instances in one API call doesn't work with booting
  from volume

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Some users of Cinder tried to launch multiple instances using 'nova
  boot' with '--num-instances' flag together with a bunch of volumes
  (boot-from-volume).  But that doesn't work.

  For example:
  nova boot --flavor 28 --image b40a54f2-5691-497c-8c54-2110d1bc203a --num-instances 3 --block-device-mapping vda=71ba253a-0011-4e08-860a-6c908fefb06c,vda=db326b69-c106-4c9b-bacc-cb3806793023,vda=6b7682fe-00cf-43b2-a1b5-056c4ec16aae test-servers
  ERROR: Cannot attach one or more volumes to multiple instances (HTTP 400) (Request-ID: req-dd71fd30-11e4-4374-bf63-ab0dedce53e0)

  It'd be nice if we can figure a way to support booting multiple
  instances from volume using single API call instead of iterating
  several times creating one instance at a time.

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