RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 607105 - Not able to unsubscribe using serial number displayed in consumed list
Summary: Not able to unsubscribe using serial number displayed in consumed list
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.1
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Bryan Kearney
QA Contact: spandey
URL:
Whiteboard:
Depends On:
Blocks: 568421
TreeView+ depends on / blocked
 
Reported: 2010-06-23 09:07 UTC by spandey
Modified: 2015-04-23 23:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 13:37:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0611 0 normal SHIPPED_LIVE new package: subscription-manager 2011-05-18 17:56:21 UTC

Description spandey 2010-06-23 09:07:58 UTC
Description of problem:


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


How reproducible:
100%

Prerequisite : 
Candlepin : IT-candlepin
Client : RHEL 6 with SM version 63 

steps to repro :
1 Login to client console and subscribe following product 

Red Hat Enterprise Linux Advanced Platform, Standard (Unlimited Sockets)
Red Hat Directory Server

2 execute –list consumed to find out serial number 
3 execute following command to unsubscribe using serial number 

 subscription-manager-cli unsubscribe –serial=<serial number>


Expected Result 
At step 2 consumed list should display serial number of every subscribed product 
At step 3 entitlement should unsubscribe using serial number


Actual Result : 

serial number not getting displayed for product “Red Hat Directory Server 
”

Not able to unsubscribe “Red Hat Enterprise Linux Advanced Platform, Standard (Unlimited Sockets)
”
entitlement using displayed serial number 

[root@sachrhel6 ~]# subscription-manager-cli list --consumed

+-------------------------------------------+

    Consumed Product Subscriptions

+-------------------------------------------+





Name:                   Red Hat Enterprise Linux Advanced Platform, Standard (Unlimited Sockets)

ContractNumber:         1124                     

SerialNumber:           1888790                  

Active:                 True                     

Begins:                 Wed May 26 00:00:00 2010 

Expires:                Wed May 25 00:00:00 2011 





Name:                   Red Hat Directory Server 

ContractNumber:         1123                     

SerialNumber:           None                     

Active:                 True                     

Begins:                 Thu May 27 00:00:00 2010 

Expires:                Thu May 26 00:00:00 2011 



 subscription-manager-cli unsubscribe --serial=1888790

/consumers/1e59754d-b061-44ec-a38b-e3ae66dfdd75/certificates/1888790

Entitlement Certificate with serial number 1,888,790 could not be found.


Note : successfully getting unsubscribe using contract number

Comment 2 RHEL Program Management 2010-06-23 09:22:53 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Ajay Kumar Nadathur Sreenivasan 2010-06-23 20:15:20 UTC
I have tested the above steps with standalone candlepin and also with the server running in the fte environment with the latest build. 
Here are the steps I followed,

1. unregister existing consumer and register new consumer with jsomara:redhat
2. list products using subscription-manager-cli list --available
3. Bind to one of the products 
4. unsubscribe using serial=value. It works. Only if you try to unsubscribe a product already unsubscribed, I get 
     "Entitlement Certificate with serial number 1,206 could not be found."

5. Also the serials were always printed executing list --consumed. 

In all these cases, I could not reproduce it. However if you are able to reproduce it, please provide the following info:

1. The precise server against which the test was carried out
2. The machine used as client
3. login information so that I can observe the behaviour

thanks!

Comment 4 spandey 2010-07-14 13:17:34 UTC
Tested with Sm version 67 
Candlepin : IT Env (candlepin1)

Working Fine 

successfully unsubscribed using serial number 

so i moving defect state from ON_QA to verified

Comment 6 errata-xmlrpc 2011-05-19 13:37:26 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0611.html


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