Updating a custom provisioning template from Red Hat Satellite-6 web-ui fails with "Internal Server Error" message.

Solution Verified - Updated -

Issue

  • Updating anything inside custom provisioning template and clicking on submit tab throws- Internal server error.
  • Submitting changes to a custom provisioning template via satellite web-ui fails with below error in /var/log/foreman/production.log:
2017-01-19 08:14:33 [app] [I] Processing by ProvisioningTemplatesController#edit as */*
2017-01-19 08:14:33 [app] [I]   Parameters: {"id"=>"59-Aflac_RHEL7_64"}
2017-01-19 08:14:33 [app] [I]   Rendered provisioning_templates/_custom_tab_headers.html.erb (0.3ms)
2017-01-19 08:14:33 [app] [I]   Rendered provisioning_templates/_alerts.html.erb (0.7ms)
2017-01-19 08:14:33 [app] [I]   Rendered editor/_toolbar.html.erb (5.7ms)
2017-01-19 08:14:33 [app] [I]   Rendered provisioning_templates/_combination.html.erb (19.5ms)
2017-01-19 08:14:33 [app] [I]   Rendered provisioning_templates/_combinations.html.erb (22.0ms)
2017-01-19 08:14:33 [app] [I]   Rendered provisioning_templates/_custom_tabs.html.erb (31.2ms)
2017-01-19 08:14:33 [app] [I]   Rendered taxonomies/_loc_org_tabs.html.erb (16.4ms)
2017-01-19 08:14:33 [app] [I]   Rendered templates/_form.html.erb (81.3ms)
2017-01-19 08:14:33 [app] [I]   Rendered provisioning_templates/edit.html.erb (82.0ms)
2017-01-19 08:14:33 [app] [I] Completed 200 OK in 119ms (Views: 70.6ms | ActiveRecord: 16.7ms)
2017-01-19 08:14:44 [app] [I] Started GET "/templates/ext-searchbox.js" for 10.52.16.99 at 2017-01-19 08:14:44 -0500
2017-01-19 08:14:44 [app] [F] 
 | ActionController::RoutingError (No route matches [GET] "/templates/ext-searchbox.js"):
 |   actionpack (4.1.5) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
 |   actionpack (4.1.5) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
 |   railties (4.1.5) lib/rails/rack/logger.rb:38:in `call_app'
 |   railties (4.1.5) lib/rails/rack/logger.rb:22:in `call'
 |   actionpack (4.1.5) lib/action_dispatch/middleware/request_id.rb:21:in `call'
 |   rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
 |   rack (1.5.2) lib/rack/runtime.rb:17:in `call'
 |   activesupport (4.1.5) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
 |   actionpack (4.1.5) lib/action_dispatch/middleware/static.rb:64:in `call'
 |   actionpack (4.1.5) lib/action_dispatch/middleware/static.rb:64:in `call'
 |   rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
 |   railties (4.1.5) lib/rails/engine.rb:514:in `call'
 |   railties (4.1.5) lib/rails/application.rb:144:in `call'
 |   railties (4.1.5) lib/rails/railtie.rb:194:in `public_send'
 |   railties (4.1.5) lib/rails/railtie.rb:194:in `method_missing'
 |   rack (1.5.2) lib/rack/builder.rb:138:in `call'
 |   rack (1.5.2) lib/rack/urlmap.rb:65:in `block in call'
 |   rack (1.5.2) lib/rack/urlmap.rb:50:in `each'
 |   rack (1.5.2) lib/rack/urlmap.rb:50:in `call'
 |   /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
 |   /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
 |   /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
 |   /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'
 |   logging (1.8.2) lib/logging/diagnostic_context.rb:323:in `call'
 |   logging (1.8.2) lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'

Environment

  • Red Hat Satellite 6.2
  • Provisioning Template

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In