Bug 1201520 - [RFE] Usability suggestions to better identify a temporary (aka 24 hour) entitlement
Summary: [RFE] Usability suggestions to better identify a temporary (aka 24 hour) enti...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: William Poteat
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-12 21:29 UTC by John Sefler
Modified: 2020-07-16 08:32 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-22 14:52:21 UTC
Embargoed:


Attachments (Terms of Use)

Description John Sefler 2015-03-12 21:29:54 UTC
Description of problem:
Recently, a new pool type has been introduced with candlepin-0.9.42-1+ that corresponds host-limited subscriptions and is available only to virtual guests for which virt-who has not yet mapped the guestIds onto the host consumer.  An entitlement from one of these pools expires 24 hours after the virtual machine registers.

A usability issue with these pools is that they are difficult to identity before and after they are attached.  Currently the only indication that one of these pools has been attached is an Ends Date on consumed subscription, a "Partially Subscribed" status on the Consumed Subscription and Installed Product, and an invalid status reason of "Guest has not been reported on any host and is using a temporary unmapped guest subscription."

I'd like to propose a few usability modifications demonstrated below...



Steps to Reproduce:
[root@jsefler-os6 ~]# subscription-manager list --avail
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+
Subscription Name:   Awesome OS Instance Based one socket
Provides:            Awesome OS Instance Server Bits
SKU:                 awesomeos-onesocketib
Contract:            3
Pool ID:             8a9087e34c097838014c097989881a54
Provides Management: No
Available:           20
Suggested:           1
Service Level:       Standard
Service Type:        L1-L3
Subscription Type:   Instance Based     <========= APPEND "(Temporary)"
Ends:                03/09/2016
System Type:         Virtual

[root@jsefler-os6 ~]# subscription-manager attach --pool 8a9087e34c097838014c097989881a54
Successfully attached a subscription for: Awesome OS Instance Based one socket
[root@jsefler-os6 ~]# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name:   Awesome OS Instance Based one socket
Provides:            Awesome OS Instance Server Bits
SKU:                 awesomeos-onesocketib
Contract:            3
Account:             12331131231
Serial:              2157387796870295547
Pool ID:             8a9087e34c097838014c097989881a54
Provides Management: No
Active:              True
Quantity Used:       1
Service Level:       Standard
Service Type:        L1-L3
Status Details:      Guest has not been reported on any host and is using a temporary unmapped guest subscription.  <=============  THIS IS GOOD
Subscription Type:   Instance Based     <=============   APPEND "(Temporary)"
Starts:              03/10/2015  <=============  SHOULD PROBABLY START ON THE NOT VALID BEFORE DATE OF THE REGISTERED CONSUMER CERT
Ends:                03/13/2015  <=============  THIS IS GOOD
System Type:         Virtual

[root@jsefler-os6 ~]# subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Invalid

Awesome OS Instance Based one socket:
- Guest has not been reported on any host and is using a temporary unmapped guest subscription.                     <=============  THIS IS GOOD

[root@jsefler-os6 ~]# subscription-manager list --installed

+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+

Product Name:   Awesome OS Instance Server Bits
Product ID:     32060
Version:        6.1
Arch:           ALL
Status:         Subscribed    <========== Fix bug 1200882 and then CHANGE TO "Temporarily Subscribed"
Status Details:               <========== Fix bug 1200882 will make this "show "Guest has not been..." 
Starts:         03/10/2015
Ends:           03/09/2016    <========== Fix bug 1199443





Actual results:
above

Expected results:
In subscription-manager list --available....
  - Append " (Temporary)" to the Subscription Type when the pool is for unmapped_guests_only

In subscription-manager list --consumed...
  - Append " (Temporary)" to the Subscription Type when the entitlement came from a pool for unmapped_guests_only

In subscription-manager list --installed...
  - The installed products that are provided by the temporary pool should show a Status of "Temporarily Subscribed", and 
  - The installed product Status Details should show "Guest has not been reported on any host and is using a temporary unmapped guest subscription."

Comment 1 William Poteat 2015-03-26 19:03:03 UTC
The interested parties have agreed to stop at the (Temporary) addendum for subscription type. The "Temporarily Subscribed" status will not be added.

master commit dfd7e68ae83642f77c80590439353a0d66fe2961

Comment 2 Mike McCune 2016-03-28 23:45:25 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 3 Barnaby Court 2016-07-22 14:52:21 UTC
Marking as closed per Candlepin procedures as a fix has been merged or it has been determined to not be an issue.


Note You need to log in before you can comment on or make changes to this bug.