[
https://issues.apache.org/jira/browse/DTACLOUD-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ronelle Landy closed DTACLOUD-180.
----------------------------------
Resolution: Not A Problem
user error here. rhevm requires
API_PROVIDER="https://<servername>/api;provider_name"
> Executing GET api/images for rhevm driver using log in:
> 'username@domain:password' errors out
> ----------------------------------------------------------------------------------------------
>
> Key: DTACLOUD-180
> URL: https://issues.apache.org/jira/browse/DTACLOUD-180
> Project: DeltaCloud
> Issue Type: Bug
> Components: Server
> Environment: Fedora 16
> deltacloud commit version: 7e372dfca79c02a799046287e5936129216b781b - clone:
> from https://git-wip-us.apache.org/repos/asf/deltacloud.git
> >> gem query |grep rbovirt
> rbovirt (0.0.9)
> Reporter: Ronelle Landy
> Assignee: David Lutterkort
> Priority: Blocker
>
> curl -X GET --user ''username@domain:password"
> "http://qe-blade-02.idm.lab.bos.redhat.com:3008/api/images?format=xml"
> <?xml version='1.0' encoding='utf-8' ?>
> <error status='500' url='/api/images?format=xml'>
> <kind>backend_error</kind>
> <backend driver='rhevm'
> provider='10.16.120.230:8443/api;ef590778-9a1e-42de-9c7e-9166ca678688'>
> <code>500</code>
> </backend>
> <message><![CDATA[wrong status line: "\025\003\001\000\002\002"]]></message>
> <backtrace>
> <![CDATA[/usr/lib/ruby/gems/1.8/gems/rbovirt-0.0.9/lib/rbovirt.rb:131:in
> `handle_fault'
>
> /usr/lib/ruby/gems/1.8/gems/rbovirt-0.0.9/lib/client/datacenter_api.rb:8:in
> `datacenter'
> /usr/lib/ruby/gems/1.8/gems/rbovirt-0.0.9/lib/rbovirt.rb:58:in
> `current_datacenter'
> /usr/lib/ruby/gems/1.8/gems/rbovirt-0.0.9/lib/client/template_api.rb:4:in
> `templates'
>
> /home/dcloud/workspace/deltacloud/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb:98:in
> `images'
>
> /home/dcloud/workspace/deltacloud/server/lib/deltacloud/base_driver/exceptions.rb:173:in
> `call'
>
> /home/dcloud/workspace/deltacloud/server/lib/deltacloud/base_driver/exceptions.rb:173:in
> `safely'
>
> /home/dcloud/workspace/deltacloud/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb:94:in
> `images'
>
> /home/dcloud/workspace/deltacloud/server/lib/deltacloud/helpers/application_helper.rb:55:in
> `send'
>
> /home/dcloud/workspace/deltacloud/server/lib/deltacloud/helpers/application_helper.rb:55:in
> `filter_all'
> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
>
> /home/dcloud/workspace/deltacloud/server/lib/deltacloud/helpers/application_helper.rb:54:in
> `filter_all'
> /home/dcloud/workspace/deltacloud/server/lib/deltacloud/server.rb:243
> /home/dcloud/workspace/deltacloud/server/lib/sinatra/rabbit.rb:125:in
> `instance_eval'
> /home/dcloud/workspace/deltacloud/server/lib/sinatra/rabbit.rb:125:in
> `GET /api/images'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:1211:in
> `call'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:1211:in
> `compile!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `[]'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in
> `route!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:801:in
> `route_eval'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in
> `route!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:822:in
> `process_route'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:820:in
> `catch'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:820:in
> `process_route'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:784:in
> `route!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:783:in
> `each'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:783:in
> `route!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in
> `dispatch!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in
> `call!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in
> `invoke'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in
> `catch'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in
> `invoke'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in
> `call!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in
> `call'
> /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/commonlogger.rb:20:in
> `call'
> /home/dcloud/workspace/deltacloud/server/lib/sinatra/rack_date.rb:31:in
> `call'
>
> /home/dcloud/workspace/deltacloud/server/lib/sinatra/rack_accept.rb:152:in
> `call'
>
> /usr/lib/ruby/gems/1.8/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
> `call'
>
> /usr/lib/ruby/gems/1.8/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
> `call'
>
> /usr/lib/ruby/gems/1.8/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
> `call'
>
> /usr/lib/ruby/gems/1.8/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in
> `call'
>
> /usr/lib/ruby/gems/1.8/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
> `call'
> /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
>
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/showexceptions.rb:21:in
> `call'
>
> /home/dcloud/workspace/deltacloud/server/lib/sinatra/rack_driver_select.rb:45:in
> `call'
>
> /home/dcloud/workspace/deltacloud/server/lib/sinatra/rack_matrix_params.rb:106:in
> `call'
>
> /home/dcloud/workspace/deltacloud/server/lib/sinatra/rack_runtime.rb:36:in
> `call'
> /home/dcloud/workspace/deltacloud/server/lib/sinatra/rack_etag.rb:41:in
> `call'
>
> /usr/lib/ruby/gems/1.8/gems/rack-accept-0.4.4/lib/rack/accept/context.rb:22:in
> `call'
>
> /usr/lib/ruby/gems/1.8/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
> `call'
>
> /usr/lib/ruby/gems/1.8/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
> `call'
>
> /usr/lib/ruby/gems/1.8/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
> `call'
>
> /usr/lib/ruby/gems/1.8/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in
> `call'
>
> /usr/lib/ruby/gems/1.8/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
> `call'
> /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/logger.rb:15:in `call'
> /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in
> `call'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:1334:in
> `call'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:1416:in
> `synchronize'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:1334:in
> `call'
> /usr/lib/ruby/gems/1.8/gems/thin-1.3.1/lib/thin/connection.rb:80:in
> `pre_process'
> /usr/lib/ruby/gems/1.8/gems/thin-1.3.1/lib/thin/connection.rb:78:in
> `catch'
> /usr/lib/ruby/gems/1.8/gems/thin-1.3.1/lib/thin/connection.rb:78:in
> `pre_process'
>
> /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in
> `call'
>
> /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in
> `spawn_threadpool'
>
> /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1057:in
> `initialize'
>
> /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1057:in
> `new'
>
> /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1057:in
> `spawn_threadpool'
>
> /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1049:in
> `defer'
> /usr/lib/ruby/gems/1.8/gems/thin-1.3.1/lib/thin/connection.rb:50:in
> `process'
> /usr/lib/ruby/gems/1.8/gems/thin-1.3.1/lib/thin/connection.rb:38:in
> `receive_data'
>
> /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in
> `run_machine'
>
> /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in
> `run'
> /usr/lib/ruby/gems/1.8/gems/thin-1.3.1/lib/thin/backends/base.rb:61:in
> `start'
> /usr/lib/ruby/gems/1.8/gems/thin-1.3.1/lib/thin/server.rb:159:in `start'
>
> /usr/lib/ruby/gems/1.8/gems/thin-1.3.1/lib/thin/controllers/controller.rb:86:in
> `start'
> /usr/lib/ruby/gems/1.8/gems/thin-1.3.1/lib/thin/runner.rb:185:in `send'
> /usr/lib/ruby/gems/1.8/gems/thin-1.3.1/lib/thin/runner.rb:185:in
> `run_command'
> /usr/lib/ruby/gems/1.8/gems/thin-1.3.1/lib/thin/runner.rb:151:in `run!'
> ./bin/deltacloudd:239]]>
> </backtrace>
> <request>
> <param name='format'>xml</param>
> </request>
> </error>
> Please ping me to for exact creds if needed.
--
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