Why does deleting actions for Provisioning templates fail in Red Hat Satellite 6?

Solution Verified - Updated -

Issue

  • When trying to delete Provisioning templates from webui below error is noticed in /var/log/forman/production.log file.

    Processing by ConfigTemplatesController#destroy as HTML
     Parameters: {"authenticity_token"=>"MP4ic7sJPojDLT6DLxEnIx85dSk68KE4XXSlyWLfL/Y=", "id"=>"41-test"}
    Failed to save:
    Redirected to https://satellite.example.com/config_templates
    Completed 302 Found in 66ms (ActiveRecord: 11.4ms)
    Processing by ConfigTemplatesController#index as HTML
     Rendered config_templates/index.html.erb within layouts/application (258.5ms)
     Rendered common/_searchbar.html.erb (2.7ms)
     Rendered home/_submenu.html.erb (3.8ms)
     Rendered home/_user_dropdown.html.erb (1.4ms)
    Read fragment views/tabs_and_title_records-3 (0.1ms)
     Rendered home/_topbar.html.erb (6.3ms)
     Rendered layouts/base.html.erb (7.5ms)
    Completed 200 OK in 296ms (Views: 267.6ms | ActiveRecord: 6.9ms)
    
  • hammer command fails to delete Provisioning templates on Red Hat Satellite 6 with Internal Server Error.

    # hammer -v -u admin -p password template delete --id=template-id
    [ERROR 2014-09-17 07:37:21 API] 500 Internal Server Error
    {
       "error" => {
           "message" => "resource have no errors"
       }
    }
    [ERROR 2014-09-17 07:37:21 Exception] resource have no errors
    Could not delete the config template:
     resource have no errors
    [ERROR 2014-09-17 07:37:21 Exception] 
    
    RestClient::InternalServerError (500 Internal Server Error):
       /usr/share/gems/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!'
       /usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:230:in `process_result'
       /usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:178:in `block in transmit'
       /usr/share/ruby/net/http.rb:852:in `start'
      [...]
    

NOTE: Replace the satellite.example.com with correct & complete Red Hat Satellite 6 fully qualified domain name [FQDN].

Environment

  • Red Hat Satellite 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content