Project

General

Profile

Actions

Bug #12305

open

foreman-one We're sorry, but something went wrong.

Added by Eyal Maran about 9 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi,

I'm getting this error after adding formen-one plugin and trying to edit one of the compute profile (small/medium/large).
After choosing the size, I click on the computer resource (for opennebula) and get:

We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly.

In production.log:

2015-10-25T20:16:27 [app] [I] Started GET "/compute_profiles/2-2-Medium/compute_resources/1-sc-one/compute_attributes/new" for 192.168.201.2 at 2015-10-25 20:16:27 +0100
2015-10-25T20:16:27 [app] [I] Processing by ComputeAttributesController#new as */*
2015-10-25T20:16:27 [app] [I]   Parameters: {"compute_profile_id"=>"2-2-Medium", "compute_resource_id"=>"1-sc-one"}
2015-10-25T20:16:27 [sql] [I] Successfully decrypted field for ForemanOne::One sc-one
2015-10-25T20:16:27 [app] [I]   Rendered compute_attributes/_compute_form.html.erb (1.1ms)
2015-10-25T20:16:27 [app] [I]   Rendered compute_attributes/_form.html.erb (11.0ms)
2015-10-25T20:16:27 [app] [I]   Rendered compute_attributes/new.html.erb (13.0ms)
2015-10-25T20:16:27 [app] [I] Completed 500 Internal Server Error in 19.3ms
2015-10-25T20:16:27 [app] [F]
 | ActionView::MissingTemplate (Missing partial compute_resources_vms/form/one/base with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :rabl]}. Searched in:
 |   * "/usr/share/foreman/app/views" 
 |   * "/usr/share/foreman/vendor/ruby/1.9.1/gems/foreman_one-0.2/app/views" 
 |   * "/usr/share/foreman/vendor/ruby/1.9.1/gems/foreman_setup-3.0.2/app/views" 
 |   * "/usr/share/foreman/vendor/ruby/1.9.1/gems/apipie-rails-0.2.6/app/views" 
 | ):
 |   app/views/compute_attributes/_compute_form.html.erb:3:in `_app_views_compute_attributes__compute_form_html_erb__714115460567783248_73743260'
 |   app/views/compute_attributes/_form.html.erb:10:in `block (2 levels) in _app_views_compute_attributes__form_html_erb__2511726645408008262_70295146931280'
 |   app/views/compute_attributes/_form.html.erb:8:in `block in _app_views_compute_attributes__form_html_erb__2511726645408008262_70295146931280'
 |   app/helpers/layout_helper.rb:284:in `form_for'
 |   app/views/compute_attributes/_form.html.erb:2:in `_app_views_compute_attributes__form_html_erb__2511726645408008262_70295146931280'
 |   app/views/compute_attributes/new.html.erb:3:in `_app_views_compute_attributes_new_html_erb___2646670605750056445_70295146743440'
 |   app/controllers/concerns/application_shared.rb:13:in `set_timezone'
 |   app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 |   lib/middleware/catch_json_parse_errors.rb:9:in `call'
 |
 |
2015-10-25T20:16:27 [app] [I] Started GET "/compute_profiles/2-2-Medium/compute_resources/1-sc-one/compute_attributes/new" for 192.168.201.2 at 2015-10-25 20:16:27 +0100
2015-10-25T20:16:27 [app] [I] Processing by ComputeAttributesController#new as */*
2015-10-25T20:16:27 [app] [I]   Parameters: {"compute_profile_id"=>"2-2-Medium", "compute_resource_id"=>"1-sc-one"}
2015-10-25T20:16:27 [sql] [I] Successfully decrypted field for ForemanOne::One sc-one
2015-10-25T20:16:27 [app] [I]   Rendered compute_attributes/_compute_form.html.erb (1.0ms)
2015-10-25T20:16:27 [app] [I]   Rendered compute_attributes/_form.html.erb (9.4ms)
2015-10-25T20:16:27 [app] [I]   Rendered compute_attributes/new.html.erb (11.3ms)
2015-10-25T20:16:27 [app] [I] Completed 500 Internal Server Error in 17.1ms
2015-10-25T20:16:27 [app] [F]
 | ActionView::MissingTemplate (Missing partial compute_resources_vms/form/one/base with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :rabl]}. Searched in:
 |   * "/usr/share/foreman/app/views" 
 |   * "/usr/share/foreman/vendor/ruby/1.9.1/gems/foreman_one-0.2/app/views" 
 |   * "/usr/share/foreman/vendor/ruby/1.9.1/gems/foreman_setup-3.0.2/app/views" 
 |   * "/usr/share/foreman/vendor/ruby/1.9.1/gems/apipie-rails-0.2.6/app/views" 
 | ):
 |   app/views/compute_attributes/_compute_form.html.erb:3:in `_app_views_compute_attributes__compute_form_html_erb__714115460567783248_73743260'
 |   app/views/compute_attributes/_form.html.erb:10:in `block (2 levels) in _app_views_compute_attributes__form_html_erb__2511726645408008262_70295146931280'
 |   app/views/compute_attributes/_form.html.erb:8:in `block in _app_views_compute_attributes__form_html_erb__2511726645408008262_70295146931280'
 |   app/helpers/layout_helper.rb:284:in `form_for'
 |   app/views/compute_attributes/_form.html.erb:2:in `_app_views_compute_attributes__form_html_erb__2511726645408008262_70295146931280'
 |   app/views/compute_attributes/new.html.erb:3:in `_app_views_compute_attributes_new_html_erb___2646670605750056445_70295146743440'
 |   app/controllers/concerns/application_shared.rb:13:in `set_timezone'
 |   app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 |   lib/middleware/catch_json_parse_errors.rb:9:in `call'
 |
 |

thanks!


Files

foreman-error.log foreman-error.log 21.3 KB Mike Fröhner, 11/06/2015 06:05 PM
compute_profile.log compute_profile.log 14.9 KB Mike Fröhner, 11/06/2015 06:58 PM
Actions

Also available in: Atom PDF