Bug 695914

Summary: templates webui timesout durring template builds
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: aeolus-conductorAssignee: Angus Thomas <athomas>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.3.1CC: cpelland, deltacloud-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://hp-sl2x170zg6-02.rhts.eng.bos.redhat.com:3000/conductor/image_factory/templates
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-14 16:13:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 684278    

Description wes hayutin 2011-04-12 21:59:28 UTC
Description of problem:

[root@hp-sl2x170zg6-02 yum.repos.d]# rpm -qa | grep aeolus
aeolus-conductor-0.0.3-4.el6.x86_64
aeolus-conductor-doc-0.0.3-4.el6.x86_64
aeolus-configure-2.0.0-5.el6.noarch
aeolus-conductor-daemons-0.0.3-4.el6.x86_64
[root@hp-sl2x170zg6-02 yum.repos.d]# 

 
Processing ImageFactory::TemplatesController#show (for 10.16.120.31 at 2011-04-12 17:33:46) [GET]
  Parameters: {"action"=>"show", "details_tab"=>"builds", "id"=>"1", "controller"=>"image_factory/templates"}
Completed in 985ms (View: 4, DB: 44) | 200 OK [http://hp-sl2x170zg6-02.rhts.eng.bos.redhat.com/conductor/image_factory/templates/1?details_tab=builds]
 
 
Processing Resources::DeploymentsController#index (for 10.11.9.98 at 2011-04-12 17:35:45) [GET]
  Parameters: {"action"=>"index", "controller"=>"resources/deployments"}
Redirected to http://hp-sl2x170zg6-02.rhts.eng.bos.redhat.com:3000/conductor/login
Filter chain halted as [:require_user] rendered_or_redirected.
Completed in 3ms (DB: 17) | 302 Found [http://hp-sl2x170zg6-02.rhts.eng.bos.redhat.com/conductor]
 
 
Processing UserSessionsController#new (for 10.11.9.98 at 2011-04-12 17:35:46) [GET]
  Parameters: {"action"=>"new", "controller"=>"user_sessions"}
Rendering template within layouts/application
Rendering user_sessions/new
Completed in 10ms (View: 7, DB: 74) | 200 OK [http://hp-sl2x170zg6-02.rhts.eng.bos.redhat.com/conductor/login]
 
 
Processing ImageFactory::TemplatesController#index (for 10.16.120.31 at 2011-04-12 17:35:52) [GET]
  Parameters: {"action"=>"index", "controller"=>"image_factory/templates"}
Rendering template within layouts/application
Rendering image_factory/templates/index
 
Timeout::Error (execution expired):
  /usr/lib/ruby/1.8/timeout.rb:64:in `rbuf_fill'
  /usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
  /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
  /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'
  /usr/lib/ruby/1.8/net/http.rb:2028:in `read_status_line'
  /usr/lib/ruby/1.8/net/http.rb:2017:in `read_new'
  /usr/lib/ruby/1.8/net/http.rb:1051:in `__request__'
  /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/net_http_ext.rb:17:in `request'
  /usr/lib/ruby/1.8/net/http.rb:1037:in `__request__'
  /usr/lib/ruby/1.8/net/http.rb:543:in `start'
  /usr/lib/ruby/1.8/net/http.rb:1035:in `__request__'
  /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/net_http_ext.rb:17:in `request'
  /usr/lib/ruby/1.8/net/http.rb:845:in `post'
  rsolr (0.12.1) lib/rsolr/connection/net_http.rb:22:in `post'
  rsolr (0.12.1) lib/rsolr/connection/requestable.rb:33:in `request'
  rsolr (0.12.1) lib/rsolr/client.rb:34:in `request'
  rsolr (0.12.1) lib/rsolr/client.rb:22:in `update'
  rsolr (0.12.1) lib/rsolr/client.rb:51:in `commit'
  sunspot (1.2.1) lib/sunspot/session.rb:107:in `commit'
  sunspot (1.2.1) lib/sunspot/session.rb:204:in `commit_if_dirty'
  sunspot (1.2.1) lib/sunspot/session_proxy/abstract_session_proxy.rb:11:in `commit_if_dirty'
  sunspot (1.2.1) lib/sunspot.rb:506:in `commit_if_dirty'
  /usr/lib/ruby/gems/1.8/gems/sunspot_rails-1.2.1/lib/sunspot/rails/request_lifecycle.rb:26:in `included'
  compass (0.10.4) lib/compass/app_integration/rails/actionpack2/action_controller.rb:7:in `process'
  haml (3.0.18) rails/./lib/sass/plugin/rack.rb:41:in `call'
  haml (3.0.18) rails/./lib/sass/plugin/rack.rb:41:in `call'
  thin (1.2.5) lib/thin/connection.rb:76:in `pre_process'
  thin (1.2.5) lib/thin/connection.rb:74:in `catch'
  thin (1.2.5) lib/thin/connection.rb:74:in `pre_process'
  thin (1.2.5) lib/thin/connection.rb:57:in `process'
  thin (1.2.5) lib/thin/connection.rb:42:in `receive_data'
  eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'
  eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'
  thin (1.2.5) lib/thin/backends/base.rb:57:in `start'
  thin (1.2.5) lib/thin/server.rb:156:in `start'
  thin (1.2.5) lib/thin/controllers/controller.rb:80:in `start'
  thin (1.2.5) lib/thin/runner.rb:177:in `send'
  thin (1.2.5) lib/thin/runner.rb:177:in `run_command'
  thin (1.2.5) lib/thin/runner.rb:143:in `run!'
  thin (1.2.5) bin/thin:6
  /usr/bin/thin:19:in `load'
  /usr/bin/thin:19
 
 
 
Processing ApplicationController#index (for 10.16.120.31 at 2011-04-12 17:37:09) [GET]
  Parameters: {"action"=>"index", "controller"=>"image_factory/templates"}
 
ActionController::DoubleRenderError (Can only render or redirect once per action):
  app/controllers/application_controller.rb:94:in `html_error_page'
  app/controllers/application_controller.rb:82:in `handle_error'
  app/controllers/application_controller.rb:81:in `handle_error'
  app/controllers/application_controller.rb:73:in `handle_general_error'
  compass (0.10.4) lib/compass/app_integration/rails/actionpack2/action_controller.rb:7:in `process'
  haml (3.0.18) rails/./lib/sass/plugin/rack.rb:41:in `call'
  haml (3.0.18) rails/./lib/sass/plugin/rack.rb:41:in `call'
  thin (1.2.5) lib/thin/connection.rb:76:in `pre_process'
  thin (1.2.5) lib/thin/connection.rb:74:in `catch'
  thin (1.2.5) lib/thin/connection.rb:74:in `pre_process'
  thin (1.2.5) lib/thin/connection.rb:57:in `process'
  thin (1.2.5) lib/thin/connection.rb:42:in `receive_data'
  eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'
  eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'
  thin (1.2.5) lib/thin/backends/base.rb:57:in `start'
  thin (1.2.5) lib/thin/server.rb:156:in `start'
  thin (1.2.5) lib/thin/controllers/controller.rb:80:in `start'
  thin (1.2.5) lib/thin/runner.rb:177:in `send'
  thin (1.2.5) lib/thin/runner.rb:177:in `run_command'
  thin (1.2.5) lib/thin/runner.rb:143:in `run!'
  thin (1.2.5) bin/thin:6
  /usr/bin/thin:19:in `load'
  /usr/bin/thin:19
 
Rendering template within layouts/application
Rendering layouts/error
 
 
Processing UserSessionsController#create (for 10.11.9.98 at 2011-04-12 17:37:09) [POST]
  Parameters: {"commit"=>"Login", "user_session"=>{"remember_me"=>"0", "password"=>"[FILTERED]", "login"=>"admin"}, "action"=>"create", "controller"=>"user_sessions"}
Redirected to http://hp-sl2x170zg6-02.rhts.eng.bos.redhat.com:3000/conductor/
Completed in 17056ms (DB: 14854) | 302 Found [http://hp-sl2x170zg6-02.rhts.eng.bos.redhat.com/conductor/user_session]
 


RECREATE:
1. build a template, watch iostat, vmstat for load to burden the hardware
2. click templates -> template name, details <-> properties
3. notice page rendering to increase over 60seconds


Not sure what can be done about this, but reporting anyway

Comment 1 wes hayutin 2011-04-18 11:42:48 UTC
This is probably no longer an issue now that images are build w/o libvirt using jeos

Comment 2 wes hayutin 2011-12-08 13:57:26 UTC
perm close