Bug 658560 - fail with a trailing slash
Summary: fail with a trailing slash
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: euca2ools
Version: 14
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Garrett Holmstrom
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-30 17:40 UTC by Pete Zaitcev
Modified: 2010-12-10 20:30 UTC (History)
1 user (show)

Fixed In Version: euca2ools-1.3.1-3.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-08 20:31:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Suggested fix #1 (1.17 KB, application/octet-stream)
2010-12-01 01:32 UTC, Pete Zaitcev
no flags Details

Description Pete Zaitcev 2010-11-30 17:40:29 UTC
Description of problem:

The following fails:
euca-describe-images -U http://ec2.us-east-1.amazonaws.com/ -A AAAAA -S SSSSS+ -o self
But this works:
euca-describe-images -U http://ec2.us-east-1.amazonaws.com -A AAAAA -S SSSSS+ -o self

Version-Release number of selected component (if applicable):

euca2ools-1.3.1-2.fc14

How reproducible:

Synchronous

Steps to Reproduce:
1. Substitute valid credentials in the reported command, run it.
  
Actual results:

[Errno -2] Name or service not known

Expected results:

IMAGE   ami-074fb86e  .........

Additional info:

Comment 1 Pete Zaitcev 2010-12-01 01:31:07 UTC
Oh god, this is much worse than I expected. These people screwed parsing
of URLs completely: any path with no port causes the same symptom.

Garrett, I'm going to attach a patch, could you please review and post to
Eucalyptus?

Comment 2 Pete Zaitcev 2010-12-01 01:32:33 UTC
Created attachment 463870 [details]
Suggested fix #1

Comment 3 Pete Zaitcev 2010-12-01 05:06:47 UTC
See also
 https://bugs.launchpad.net/euca2ools/+bug/405628

Comment 4 Garrett Holmstrom 2010-12-08 05:45:49 UTC
This is fixed in upstream commit 321.  A patched rpm should be forthcoming.  Thanks for the simple test case!

Comment 5 Fedora Update System 2010-12-08 06:26:21 UTC
euca2ools-1.3.1-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/euca2ools-1.3.1-3.fc14

Comment 6 Fedora Update System 2010-12-08 06:27:01 UTC
euca2ools-1.3.1-3.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/euca2ools-1.3.1-3.fc13

Comment 7 Garrett Holmstrom 2010-12-08 20:16:25 UTC
When the new package hits updates-testing could you please try installing it and ensuring that it fixes your problem?

Comment 8 Pete Zaitcev 2010-12-08 20:31:15 UTC
Fixed in euca2ools-1.3.1-3.fc14, closing.

Comment 9 Garrett Holmstrom 2010-12-08 20:42:22 UTC
(In reply to comment #8)
> Fixed in euca2ools-1.3.1-3.fc14, closing.

Could you +1 the update if that's the case?

https://admin.fedoraproject.org/updates/euca2ools-1.3.1-3.fc14

Comment 10 Fedora Update System 2010-12-10 20:28:05 UTC
euca2ools-1.3.1-3.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2010-12-10 20:30:56 UTC
euca2ools-1.3.1-3.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.