Documentation for --url flag is ambiguous
Bug #546624 reported by
Garrett Holmstrom
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
euca2ools |
Triaged
|
Wishlist
|
Mitch Garnaat | ||
euca2ools (Fedora) |
Won't Fix
|
Medium
|
Bug Description
The meaning of the "--url" flag in euca-*'s and the man pages' documentation is ambiguous as to whether or not it refers to a computation (e.g., EC2) or storage (e.g., S3) server. Since this varies by tool, it would be less ambiguous to specify which service each tool intends to connect to instead of simply saying, "-U, --url URL of the Cloud to connect to."
Changed in euca2ools: | |
assignee: | nobody → Mitch Garnaat (mitch-garnaat) |
Changed in euca2ools: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in euca2ools (Fedora): | |
importance: | Unknown → Medium |
status: | Unknown → Won't Fix |
To post a comment you must log in.
Description of problem: wiki.debian. org/euca2ools
It seems most of the euca tools use the URL as ec2.amazonaws.com. However, if that is used with euca-upload-bundle, an impossibly cryptic and verbose error is given. Proper usage is s3.amazonaws.com. Some online docs don't even mention this, so perhaps it was not always this way: http://
Version-Release number of selected component (if applicable):
euca2ools.noarch 0:1.2-1.fc12
How reproducible:
Always
Steps to Reproduce:
1. Provide -U ec2.amazonaws.com to euca-upload-bundle instead of -U s3.amazonaws.com
Actual results: euca-upload- bundle" , line 226, in <module> euca-upload- bundle" , line 209, in main euca-upload- bundle" , line 87, in ensure_bucket get_bucket( bucket) python2. 6/site- packages/ boto/s3/ connection. py", line 275, in get_bucket get_all_ keys(headers, maxkeys=0) python2. 6/site- packages/ boto/s3/ bucket. py", line 211, in get_all_keys sax.parseString (body, h) python2. 6/xml/sax/ __init_ _.py", line 49, in parseString parse(inpsrc) python2. 6/xml/sax/ expatreader. py", line 107, in parse IncrementalPars er.parse( self, source) python2. 6/xml/sax/ xmlreader. py", line 123, in parse feed(buffer) python2. 6/xml/sax/ expatreader. py", line 211, in feed _err_handler. fatalError( exc) python2. 6/xml/sax/ handler. py", line 38, in fatalError _exceptions. SAXParseExcepti on: http:// www.w3. org/TR/ html4/strict. dtd:81: 4: error in processing external entity reference
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
bucket_instance = ensure_bucket(conn, bucket, canned_acl)
File "/usr/bin/
bucket_instance = connection.
File "/usr/lib/
rs = bucket.
File "/usr/lib/
xml.
File "/usr/lib/
parser.
File "/usr/lib/
xmlreader.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise exception
xml.sax.
Expected results:
A bundle uploaded for use on EC2
Additional info: