deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Molina (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DTACLOUD-304) OpenNebula driver: GET /api/instances, GET /api/images throw 502 errors
Date Mon, 27 Aug 2012 18:26:07 GMT

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

Daniel Molina commented on DTACLOUD-304:
----------------------------------------

I guess you are testing using the OpenNebula demo cloud (http://www.opennebula.org/cloud:cloud#occi).
Last Friday, we fixed some issues with the OCCI server. It should work now, sorry for the
inconveniences
                
> OpenNebula driver: GET /api/instances, GET /api/images throw 502 errors 
> ------------------------------------------------------------------------
>
>                 Key: DTACLOUD-304
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-304
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Native/Frontend
>         Environment: RHEL 6.3
> Deltacloud gem install 1.0.2 (out of list for testing)
> Opennebula
>            Reporter: Ronelle Landy
>
> Executing a GET /api/images or instances gives: (could do a GET on api/hardware_profiles
and realsm - which also require password authentiacation)
> RuntimeError:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
> <html>
> <head>
> 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
> 	<meta name="generator" content="Phusion Passenger">
> 	<title>Ruby (Rack) application could not be started</title>
> 	<style type="text/css">
> 		body {
> 	font-family: Verdana, 'Bitstream Vera Sans', Arial, Sans-Serif;
> 	font-size: 10pt;
> 	background: white;
> 	color: #222222;
> 	margin: 0;
> 	padding-top: 3em;
> 	padding-bottom: 3em;
> 	padding-left: 4.5em;
> 	padding-right: 4.5em;
> }
> h1 {
> 	font-size: 17pt;
> 	font-weight: medium;
> 	color: #533e72;
> 	border-bottom: 1px solid #533e72;
> }
> h1.title {
> 	margin-top: 0;
> }
> h1.error_title {
> 	color: red;
> 	border-bottom: 1px solid red;
> }
> a {
> 	text-decoration: none;
> }
> a:hover {
> 	text-decoration: underline;
> }
> dt {
> 	font-weight: bold;
> 	color: #280050;
> }
> dd {
> 	margin-top: 0.5em;
> 	margin-bottom: 1em;
> }
> .commands {
> 	border: 1px solid #b594e7;
> 	background: #ddc6ff;
> 	padding: 0.5em;
> 	margin: 0.5em;
> 	font-family: 'Bitstream Vera Sans Mono', 'Courier New', Monospace;
> }
> table.backtrace th {
> 	background: #8470a6;
> 	color: white;
> }
> table.backtrace th,
> table.backtrace td {
> 	padding: 0.2em;
> 	padding-left: 0.4em;
> 	padding-right: 0.4em;
> }
> table.backtrace tr td {
> 	background: #ecdfff;
> }
> table.backtrace tr.even td {
> 	background: #f7f2ff;
> }
> table.backtrace td.index {
> 	font-weight: bold;
> }
> #site_footer {
> 	border-top: solid 1px black;
> 	margin-top: 1em;
> 	padding-top: 1em;
> 	font-size: small;
> 	color: #777777;
> }
> #site_footer a {
> 	color: #65498e;
> }
> #site_footer a:hover {
> 	color: #9681d9;
> }
> #site_header .corporate_identity {
> 	display: none;
> }
> 	</style>
> 	<link rel="stylesheet" type="text/css" href="http://www.modrails.com/error_pages/1.0/error_page.css">
> </head>
> <body>
> 	<div id="site_container">
> 		<div id="site_header">
> 			<ul class="corporate_identity ">
> 				<li class="logo"><a href="http://www.modrails.com"><span>Phusion
Passenger</span></a></li>
> 			</ul>
> 		</div>
> 		<div id="site_body">
> 			
> <h1 class="error_title">Ruby (Rack) application could not be started</h1>
> <div id="content">
> 	The application has exited during startup (i.e. during the evaluation of
> 	<tt>config/environment.rb</tt>).
> 	
> 		The error message may have been written to the web server's log file.
> 		Please check the <b>web server's</b> log file (i.e. <em>not</em>
the
> 		(Rails) application's log file) to find out why the application
> 		exited.
> 		
> 		<p>If that doesn't help, then please use the backtrace below to debug
> 		the problem.</p>
> 	
> 	
> 	<dl>
> 	
> 	
> 	<dt>Application root:</dt>
> 	<dd>
> 		<tt class="filename">/usr/lib/one/ruby/cloud/occi</tt>
> 	</dd>
> 	
> 	<dt>Backtrace:</dt>
> 	<dd>
> 		
> 			<table class="backtrace">
> 			<tr class="headers">
> 				<th>#</th>
> 				<th>File</th>
> 				<th>Line</th>
> 				<th>Location</th>
> 			</tr>
> 		
> 				<tr class="backtrace_line framework uneven">
> 					<td class="index">0</td>
> 					<td class="filename">/usr/lib/one/ruby/cloud/occi/occi-server.rb</td>
> 					<td class="line">108</td>
> 					<td class="location">in `exit'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line framework even">
> 					<td class="index">1</td>
> 					<td class="filename">/usr/lib/one/ruby/cloud/occi/occi-server.rb</td>
> 					<td class="line">108</td>
> 					<td class="location">in `<top (required)>'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line framework uneven">
> 					<td class="index">2</td>
> 					<td class="filename">/usr/lib/ruby/1.9.1/rubygems/custom_require.rb</td>
> 					<td class="line">36</td>
> 					<td class="location">in `require'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line framework even">
> 					<td class="index">3</td>
> 					<td class="filename">/usr/lib/ruby/1.9.1/rubygems/custom_require.rb</td>
> 					<td class="line">36</td>
> 					<td class="location">in `require'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line framework uneven">
> 					<td class="index">4</td>
> 					<td class="filename">config.ru</td>
> 					<td class="line">2</td>
> 					<td class="location">in `block in <main>'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line framework even">
> 					<td class="index">5</td>
> 					<td class="filename">/var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb</td>
> 					<td class="line">51</td>
> 					<td class="location">in `instance_eval'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line framework uneven">
> 					<td class="index">6</td>
> 					<td class="filename">/var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb</td>
> 					<td class="line">51</td>
> 					<td class="location">in `initialize'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line framework even">
> 					<td class="index">7</td>
> 					<td class="filename">config.ru</td>
> 					<td class="line">1</td>
> 					<td class="location">in `new'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line framework uneven">
> 					<td class="index">8</td>
> 					<td class="filename">config.ru</td>
> 					<td class="line">1</td>
> 					<td class="location">in `<main>'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line passenger even">
> 					<td class="index">9</td>
> 					<td class="filename">/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb</td>
> 					<td class="line">225</td>
> 					<td class="location">in `eval'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line passenger uneven">
> 					<td class="index">10</td>
> 					<td class="filename">/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb</td>
> 					<td class="line">225</td>
> 					<td class="location">in `load_rack_app'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line passenger even">
> 					<td class="index">11</td>
> 					<td class="filename">/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb</td>
> 					<td class="line">75</td>
> 					<td class="location">in `block (2 levels) in spawn_application'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line passenger uneven">
> 					<td class="index">12</td>
> 					<td class="filename">/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/utils.rb</td>
> 					<td class="line">572</td>
> 					<td class="location">in `report_app_init_status'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line passenger even">
> 					<td class="index">13</td>
> 					<td class="filename">/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb</td>
> 					<td class="line">73</td>
> 					<td class="location">in `block in spawn_application'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line passenger uneven">
> 					<td class="index">14</td>
> 					<td class="filename">/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/utils.rb</td>
> 					<td class="line">479</td>
> 					<td class="location">in `safe_fork'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line passenger even">
> 					<td class="index">15</td>
> 					<td class="filename">/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb</td>
> 					<td class="line">64</td>
> 					<td class="location">in `spawn_application'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line passenger uneven">
> 					<td class="index">16</td>
> 					<td class="filename">/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb</td>
> 					<td class="line">264</td>
> 					<td class="location">in `spawn_rack_application'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line passenger even">
> 					<td class="index">17</td>
> 					<td class="filename">/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb</td>
> 					<td class="line">137</td>
> 					<td class="location">in `spawn_application'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line passenger uneven">
> 					<td class="index">18</td>
> 					<td class="filename">/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb</td>
> 					<td class="line">275</td>
> 					<td class="location">in `handle_spawn_application'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line passenger even">
> 					<td class="index">19</td>
> 					<td class="filename">/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb</td>
> 					<td class="line">357</td>
> 					<td class="location">in `server_main_loop'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line passenger uneven">
> 					<td class="index">20</td>
> 					<td class="filename">/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb</td>
> 					<td class="line">206</td>
> 					<td class="location">in `start_synchronously'</td>
> 				</tr>
> 			
> 				<tr class="backtrace_line passenger even">
> 					<td class="index">21</td>
> 					<td class="filename">/var/lib/gems/1.9.1/gems/passenger-3.0.12/helper-scripts/passenger-spawn-server</td>
> 					<td class="line">99</td>
> 					<td class="location">in `<main>'</td>
> 				</tr>
> 			</table>
> 	</dd>
> 	</dl>
> </div>
> 		</div>
> 		<div id="site_footer">
> 			<!--
> 			   You are free to modify the footer as you see fit,
> 			   but we kindly ask of you to preserve to following
> 			   text. Thank you.
> 			-->
> 			<div class="container">
> 				Powered by <a href="http://www.modrails.com/">Phusion Passenger</a>,
> 				<tt>mod_rails</tt> / <tt>mod_rack</tt> for Apache.
> 			</div>
> 		</div>
> 	</div>
> </body>
> </html>
> /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.0.2/lib/deltacloud/drivers/opennebula/opennebula_driver.rb:277:in
`treat_response'
> /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.0.2/lib/deltacloud/drivers/exceptions.rb:181:in
`call'
> /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.0.2/lib/deltacloud/drivers/exceptions.rb:181:in
`safely'
> /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.0.2/lib/deltacloud/drivers/opennebula/opennebula_driver.rb:271:in
`treat_response'
> /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.0.2/lib/deltacloud/drivers/opennebula/opennebula_driver.rb:157:in
`instances'
> /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.0.2/lib/deltacloud/helpers/deltacloud_helper.rb:61:in
`send'
> /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.0.2/lib/deltacloud/helpers/deltacloud_helper.rb:61:in
`filter_all'
> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
> /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.0.2/lib/deltacloud/helpers/deltacloud_helper.rb:60:in
`filter_all'
> /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.0.2/lib/deltacloud/helpers/rabbit_helper.rb:22:in
`standard_index_operation'
> /usr/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.0.10/lib/sinatra/rabbit/base.rb:385:in `instance_eval'
> 10.11.8.153 - - [16/Aug/2012 13:49:04] "GET /api/instances HTTP/1.1" 502 257386 1.6051

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message