Number of actual consumed subscriptions and Count of subscriptions on Red Hat Satellite 6 WebUI does not match.

Solution Verified - Updated -

Environment

  • Red Hat Satellite 6

Issue

  • The number of subscriptions that are actually attached and the count on the Red Hat Satellite WebUI are different, when checked under the path WebUI -> Content -> Red Hat Subscriptions
  • For example: If 13 JBoss subscriptions are actually consumed by 13 servers, Red Hat Satellite WebUI shows incorrect count, whereas it should show the count as 13.

Resolution

  • Take the backup of your Red Hat Satellite Server.

  • Execute the below command on Red Hat Satellite Server and check, if it shows the correct count-

    # foreman-rake katello:reimport
    
  • If results are still not reflected as expected then check for the stale/orphaned entries using the below command-

    # foreman-rake katello:clean_backend_objects
    
  • If the output of the above commands shows any number of orphaned consumer then remove them using below command-

    # foreman-rake katello:clean_backend_objects COMMIT=true
    
  • Now check the counter on WebUI if it is correct and resolves the discrepancy.

Root Cause

  • Count of consumed subscription was showing wrong on WebUI due to a discrepancy between WebUI and Database.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.