You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Ronelle Landy (Closed) (JIRA)" <ji...@apache.org> on 2012/04/16 15:52:19 UTC

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

     [ https://issues.apache.org/jira/browse/DTACLOUD-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ronelle Landy closed DTACLOUD-141.
----------------------------------


Closing this issues as fixed in deltacloud git commit version: 6499cf7feba60ccdd26a750627b4df7d798036e6	branch 'master' of https://git-wip-us.apache.org/repos/asf/deltacloud

Starting server:
>> API_PROVIDER="https://qeblade26.rhq.lab.eng.bos.redhat.com:8443/api;4051216f-a778-488f-8ae4-5a2541b009ff" ./bin/deltacloudd -i rhevm -r localhost -p 3004

Querying client:
>>./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>
dec26433-9 | 03cee940-a7b0-4819-a | x86_64 | Template by iwhd     |  <username>

Querying client:
>> ./bin/deltacloudc images index -U <username> -P <password with special character> -u http://localhost:3005/api 
factory-im | factory-image-01f5c7 | x86_64 | Other Linux (64-bit) |   <username>
factory-im | factory-image-4d7d2e | 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