Bug 1199078
Summary: | expired guest 24 hour subscription not removed on auto-attach | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Tom McKay <tomckay> |
Component: | Candlepin | Assignee: | Alex Wood <awood> |
Status: | CLOSED ERRATA | QA Contact: | Li Bin Liu <liliu> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | Nightly | CC: | awood, bbuckingham, cwelton, dgoodwin, jcallaha, jmontleo, mmccune, sgao, sthirugn |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-08-12 05:28:58 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Tom McKay
2015-03-05 12:49:38 UTC
Up for review at https://github.com/candlepin/candlepin/pull/838 This bug has been verified and passed, please check following steps, thanks! 1, Install latest Satellite 6.1 and import 24Hour subscription 2, Register guest and subscribe 24Hour subscription # subscription-manager subscribe --pool=8a90c5e64c6903d9014c690fcc1305ce Successfully attached a subscription for: Red Hat Enterprise Linux for SAP applications, Premium (8 sockets) (Up to 4 guests) # subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Enterprise Linux for SAP applications, Premium (8 sockets) (Up to 4 guests) Provides: Oracle Java (for RHEL Server) Red Hat Enterprise Linux for SAP Red Hat Enterprise Linux Server Red Hat Beta SKU: RH0274447 Contract: 10697951 Account: 5501040 Serial: 3754399522345018838 Pool ID: 8a90c5e64c6903d9014c690fcc1305ce Provides Management: No Active: True Quantity Used: 1 Service Level: PREMIUM Service Type: L1-L3 Status Details: Guest has not been reported on any host and is using a temporary unmapped guest subscription. Subscription Type: Standard (Temporary) Starts: 12/31/2014 Ends: 03/31/2015 System Type: Virtual 3, Change both Satellite server and guest time to 24 Hours later(or just wait 24 hours) # date -s 20150401 Wed Apr 1 00:00:00 CST 2015 4, Check 24 Hour subscription expired [root@unused ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Enterprise Linux for SAP applications, Premium (8 sockets) (Up to 4 guests) Provides: Oracle Java (for RHEL Server) Red Hat Enterprise Linux for SAP Red Hat Enterprise Linux Server Red Hat Beta SKU: RH0274447 Contract: 10697951 Account: 5501040 Serial: 3754399522345018838 Pool ID: 8a90c5e64c6903d9014c690fcc1305ce Provides Management: No Active: False Quantity Used: 1 Service Level: PREMIUM Service Type: L1-L3 Status Details: Subscription is expired Subscription Type: Standard (Temporary) Starts: 12/31/2014 Ends: 03/31/2015 System Type: Virtual 5, Restart rhsmcertd service and wait minutes, check expired 24 Hour subscription has been removed(system auto-subscribed here). # service rhsmcertd restart Redirecting to /bin/systemctl restart rhsmcertd.service [root@unused ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Employee Subscription Provides: Oracle Java (for RHEL Server) Red Hat Enterprise Linux Workstation Red Hat Enterprise Linux Load Balancer (for RHEL Server) Red Hat Enterprise Linux Server Red Hat Enterprise Linux High Availability (for RHEL Server) Red Hat Enterprise Linux Resilient Storage (for RHEL Server) SKU: SYS0395 Contract: Account: 5501040 Serial: 3147590346414504541 Pool ID: 8a90c5e64c6903d9014c690fc22f03de Provides Management: No Active: True Quantity Used: 1 Service Level: None Service Type: Self-Support Status Details: Subscription is current Subscription Type: Standard Starts: 12/31/2014 Ends: 12/31/2015 System Type: Physical 6, System status in Satellite web ui should be consistent with cmd This bug is slated to be released with Satellite 6.1. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:1592 |