Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-25762 [Regression]Satellite is not updating subscription status of the registered hosts
  3. SAT-25987

[QE] [Regression]Satellite is not updating subscription status of the registered hosts

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • 6.15.2
    • None
    • Candlepin
    • 0
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Rocket

      Description of problem:
      Satellite is still showing the registered hosts as "unentitled" even the hosts have valid subscriptions attached.

      How reproducible:
      Easy

      Steps to Reproduce:
      1. Disable SCA on the Satellite.
      2. Register a host without using activation key. Simply run "subscription-manager register" command.
      3. The host should have registered to the Satellite and Web UI is showing "unentitled" status.
      4. Attach a valid subscription to the host manually or use "subscription-manager attach --auto" command
      5. Run the "subscription-manager status" command. The status should be "Valid" or "Insufficient" (temporary subscription if no virt-who is reported)

      Actual results:
      Web UI still showing the host status as "Unentitled" even the client is subscribed with valid subscriptions or partially subscribed.

      Expected results:
      Web UI should update the host status

      Additional info:
      It is because Candlepin sent an event message with empty event data (see below) so Satellite skipped the subscription status update.
      ~~~
      principalType=trusteduser principal=foreman_admin target=COMPLIANCE entityId=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxx type=CREATED owner=xxxxxxxxxxxxxxxxxxxxxx eventData=null
      ~~~

      This is a known bug which has been fixed in candlepin-4.4.5-1.
      ~~~
      https://issues.redhat.com/browse/CANDLEPIN-786
      https://github.com/candlepin/candlepin/pull/4532
      ~~~

      QE Tracker for https://issues.redhat.com/browse/SAT-25762
      Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2280181

            rhn-support-sganar Shubham Ganar
            satellite-jira-automation@redhat.com Satellite Jira-Automation
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: