Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
Version-Release number of selected component (if applicable):
How reproducible:
100%
Candlepin : sachtest.usersys.redhat.com
client : Rhel 6 with SM vsersion 60
Steps to Repro :
Login to the Client with valid credentails
subscribed for multiple product
Try to unsubscribe multiple entitlement at a time executing following command
subscription-manager-cli unsubscribe –serial=13 –serial=14 --serial=15
Expected Result :
we should have process to unsubscribe multiple entitlement at a time
we can use “unsubscribe” option but it will unsubscribe all entitlement
suppose i want to have some entitlement on my machine and remove some of them
so it will take more manual efforts
Actual Result :
Only the last mentioned subscription has been unsubscribed (--serial=15)
Multiple unsubscribe is not working
Note : If you think i am executing invalid scenario please close this defect
please retest once the next subscription-manager version 61 is released
Comment 3RHEL Program Management
2010-06-07 15:53:54 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.
Again i am able to repro defect
using
SM version : 67
candlepin : IT Env (Candlepin1)
[root@sachrhel6 facts]# subscription-manager-cli unsubscribe --serial=322 --serial=321
/consumers/2ba70315-b946-4bce-8a86-e45ae0ae3d6c/certificates/321
[root@sachrhel6 facts]# subscription-manager-cli list --consumed+-------------------------------------------+
Consumed Product Subscriptions
+-------------------------------------------+
Name: Red Hat Enterprise Linux Advanced Platform
ContractNumber: 1632092
SerialNumber: 322
Active: True
Begins: 2009-05-12
Expires: 2010-12-31
[root@sachrhel6 facts]#
using above step it removes only serial number "321 "
Comment 7Ajay Kumar Nadathur Sreenivasan
2010-08-24 15:34:23 UTC
Sachitanand,
Can you please attach the logs? I am sure subscription-manager must have faced some internal exception..
I got confirmation from prad
unsubscribe design is to unsubscribe only one serial number at a time
same like unsubscribe option in GUI
So i am resolving defect as verified
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