Bug #10401
closedCan't add compute profiles Missing Partial?
Description
Get the following error when trying to add a compute profile:
2015-05-06 19:33:17 [I] Completed 500 Internal Server Error in 300ms
2015-05-06 19:33:17 [F]
ActionView::MissingTemplate (Missing partial compute_resources_vms/form/xenserver/base with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml, :rabl]}. Searched in:
* "/usr/share/foreman/app/views"
* "/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/views"
* "/opt/rh/ruby193/root/usr/share/gems/gems/foreman_bootdisk-5.0.0/app/views"
* "/opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-1.2.4/app/views"
* "/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.12/app/views"
* "/opt/rh/ruby193/root/usr/share/gems/gems/bastion-0.3.2/app/views"
* "/opt/rh/ruby193/root/usr/share/gems/gems/foreman_xen-0.0.5.1/app/views"
* "/opt/rh/ruby193/root/usr/share/gems/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__3605930663952902846_95194280'
app/views/compute_attributes/_form.html.erb:10:in `block (2 levels) in app_views_compute_attributes_form_html_erb__2321102591712206050_70016667771100'
app/views/compute_attributes/_form.html.erb:8:in `block in app_views_compute_attributes_form_html_erb__2321102591712206050_70016667771100'
app/helpers/layout_helper.rb:273:in `form_for'
app/views/compute_attributes/_form.html.erb:2:in `_app_views_compute_attributes__form_html_erb__2321102591712206050_70016667771100'
app/views/compute_attributes/new.html.erb:3:in `_app_views_compute_attributes_new_html_erb___1194981909338529940_70016667597060'
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'
Updated by Ben Bettridge almost 10 years ago
If this is using the latest development source, one of the files that was moved didn't need to be done so. My bad. I'm pushing a patch upstream now, but have managed to pollute the pull request with a lot of unrelated crap so am going to redo it.
If you want to apply it yourself you can move /foreman-xen/app/views/compute_resources/form/xenserver/_base.html.erb back to /foreman-xen/app/views/compute_resources/form/_xenserver.html.erb
Updated by Anonymous almost 10 years ago
- Status changed from New to Feedback
- Pull request https://github.com/theforeman/foreman-xen/pull/22 added
- Pull request deleted (
)
This should be fixed with foreman_xen 0.1.0 (which requires Foreman 1.8.1), please report back.