Unable to delete host from Red Hat Satellite Server.

Solution Verified - Updated -

Issue

  • Following error is observed when deleting hosts using hammer command on Red Hat Satellite Server.

     [root@satellite ~]# hammer host delete --name client1.example.com
     Could not delete the host:
      ActiveRecord::RecordNotDestroyed
    
  • Host is still available in Red Hat Satellite Web UI and hammer command after showing successful deleted message as below:

    $ hammer host delete --id 35 
       [Foreman] Username: admin
       [Foreman] Password for admin: XXXXXXXXXXXXXX
       Host deleted.
    

Environment

  • Red Hat Satellite 6.x.

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