euca-run-instances does not correctly validate parameters
Bug #546420 reported by
C de-Avillez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
euca2ools |
Fix Released
|
Undecided
|
Unassigned | ||
euca2ools (Ubuntu) |
Fix Released
|
Wishlist
|
Dustin Kirkland |
Bug Description
cempedak:~$ euca-run-instances -k mykey emi-DFE41074 -t c1.medium -n 8--group more8
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
max_count = int(counts[1])
ValueError: invalid literal for int() with base 10: ''
cempedak:~$
This is a clear user error: '-n 8--group more8'. Code is expecting an integer, and got '8--group'. Nevertheless, we should not fail with an exception.
Probably WishList, at most Low.
affects: | eucalyptus (Ubuntu) → euca2ools (Ubuntu) |
Changed in euca2ools (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
Changed in euca2ools (Ubuntu): | |
assignee: | nobody → Dustin Kirkland (kirkland) |
status: | Confirmed → In Progress |
affects: | eucalyptus → euca2ools |
Changed in euca2ools: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This bug was fixed in the package euca2ools - 1.2-0ubuntu8
---------------
euca2ools (1.2-0ubuntu8) lucid; urgency=low
[ Scott Moser ] instances: output "running", not "running ", LP: #531453 bundle: fix usage, LP: #546567 device- mapping, LP: #546548 image-attribute : fix --kernel or --ramdisk when
* euca-run-instances:
- --keypair => --key in usage and man page, LP: #530816
- print error rather than trace on invalid instance-count, LP: #546420
- euca-describe-
* euca-revoke: only show usage once with --help
* euca-download-
* euca-bundle-image:
- fix failure on --block-
- print usage on --help if userid has '-', LP: #546526
- fix failure when image name string is in dest string, LP: #522060
* euca-describe-
image did not have emi or eri, LP: #546551
[ Dustin Kirkland ] availability- zones verbose images against specific image
* Cherry-pick up to upstream r266, fixes:
- LP: #536876 - document euca-describe-
- LP: #526591 - enhance parsing of config file
- LP: #531076 - fix euca-describe-
-- Dustin Kirkland <email address hidden> Thu, 25 Mar 2010 15:36:43 -0700