terminated instances count against quota

Bug #862475 reported by Aaron Bentley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Incomplete
Undecided
Unassigned

Bug Description

I have a quota of 10 smalll instances, but:

$ euca-describe-instances
RESERVATION r-bzskhau8 abentley_project default
INSTANCE i-00000469 ami-00000086 10.55.60.30 10.55.60.30 running abentley 0 m1.small 2011-09-23T15:42:33Z nova aki-00000052 ari-00000053
RESERVATION r-pp0y6bc8 abentley_project default
INSTANCE i-00000479 ami-00000086 terminated abentley 7 m1.small 2011-09-23T17:30:55Z nova aki-00000052 ari-00000053
abentley@speedy:~/hacking/test-farm$ ./init-worker -n 9 --master 10.55.60.30
InstanceLimitExceeded: InstanceLimitExceeded: Instance quota exceeded. You can only run 8 more instances of this type.
Traceback (most recent call last):
  File "./init-worker", line 58, in <module>
    run_instances(default_image, options.instance_count, options.master)
  File "./init-worker", line 45, in run_instances
    check_call(call_params)
  File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['euca-run-instances', '--key', 'abentley', '--instance-count', '9', 'ami-00000086', '--user-data-file', '/tmp/tmpOnphAf.sh']' returned non-zero exit status 1

^^ This is just an automated way of saying
euca-run-instances --key abentley --instance-count 9 ami-00000086 --user-data-file /tmp/tmpOnphAf.sh

Revision history for this message
Gavin B (gavin-brebner-orange) wrote :

Generally terminated instances are cleared away - and hence don't take up quota - so the question I'd have is why this one is hanging around. Is there a known reason for your terminated instance still being there ?

Changed in nova:
status: New → Incomplete
Revision history for this message
Thierry Carrez (ttx) wrote :

We cannot solve the issue you reported without more information. Could you please provide the requested information ?

Revision history for this message
Aaron Bentley (abentley) wrote :

@thierry, no, there is no known reason for my terminated instance still being there.

Revision history for this message
Thierry Carrez (ttx) wrote :

I suspect its a side-effect of bug 869310, marking as duplicate.

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.