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

Deepika Agrawal commented on DTACLOUD-282:
------------------------------------------

I have tried:


deltacloudc -l -U USER -P PASSWORD -u http//172.30.54.46:4000/api
/usr/local/lib/ruby/1.9.1/net/http.rb:762:in `initialize': getaddrinfo: Name or 
service not known (SocketError)
        from /usr/local/lib/ruby/1.9.1/net/http.rb:762:in `open'
        from /usr/local/lib/ruby/1.9.1/net/http.rb:762:in `block in connect'
        from /usr/local/lib/ruby/1.9.1/timeout.rb:68:in `timeout'
        from /usr/local/lib/ruby/1.9.1/timeout.rb:99:in `timeout'
        from /usr/local/lib/ruby/1.9.1/net/http.rb:762:in `connect'
        from /usr/local/lib/ruby/1.9.1/net/http.rb:755:in `do_start'
        from /usr/local/lib/ruby/1.9.1/net/http.rb:744:in `start'
        from 
/usr/local/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:172:in
 `transmit'
        from 
/usr/local/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in
 `execute'
        from 
/usr/local/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in
 `execute'
        from 
/usr/local/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/resource.rb:51:in
 `get'
        from 
/usr/local/lib/ruby/gems/1.9.1/gems/deltacloud-client-1.0.0/lib/deltacloud.rb:400:in
 `request'
        from 
/usr/local/lib/ruby/gems/1.9.1/gems/deltacloud-client-1.0.0/lib/deltacloud.rb:267:in
 `discover_entry_points'
        from 
/usr/local/lib/ruby/gems/1.9.1/gems/deltacloud-client-1.0.0/lib/deltacloud.rb:78:in
 `initialize'
        from 
/usr/local/lib/ruby/gems/1.9.1/gems/deltacloud-client-1.0.0/lib/deltacloud.rb:41:in
 `new'
        from 
/usr/local/lib/ruby/gems/1.9.1/gems/deltacloud-client-1.0.0/lib/deltacloud.rb:41:in
 `new'
        from 
/usr/local/lib/ruby/gems/1.9.1/gems/deltacloud-client-1.0.0/bin/deltacloudc:109:in
 `<top (required)>'
        from /usr/local/bin/deltacloudc:19:in `load'
        from /usr/local/bin/deltacloudc:19:in `<main>'


Note: The password contains special characters '/' , I have passed it as it is 
with -P option. Is it correct?

                
> unable to use deltacloud client
> -------------------------------
>
>                 Key: DTACLOUD-282
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-282
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Client (Ruby), Server
>         Environment: ubuntu, deltacloud
>            Reporter: Deepika Agrawal
>            Assignee: Marios Andreou
>            Priority: Critical
>              Labels: deltacloudc
>         Attachments: 
> 0001-Deltacloud-client-restore-ability-to-use-http-USER-P.patch
>
>
> HI,
> I am trying to list all the keys using deltacloud command line tool:
> deltacloudc keys index http://user:[email protected]:4000/api
> /var/lib/gems/1.9.1/gems/aws-2.5.6/lib/ec2/ec2.rb:133:in `initialize': 500 
> (DeltaCloud::HTTPError::DeltacloudError)
> DeltaCloud::HTTPError::ServerError: AWS access keys are required to operate 
> on EC2
> Parameters: {}
> Driver: ec2@default
>       from 
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:787:in
>  `new'
>       from 
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:787:in
>  `new_client'
>       from 
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:329:in
>  `keys'
>       from 
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:58:in
>  `block in filter_all'
>       from /usr/lib/ruby/1.9.1/benchmark.rb:295:in `measure'
>       from 
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:57:in
>  `filter_all'
>       from 
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/helpers/rabbit_helper.rb:22:in
>  `block (2 levels) in standard_index_operation'
>       from 
> /var/lib/gems/1.9.1/gems/sinatra-rabbit-1.0.6/lib/sinatra/rabbit/base.rb:387:in
>  `instance_eval'
>       from 
> /var/lib/gems/1.9.1/gems/sinatra-rabbit-1.0.6/lib/sinatra/rabbit/base.rb:387:in
>  `block in control'

--
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

        

Reply via email to