Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-40492

IoP - Unregistering host must clear inventory

XMLWordPrintable

    • None
    • None
    • None
    • None

      Description of problem:

      When a host is unregistered from Satellite in an IOP environment, the corresponding host entries in the Insights inventory are not automatically deleted. This leaves stale data in the inventory tables, which can lead to inaccuracies and potential system performance issues.

      How reproducible:

      always

      Is this issue a regression from an earlier version:

      no

      Steps to Reproduce:

      1. On an iop setup sat run the following command. Make a note of the count

      sudo -u postgres psql -d inventory_db -c "select count from hbi.hosts"

       

      2. Unregister and delete the host from satellite

      3. Again run the following command. Make a note of the count

      sudo -u postgres psql -d inventory_db -c "select count from hbi.hosts"

      Actual behavior:
      The counts are identical

      Expected behavior:
      [Describe what should be happening instead]

      Count in step 3 should be less than 1 if the host was deleted. 

      Business Impact / Additional info:

       

              rhn-engineering-jlenz Jeremy Lenz
              rhn-engineering-paji Partha Aji
              Cole Higgins Cole Higgins
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: