You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "David Lutterkort (Commented) (JIRA)" <ji...@apache.org> on 2012/02/29 18:51:57 UTC

[jira] [Commented] (DTACLOUD-141) Invalid URI error.

    [ https://issues.apache.org/jira/browse/DTACLOUD-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219358#comment-13219358 ] 

David Lutterkort commented on DTACLOUD-141:
-------------------------------------------

Hi Gugan,

I can't reproduce the issue here. The command line seems correct, the only thing a little hinky is that you have the options after the argument (i.e. 'images index' should go last)

But in my testing that doesn't cause a problem. Can you provide some more information ? Are you sure the URL passed in is really the one you mention in the ticket ? The error you get indicates that the URL is invalid, and can not be parsed.
                
> 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