Project

General

Profile

Bug #15209

Satellite webUI, Subscription Status shows green instead of red if registered system without auto-attach.

Added by Mike McCune almost 3 years ago. Updated 11 months ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1337522
Description of problem:

Satellite webUI, Subscription Status shows green instead of red even if content host is not attached with a valid subscription.

Version-Release number of selected component (if applicable):
Satellite 6.2Beta

Steps to Reproduce:

1) Register RHEL 7 system to Satellite 6.2 beta by following below command, ===
  1. subscription-manager register --org="RedHat" --environment="Library" ===

2) Then in the Satellite webUI it Hosts >> Content Hosts (Subscription Status shows green instead of red)

- No subscription is attached to host,
=
  1. subscription-manager list --consumed
    No consumed subscription pools to list ===

Actual results:
In the Satellite webUI it Hosts ==>> Content Hosts (Subscription Status shows green instead of red)

Expected results:
It should show Subscription Status as red.

Additional info:
PFA screenshot from Satellite server.


Related issues

Related to Katello - Bug #12533: Subscriptions TrackerNew

Associated revisions

Revision c621ef28 (diff)
Added by John Mitsch almost 3 years ago

Fixes #15209 - Sub status updates after host registration (#6118)

Hosts were updating their global status when registering, but not
updating their subscription status as that is Katello-specific
and won't be included in refresh_global_status.

History

#1 Updated by Mike McCune almost 3 years ago

  • Related to Bug #12533: Subscriptions Tracker added

#2 Updated by Eric Helms almost 3 years ago

  • Legacy Backlogs Release (now unused) set to 143

#3 Updated by Mike McCune almost 3 years ago

  • Assignee set to John Mitsch

#4 Updated by The Foreman Bot almost 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6118 added

#5 Updated by John Mitsch almost 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF