euca-run-instances should fail if you try to run more instances than you can (in a single security group)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eucalyptus |
Triaged
|
Low
|
Daniel Nurmi | ||
eucalyptus (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Using the tamarind-based test rig, and ISO images from cdimage (20100323.2).
I tried to run the maximum number of instances on the setup (using lucid-amd64-topol, 66 sessions) from a idling cloud. All failed.
Looking at the configuration, I found VNET_ADDRSPERNE
Waited for the cache to clear, and tried starting 29 instances -- success. Tried adding more, got a message stating "FinishedVerify: Not enough addresses left in the network subnet assigned to requested group: default". Interesting that I saw no such message when I tried to start from idle either 66 or 31 sessions.
Anyway. Closed them via via 'euca-terminate
Started 30 sessions from idle: 29 started, one was left in Pending for a while (then Terminated), no message like above displayed. When I tried to start one more session, I got the "not enough addresses..." message.
Seems related to bug 462140
summary: |
- Cannot start more than 28 instances + Cannot start more than 29 instances |
summary: |
- No instances started if euca-run-instance is run with bug -n + No instances started if euca-run-instance is run with a large -n |
Changed in eucalyptus: | |
assignee: | nobody → Daniel Nurmi (nurmi) |
summary: |
- No instances started if euca-run-instance tries to run a number - instances bigger than the limit (default 29) per security group + euca-run-instances should fail if you try to run more instances than you + can (in a single security group) |
Changed in eucalyptus: | |
status: | New → Triaged |
importance: | Undecided → Low |
Hi Carlos,
I think you are having the problem discussed at:
https:/ /answers. launchpad. net/ubuntu/ +source/ eucalyptus/ +question/ 87145