deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronelle Landy (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DTACLOUD-141) Invalid URI error.
Date Thu, 12 Apr 2012 16:45:19 GMT

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

Ronelle Landy commented on DTACLOUD-141:
----------------------------------------

Tested with deltacloud git commit version: 84d3c990959acd90be76f93d1d149d2124f4c94f 	branch
'master' of https://git-wip-us.apache.org/repos/asf/deltacloud plus patch posted by mfojtik

Using mock driver:

./bin/deltacloudc images index -u http://mockuser:mockpassword@localhost:3001/api 
img1       | img1                 | x86_64 | Fedora 10            |   fedoraproject
img2       | img2                 | i386   | Fedora 10            |   fedoraproject
img3       | img3                 | i386   | JBoss                |        mockuser

Using rhevm and vsphere which have special characters in their username:password combos:

>> ./bin/deltacloudc images index -U <username with @ > -P <password> -u
http://localhost:3004/api
53f70a9e-2 | 0177a2f0-ef7e-4c1c-a | x86_64 | Template by iwhd     |  <username>
...
6867beb2-f | 69eda91e-f390-486e-8 | x86_64 | Template by iwhd     |  <username>

>> ./bin/deltacloudc images index -U <username> -P <password with special character>
-u http://localhost:3006/api
factory-im | factory-image-01f5c7 | x86_64 | Other Linux (64-bit) |   <username>
...
tI2        | tI2                  | x86_64 | Other Linux (64-bit) |   <username>



                
> 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

        

Mime
View raw message