-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to provision multiple instances of the same image/package #50
Comments
is this not sufficient? |
I've had two customers ask for a change in the API specifically so that they did not have to do a loop because a looping in our stack is problematic. The problem is that we throttle based on the number of API requests per second. If a customer is pulling other API requests rapidly (say for cloud metrics) and then they need to auto-scale up 10 new instances they will have to do some serious guesswork about how many sleeps (and for how long) they will need to add per createmachine request. Rather, they want to be able to just specify an integer and create N number of machines. The purpose of this feature request was to help the customer by removing that layer of complexity from them. Moreover, when folks are trying to port from AWS or OpenStack and we don't support an equivalent API, we have added a lot of work. As for where to implement, I would say at first we should implement in the HTTP API (it is your call about the v1 vs v2 APIs) and then integrate as time permits in the CLI. |
This really is an API request, rather than a cli client issue, but the need is there. I have trouble understanding how any user can make enough requests to get throttled, but that's orthogonal to the issue that there's a gap in our API that people coming from AWS expect: the ability to create more than one instance in a single request. |
I had to look. You mean the |
@trentm Exactly. |
Similarly in OpenStack it is
http://docs.openstack.org/cli-reference/content/novaclient_commands.html#novaclient_subcommand_boot I was surprised to find that the unified OpenStack client still is a peripheral, it similarly has |
Really this isn't something we propose to do client side-only, so there isn't great reason to have this ticket linger open. If/when we do CloudAPI changes, we can open issues on node-triton. |
This corresponds to the request for cloudapi PUBAPI-1117. I don't know where the change is best implemented - cloudapi, cloudapi v2, or at the CLI level. We'll have to think about how it works with the
-w
flag if we allow user to specify some-n
option to provision multiple.The text was updated successfully, but these errors were encountered: