I am running into an error when attempting to launch a F14 deployment to rhevm. Any guidance is appreciated. Details on errors is below.
=== Versions RHEVM 2.2 w/ REST API Red Hat Enterprise Linux Server release 6.1 (Santiago) aeolus-configure-2.0.1-2.el6.20110726134906gitdf2c66b.noarch aeolus-conductor-doc-0.3.0-1.el6.fc14.noarch aeolus-conductor-0.3.0-1.el6.fc14.noarch rubygem-aeolus-image-0.1.0-3.el6.20110726134857git00b5aa2.noarch aeolus-all-0.3.0-1.el6.fc14.noarch aeolus-conductor-daemons-0.3.0-1.el6.fc14.noarch libdeltacloud-0.9-1.el6.x86_64 python-deltarpm-3.5-0.5.20090913git.el6.x86_64 condor-deltacloud-gahp-7.6.0-5dcloud.el6.x86_64 deltarpm-3.5-0.5.20090913git.el6.x86_64 deltacloud-core-0.3.9999-1308927004.el6.noarch rubygem-deltacloud-client-0.3.1-1.el6.noarch
=== default_configure [root@cldmgr01 ~]# grep -i rhev /etc/aeolus-configure/nodes/default_configure # enable RHEV values to be populated. rhevm_nfs_server: 10.0.3.41 rhevm_nfs_export: /exportdomain rhevm_nfs_mount_point: /mnt/rhevm-nfs rhevm_deltacloud_port: 3005 rhevm_deltacloud_username: rhevadmin@cloud.redhat.com rhevm_deltacloud_password: password rhevm_deltacloud_powershell_url: https://fqdn:8543/rhevm-api-powershell # Uncomment this section to include rhev setup - aeolus::rhevm
=== successfully reaching rhev-m api [root@cldmgr01 ~]# curl -u rhevadmin@cloud.redhat.com:password https://fqdn:8543/rhevm-api-powershell/ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <api> <link rel="capabilities" href="/rhevm-api-powershell/capabilities"/> <link rel="clusters" href="/rhevm-api-powershell/clusters"/> <link rel="clusters/search" href="/rhevm-api-powershell/clusters?search={query}"/> .... </api>
=== successfully created and pushed image [root@cldmgr01 ~]# aeolus-image --images list IMAGE ID LASTEST PUSHED BUILD NAME TARGET OS OS VERSION ARCH DESCRIPTION e4c702a2-ee72-4c08-8117-20f68d28c2b8 12369482-95cb-4119-a69e-b516276e422f tmpl1 rhevm Fedora 14 x86_64 Fedora 14 Template
After I select "Launch this deployment"
==== The page https://cldmgr01-pub.cloud.redhat.com/conductor/instances/1 shows
Status error Error Create_Instance_Failure: Failed to perform transfer: Server returned nothing (no headers, no data) Teste/frontend created Teste/frontend state changed to pending teste/frontend teste/frontend state changed to error teste/frontend
=== /var/log/deltacloud-rhevm/rhevm.log [root@cldmgr01 ~]# cat /var/log/deltacloud-rhevm/rhevm.log
127.0.0.1 - - [01/Aug/2011 14:06:19] "GET /api HTTP/1.1" 200 3591 0.1828 127.0.0.1 - - [01/Aug/2011 14:06:30] "GET /api HTTP/1.1" 200 869 0.0181 127.0.0.1 - - [01/Aug/2011 14:06:30] "GET /api HTTP/1.1" 200 869 0.0106 127.0.0.1 - - [01/Aug/2011 14:06:30] "GET /api HTTP/1.1" 200 869 0.0077 127.0.0.1 - - [01/Aug/2011 14:06:30] "GET /api/hardware_profiles HTTP/1.1" 200 1878 0.0132 127.0.0.1 - - [01/Aug/2011 14:11:03] "GET /api HTTP/1.1" 200 869 0.0077 127.0.0.1 - - [01/Aug/2011 14:11:05] "GET /api?force_auth=1 HTTP/1.1" 200 869 1.5251 127.0.0.1 - - [01/Aug/2011 14:11:05] "GET /api HTTP/1.1" 200 869 0.0146 127.0.0.1 - - [01/Aug/2011 14:11:05] "GET /api HTTP/1.1" 200 869 0.0067 127.0.0.1 - - [01/Aug/2011 14:11:05] "GET /api/realms HTTP/1.1" 200 302 0.1975 127.0.0.1 - - [01/Aug/2011 14:16:13] "GET /api HTTP/1.1" 200 869 0.0088 127.0.0.1 - - [01/Aug/2011 14:16:13] "GET /api HTTP/1.1" 200 869 0.0101 127.0.0.1 - - [01/Aug/2011 14:16:30] "GET /api/instances HTTP/1.1" 200 9532 16.0859 127.0.0.1 - - [01/Aug/2011 14:16:30] "GET /api/instances HTTP/1.1" 200 9532 16.6057 127.0.0.1 - - [01/Aug/2011 14:16:30] "GET /api HTTP/1.1" 200 869 0.0083 127.0.0.1 - - [01/Aug/2011 14:16:30] "GET /api HTTP/1.1" 200 869 0.0043 Deltacloud::ExceptionHandler::ProviderError - 500 Internal Server Error: /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb:48:in `return!' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:220:in `process_result' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:169:in `transmit' /usr/lib/ruby/1.8/net/http.rb:543:in `start' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:166:in `transmit' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:60:in `execute' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:31:in `execute' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/resource.rb:63:in `post' ././lib/deltacloud/drivers/rhevm/rhevm_client.rb:73:in `create_vm' ././lib/deltacloud/drivers/rhevm/rhevm_driver.rb:188:in `create_instance' ././lib/deltacloud/base_driver/exceptions.rb:111:in `call' ././lib/deltacloud/base_driver/exceptions.rb:111:in `safely' ././lib/deltacloud/drivers/rhevm/rhevm_driver.rb:182:in `create_instance' ././server.rb:397 ././lib/sinatra/rabbit.rb:113:in `instance_eval' ././lib/sinatra/rabbit.rb:113:in `POST /api/instances' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `call' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `route' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:521:in `instance_eval' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:521:in `route_eval' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:500:in `route!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `catch' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `route!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `each' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `route!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:601:in `dispatch!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `instance_eval' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `catch' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:399:in `call' ././lib/sinatra/rack_driver_select.rb:45:in `call' ././lib/sinatra/rack_matrix_params.rb:85:in `call' ././lib/sinatra/rack_runtime.rb:36:in `call' ././lib/sinatra/rack_etag.rb:42:in `call' /usr/lib/ruby/gems/1.8/gems/rack-accept-0.4.3/lib/rack/accept/context.rb:22:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/commonlogger.rb:18:in `call' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:1005:in `synchronize' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:76:in `pre_process' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74:in `catch' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74: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.2.5/lib/thin/connection.rb:54:in `process' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:42: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.2.5/lib/thin/backends/base.rb:57:in `start' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/server.rb:156:in `start' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/controllers/controller.rb:80:in `start' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:177:in `send' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:177:in `run_command' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:143:in `run!' /usr/share/deltacloud-core/bin/deltacloudd:126 /usr/bin/deltacloudd:5:in `load' /usr/bin/deltacloudd:5 Starting Deltacloud API :: rhevm :: https://rhevm.cloud.redhat.com:8543/rhevm-api-powershell :: http://localhost:3005/api
Thin web server (v1.2.5 codename This Is Not A Web Server) Debugging ON Maximum connections set to 1024 Listening on localhost:3005, CTRL+C to stop
!! Unexpected error while processing request: undefined method `details' for #Deltacloud::ExceptionHandler::ProviderError:0x7eff53cfc160 undefined method `details' for #Deltacloud::ExceptionHandler::ProviderError:0x7eff53cfc160 ././views/errors/502.xml.haml:5:in `__tilt_09526205804d3d8c2560684058c010b9' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/tilt.rb:195:in `send' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/tilt.rb:195:in `evaluate' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/tilt.rb:449:in `evaluate' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/tilt.rb:131:in `render' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:343:in `render_without_format' ././lib/sinatra/respond_to.rb:129:in `render' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:311:in `haml' ././lib/deltacloud/helpers/application_helper.rb:112:in `report_error' ././lib/sinatra/respond_to.rb:242:in `call' ././lib/sinatra/respond_to.rb:242:in `respond_to' ././lib/deltacloud/helpers/application_helper.rb:111:in `report_error' ././server.rb:61 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:641:in `instance_eval' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:641:in `error_block!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:636:in `each' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:636:in `error_block!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:630:in `handle_exception!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:605:in `dispatch!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `instance_eval' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `catch' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:399:in `call' ././lib/sinatra/rack_driver_select.rb:45:in `call' ././lib/sinatra/rack_matrix_params.rb:85:in `call' ././lib/sinatra/rack_runtime.rb:36:in `call' ././lib/sinatra/rack_etag.rb:42:in `call' /usr/lib/ruby/gems/1.8/gems/rack-accept-0.4.3/lib/rack/accept/context.rb:22:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/commonlogger.rb:18:in `call' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:1005:in `synchronize' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:76:in `pre_process' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74:in `catch' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74: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.2.5/lib/thin/connection.rb:54:in `process' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:42:in `receive_data'
=== Link to event viewer logs from rhev-m server None available
=== Selecting "test" from the conductor interface for the provider "rhevm" produces the following in /var/log/deltacloud-rhevm/rhevm.log and shows success 127.0.0.1 - - [01/Aug/2011 14:33:06] "GET /api HTTP/1.1" 200 869 0.0080
-James
I figured it out. Major thanks to jganovsk for his help.
It turns out that in /etc/aeolus-configure/nodes/default_configure the format of rhevm_deltacloud_username should be username@DOMAIN, not admin@somewhere.com as https://www.aeolusproject.org/redmine/projects/aeolus/wiki/RHEV-M_Setup mentioned (no .com). However, when adding a provider account in aeolus-conductor interface the format is username@domain.com.
In Summary:
/etc/aeolus-configure/nodes/default_configure rhevm_deltacloud_username: username@DOMAIN
aeolus-conductor provider account setup username: username@fqdn.com
This is kinda confusing. It might make sense to document the difference in format really well or just adopt one over the other throughout both projects to make it easier on the end user.
-James
----- Original Message -----
From: "James Labocki" jlabocki@redhat.com To: aeolus-devel@lists.fedorahosted.org Sent: Monday, August 1, 2011 2:39:39 PM Subject: aeolus deployment rhevm exception I am running into an error when attempting to launch a F14 deployment to rhevm. Any guidance is appreciated. Details on errors is below.
=== Versions RHEVM 2.2 w/ REST API Red Hat Enterprise Linux Server release 6.1 (Santiago) aeolus-configure-2.0.1-2.el6.20110726134906gitdf2c66b.noarch aeolus-conductor-doc-0.3.0-1.el6.fc14.noarch aeolus-conductor-0.3.0-1.el6.fc14.noarch rubygem-aeolus-image-0.1.0-3.el6.20110726134857git00b5aa2.noarch aeolus-all-0.3.0-1.el6.fc14.noarch aeolus-conductor-daemons-0.3.0-1.el6.fc14.noarch libdeltacloud-0.9-1.el6.x86_64 python-deltarpm-3.5-0.5.20090913git.el6.x86_64 condor-deltacloud-gahp-7.6.0-5dcloud.el6.x86_64 deltarpm-3.5-0.5.20090913git.el6.x86_64 deltacloud-core-0.3.9999-1308927004.el6.noarch rubygem-deltacloud-client-0.3.1-1.el6.noarch
=== default_configure [root@cldmgr01 ~]# grep -i rhev /etc/aeolus-configure/nodes/default_configure # enable RHEV values to be populated. rhevm_nfs_server: 10.0.3.41 rhevm_nfs_export: /exportdomain rhevm_nfs_mount_point: /mnt/rhevm-nfs rhevm_deltacloud_port: 3005 rhevm_deltacloud_username: rhevadmin@cloud.redhat.com rhevm_deltacloud_password: password rhevm_deltacloud_powershell_url: https://fqdn:8543/rhevm-api-powershell # Uncomment this section to include rhev setup
- aeolus::rhevm
=== successfully reaching rhev-m api [root@cldmgr01 ~]# curl -u rhevadmin@cloud.redhat.com:password https://fqdn:8543/rhevm-api-powershell/
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<api> <link rel="capabilities" href="/rhevm-api-powershell/capabilities"/> <link rel="clusters" href="/rhevm-api-powershell/clusters"/> <link rel="clusters/search" href="/rhevm-api-powershell/clusters?search={query}"/> .... </api>
=== successfully created and pushed image [root@cldmgr01 ~]# aeolus-image --images list IMAGE ID LASTEST PUSHED BUILD NAME TARGET OS OS VERSION ARCH DESCRIPTION e4c702a2-ee72-4c08-8117-20f68d28c2b8 12369482-95cb-4119-a69e-b516276e422f tmpl1 rhevm Fedora 14 x86_64 Fedora 14 Template
After I select "Launch this deployment"
==== The page https://cldmgr01-pub.cloud.redhat.com/conductor/instances/1 shows
Status error Error Create_Instance_Failure: Failed to perform transfer: Server returned nothing (no headers, no data) Teste/frontend created Teste/frontend state changed to pending teste/frontend teste/frontend state changed to error teste/frontend
=== /var/log/deltacloud-rhevm/rhevm.log [root@cldmgr01 ~]# cat /var/log/deltacloud-rhevm/rhevm.log
127.0.0.1 - - [01/Aug/2011 14:06:19] "GET /api HTTP/1.1" 200 3591 0.1828 127.0.0.1 - - [01/Aug/2011 14:06:30] "GET /api HTTP/1.1" 200 869 0.0181 127.0.0.1 - - [01/Aug/2011 14:06:30] "GET /api HTTP/1.1" 200 869 0.0106 127.0.0.1 - - [01/Aug/2011 14:06:30] "GET /api HTTP/1.1" 200 869 0.0077 127.0.0.1 - - [01/Aug/2011 14:06:30] "GET /api/hardware_profiles HTTP/1.1" 200 1878 0.0132 127.0.0.1 - - [01/Aug/2011 14:11:03] "GET /api HTTP/1.1" 200 869 0.0077 127.0.0.1 - - [01/Aug/2011 14:11:05] "GET /api?force_auth=1 HTTP/1.1" 200 869 1.5251 127.0.0.1 - - [01/Aug/2011 14:11:05] "GET /api HTTP/1.1" 200 869 0.0146 127.0.0.1 - - [01/Aug/2011 14:11:05] "GET /api HTTP/1.1" 200 869 0.0067 127.0.0.1 - - [01/Aug/2011 14:11:05] "GET /api/realms HTTP/1.1" 200 302 0.1975 127.0.0.1 - - [01/Aug/2011 14:16:13] "GET /api HTTP/1.1" 200 869 0.0088 127.0.0.1 - - [01/Aug/2011 14:16:13] "GET /api HTTP/1.1" 200 869 0.0101 127.0.0.1 - - [01/Aug/2011 14:16:30] "GET /api/instances HTTP/1.1" 200 9532 16.0859 127.0.0.1 - - [01/Aug/2011 14:16:30] "GET /api/instances HTTP/1.1" 200 9532 16.6057 127.0.0.1 - - [01/Aug/2011 14:16:30] "GET /api HTTP/1.1" 200 869 0.0083 127.0.0.1 - - [01/Aug/2011 14:16:30] "GET /api HTTP/1.1" 200 869 0.0043 Deltacloud::ExceptionHandler::ProviderError - 500 Internal Server Error: /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb:48:in `return!' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:220:in `process_result' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:169:in `transmit' /usr/lib/ruby/1.8/net/http.rb:543:in `start' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:166:in `transmit' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:60:in `execute' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:31:in `execute' /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/resource.rb:63:in `post' ././lib/deltacloud/drivers/rhevm/rhevm_client.rb:73:in `create_vm' ././lib/deltacloud/drivers/rhevm/rhevm_driver.rb:188:in `create_instance' ././lib/deltacloud/base_driver/exceptions.rb:111:in `call' ././lib/deltacloud/base_driver/exceptions.rb:111:in `safely' ././lib/deltacloud/drivers/rhevm/rhevm_driver.rb:182:in `create_instance' ././server.rb:397 ././lib/sinatra/rabbit.rb:113:in `instance_eval' ././lib/sinatra/rabbit.rb:113:in `POST /api/instances' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `call' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `route' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:521:in `instance_eval' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:521:in `route_eval' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:500:in `route!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `catch' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `route!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `each' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `route!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:601:in `dispatch!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `instance_eval' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `catch' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:399:in `call' ././lib/sinatra/rack_driver_select.rb:45:in `call' ././lib/sinatra/rack_matrix_params.rb:85:in `call' ././lib/sinatra/rack_runtime.rb:36:in `call' ././lib/sinatra/rack_etag.rb:42:in `call' /usr/lib/ruby/gems/1.8/gems/rack-accept-0.4.3/lib/rack/accept/context.rb:22:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/commonlogger.rb:18:in `call' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:1005:in `synchronize' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:76:in `pre_process' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74:in `catch' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74: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.2.5/lib/thin/connection.rb:54:in `process' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:42: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.2.5/lib/thin/backends/base.rb:57:in `start' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/server.rb:156:in `start' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/controllers/controller.rb:80:in `start' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:177:in `send' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:177:in `run_command' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:143:in `run!' /usr/share/deltacloud-core/bin/deltacloudd:126 /usr/bin/deltacloudd:5:in `load' /usr/bin/deltacloudd:5 Starting Deltacloud API :: rhevm :: https://rhevm.cloud.redhat.com:8543/rhevm-api-powershell :: http://localhost:3005/api
Thin web server (v1.2.5 codename This Is Not A Web Server) Debugging ON Maximum connections set to 1024 Listening on localhost:3005, CTRL+C to stop
!! Unexpected error while processing request: undefined method `details' for #Deltacloud::ExceptionHandler::ProviderError:0x7eff53cfc160 undefined method `details' for #Deltacloud::ExceptionHandler::ProviderError:0x7eff53cfc160 ././views/errors/502.xml.haml:5:in `__tilt_09526205804d3d8c2560684058c010b9' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/tilt.rb:195:in `send' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/tilt.rb:195:in `evaluate' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/tilt.rb:449:in `evaluate' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/tilt.rb:131:in `render' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:343:in `render_without_format' ././lib/sinatra/respond_to.rb:129:in `render' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:311:in `haml' ././lib/deltacloud/helpers/application_helper.rb:112:in `report_error' ././lib/sinatra/respond_to.rb:242:in `call' ././lib/sinatra/respond_to.rb:242:in `respond_to' ././lib/deltacloud/helpers/application_helper.rb:111:in `report_error' ././server.rb:61 /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:641:in `instance_eval' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:641:in `error_block!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:636:in `each' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:636:in `error_block!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:630:in `handle_exception!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:605:in `dispatch!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `instance_eval' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `catch' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:399:in `call' ././lib/sinatra/rack_driver_select.rb:45:in `call' ././lib/sinatra/rack_matrix_params.rb:85:in `call' ././lib/sinatra/rack_runtime.rb:36:in `call' ././lib/sinatra/rack_etag.rb:42:in `call' /usr/lib/ruby/gems/1.8/gems/rack-accept-0.4.3/lib/rack/accept/context.rb:22:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/commonlogger.rb:18:in `call' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:1005:in `synchronize' /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:76:in `pre_process' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74:in `catch' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74: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.2.5/lib/thin/connection.rb:54:in `process' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:42:in `receive_data'
=== Link to event viewer logs from rhev-m server None available
=== Selecting "test" from the conductor interface for the provider "rhevm" produces the following in /var/log/deltacloud-rhevm/rhevm.log and shows success 127.0.0.1 - - [01/Aug/2011 14:33:06] "GET /api HTTP/1.1" 200 869 0.0080
-James
On Mon, Aug 01, 2011 at 03:17:38PM -0400, James Labocki wrote:
I figured it out. Major thanks to jganovsk for his help.
It turns out that in /etc/aeolus-configure/nodes/default_configure the format of rhevm_deltacloud_username should be username@DOMAIN, not admin@somewhere.com as https://www.aeolusproject.org/redmine/projects/aeolus/wiki/RHEV-M_Setup mentioned (no .com). However, when adding a provider account in aeolus-conductor interface the format is username@domain.com.
In Summary:
/etc/aeolus-configure/nodes/default_configure rhevm_deltacloud_username: username@DOMAIN
aeolus-conductor provider account setup username: username@fqdn.com
This is kinda confusing. It might make sense to document the difference in format really well or just adopt one over the other throughout both projects to make it easier on the end user.
-James
Awesome James. Can you file a BZ for that so we don't lose track?
Thanks, --Hugh
Done, let me know if I can provide further details. https://bugzilla.redhat.com/show_bug.cgi?id=727322
----- Original Message -----
From: "Hugh Brock" hbrock@redhat.com To: "James Labocki" jlabocki@redhat.com Cc: aeolus-devel@lists.fedorahosted.org Sent: Monday, August 1, 2011 3:30:33 PM Subject: Re: aeolus deployment rhevm exception On Mon, Aug 01, 2011 at 03:17:38PM -0400, James Labocki wrote:
I figured it out. Major thanks to jganovsk for his help.
It turns out that in /etc/aeolus-configure/nodes/default_configure the format of rhevm_deltacloud_username should be username@DOMAIN, not admin@somewhere.com as https://www.aeolusproject.org/redmine/projects/aeolus/wiki/RHEV-M_Setup mentioned (no .com). However, when adding a provider account in aeolus-conductor interface the format is username@domain.com.
In Summary:
/etc/aeolus-configure/nodes/default_configure rhevm_deltacloud_username: username@DOMAIN
aeolus-conductor provider account setup username: username@fqdn.com
This is kinda confusing. It might make sense to document the difference in format really well or just adopt one over the other throughout both projects to make it easier on the end user.
-James
Awesome James. Can you file a BZ for that so we don't lose track?
Thanks, --Hugh
-- == Hugh Brock, hbrock@redhat.com == == Engineering Manager, Cloud BU == == Aeolus Project: Manage virtual infrastructure across clouds. == == http://aeolusproject.org ==
"I know that you believe you understand what you think I said, but I’m not sure you realize that what you heard is not what I meant." --Robert McCloskey _______________________________________________ aeolus-devel mailing list aeolus-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/aeolus-devel
aeolus-devel@lists.fedorahosted.org