Maybe I know the reason, in the above case we can set
"return_reservation_id" (true) to ask nova to return the reservation_id,
then using nova list by the reservation_id to get the infos of all
instances created in batches.

** Changed in: nova
       Status: New => 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/1710047

Title:
  we only return the first instance info when create server in batches

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  nova boot --image 1bc10d6d-1660-47c9-b73b-10e788b5b19a --flavor 1
  --nic net-name=private --min 2

  RESP BODY: {"server": {"security_groups": [{"name": "default"}], "OS-
  DCF:diskConfig": "MANUAL", "id": "4ead8f97-548d-420e-
  94a1-5d59ea87fbca", "links": [{"href":
  "http://10.3.150.21:8774/v2.1/servers/4ead8f97-548d-420e-
  94a1-5d59ea87fbca", "rel": "self"}, {"href":
  "http://10.3.150.21:8774/servers/4ead8f97-548d-420e-
  94a1-5d59ea87fbca", "rel": "bookmark"}], "adminPass": "eNCj4mjqARux"}}

  Why we only return the first instance info when creating server in
  batches?  I think we have to return the instances info to user, at
  least return the instance ids to user, then user can get the details
  by the ids.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to