yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #41290
[Bug 1503522] Re: multiple create server response only has a single server's info
This is potentially an API enhancement, which would need a nova-spec.
However, multiple create is an API that's somewhat out of favor at this
point.
I'd personally be opposed to extending multiple create like this. If the
application needs / wants more granular info just issue the creates
yourself don't push through the multiple create interface which is going
to have less info.
** Changed in: nova
Status: New => Opinion
** Changed in: nova
Importance: Undecided => Wishlist
--
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/1503522
Title:
multiple create server response only has a single server's info
Status in OpenStack Compute (nova):
Opinion
Bug description:
when creating multiple server with min_count/max_count, the response
only has one server's info, as follow:
{
"server": {
"id": "11f8d434-cee0-45e2-8f24-d9b13403af16",
"links": [
{
"href": "http://localhost:8774/v2/ff2f74b28d274a3489a5cbb196cdd36c/servers/11f8d434-cee0-45e2-8f24-d9b13403af16",
"rel": "self"
},
{
"href": "http://localhost:8774/ff2f74b28d274a3489a5cbb196cdd36c/servers/11f8d434-cee0-45e2-8f24-d9b13403af16",
"rel": "bookmark"
}
],
"adminPass": "jFYiGXPSU483"
}
}
}
This may be a headache if someone wants to do something for every
newly created server, and I think it is also a good design to get what
you request, the better response may be like:
{
"servers": []
}
or
[
{"server": {}}
{"server": {}}
]
any ideas?
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1503522/+subscriptions
References