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

Bug #1710047 reported by huangtianhua
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
huangtianhua

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.

Changed in nova:
assignee: nobody → huangtianhua (huangtianhua)
Revision history for this message
huangtianhua (huangtianhua) wrote :

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.