[
https://issues.apache.org/jira/browse/DTACLOUD-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247649#comment-13247649
]
David Lutterkort commented on DTACLOUD-141:
-------------------------------------------
To add to this: certain characters in the username/password need to be escaped
in URI's. In particular, the character '@' should be replaced with '%40', and
the character ':' should be replaced with '%3A'; so if your usernam is 'foo:yo'
and your password is 'b@r', you should use a URL like
'http://foo%3Ayo:b%[email protected]/api'
> Invalid URI error.
> ------------------
>
> Key: DTACLOUD-141
> URL: https://issues.apache.org/jira/browse/DTACLOUD-141
> Project: DeltaCloud
> Issue Type: Bug
> Environment: Fedora 15
> Reporter: Rajaguganeswaran K
> Assignee: David Lutterkort
>
> Hai,
> Can we use deltacloudc command to list all the images of ec2 as given for the
> mock?
> deltacloudc images index -u http://mockuser:mockpassword@localhost:3001/api
> I tried the above with ec2 access id and secret key. It results in
> InvalidURIError as given below.
> /usr/lib/ruby/1.8/uri/generic.rb:195:in `initialize': the scheme http does
> not accept registry part: accessid:secret key of ec2 (or bad hostname?)
> (URI::InvalidURIError)
> from /usr/lib/ruby/1.8/uri/http.rb:78:in `initialize'
> from /usr/lib/ruby/1.8/uri/common.rb:488:in `new'
> from /usr/lib/ruby/1.8/uri/common.rb:488:in `parse'
> from
> /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.5.0/bin/deltacloudc:100
> from /usr/bin/deltacloudc:19:in `load'
> from /usr/bin/deltacloudc:19
> what could be the reason?
> Gugan
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira