Bug 1288626
Summary: | list of "Serial numbers unsuccessfully removed at the server:" is reporting poolIds rather than serials | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | John Sefler <jsefler> | ||||
Component: | subscription-manager | Assignee: | Chris Snyder <csnyder> | ||||
Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.8 | CC: | csnyder, jsefler, skallesh | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-05-10 20:38:41 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: | |||||||
Attachments: |
|
Description
John Sefler
2015-12-04 19:15:44 UTC
Please attach the rhsm.log if available. Thank you! Created attachment 1103285 [details]
rhsm.log from the attempt to remove many --pools
This may be an easier test.... [root@jsefler-6 ~]# subscription-manager attach --pool=8a908790516a011001516a0261720680 Successfully attached a subscription for: Awesome OS for x86_64 [root@jsefler-6 ~]# [root@jsefler-6 ~]# subscription-manager remove --pool=8a908790516a011001516a0261720680 --pool=123 Pools successfully removed at the server: 8a908790516a011001516a0261720680 Pools unsuccessfully removed at the server: 123 Serial numbers successfully removed at the server: 6047840749519172995 Serial numbers unsuccessfully removed at the server: 123 1 local certificate has been deleted. ^^^ In this case you see that 123 was never a serial number. It was an attempt to remove an unconsumed pool. Here's another variation of the same test with a slightly different response... [root@jsefler-6 ~]# subscription-manager remove --pool=123 Serial numbers unsuccessfully removed at the server: 123 ^^^ In this case, the appearance is that pools and serials are interchangeable which is not true. The PR below addresses this BZ as well as the comments contained herein: https://github.com/candlepin/subscription-manager/pull/1357 commit c8e5d1bc47dfd250f0f3e3c402c9f3588df10519 Author: Christopher Snyder <csnyder> Date: Mon Dec 14 11:07:43 2015 -0500 1288626: Does not report pool ids as serial numbers, ignore duplicates Marking bug as verified : [root@dhcp35-189 ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 2.0.10-1 subscription management rules: 5.19 subscription-manager: 1.16.7-1.el6 python-rhsm: 1.16.5-1.el6 [root@dhcp35-189 ~]# subscription-manager remove --pool 8ac6a3f45215de5a015215dfb790073a --pool 8ac6a3f45215de5a015215dfa0cb049b --pool 8ac6a3f45215de5a015215dfa0cb04er Pools successfully removed at the server: 8ac6a3f45215de5a015215dfb790073a 8ac6a3f45215de5a015215dfa0cb049b Pools unsuccessfully removed at the server: 8ac6a3f45215de5a015215dfa0cb04er Serial numbers successfully removed at the server: 2279667930591210846 2822766136687201651 2 local certificates have been deleted. [root@dhcp35-189 ~]# subscription-manager remove --pool 8ac6a3f45215de5a015215dfb3ea06d6 --serial 5716740667283576794 --pool 8ac6a3f45215de5a015215dfb790073a Pools successfully removed at the server: 8ac6a3f45215de5a015215dfb3ea06d6 Pools unsuccessfully removed at the server: 8ac6a3f45215de5a015215dfb790073a Serial numbers successfully removed at the server: 8623316578571674764 5716740667283576794 2 local certificates have been deleted. 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://rhn.redhat.com/errata/RHBA-2016-0797.html |