Hide Forgot
Description of problem: When you try to remove a pool that is not found no message/feedback is thrown to the user Version-Release number of selected component (if applicable): [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 How reproducible: Steps to Reproduce: when you provide invalid poolids along with invalid serial number , no message is thrown for invalid pool : [root@dhcp35-189 ~]# subscription-manager remove --pool 8ac6a3f45215de5a015215dfb790073a --serial 5716740667283576794 Serial numbers unsuccessfully removed at the server: 5716740667283576794 when you provide invalid poolids , no message is thrown for invalid pool : [root@dhcp35-189 ~]# subscription-manager remove --pool 8ac6a3f45215de5a015215dfb790073a --pool 8ac6a3f45215de5a015215dfb3ea06d6 Actual results: No message Expected results: should say something similar to " Pool '<poolid>' was not found." Additional info:
In upstream master as of the following commit: commit e418b77ce2a7389e310ac341a6beb46cb7eb3d0f Author: William Poteat <wpoteat> Date: Mon Jan 18 13:22:15 2016 -0500 1298586: Message needed for remove only invalid pool This will be included in the next build (set to be completed today) before devel-freeze. As such I am moving this BZ to the modified state.
I see the message for the invalid pool removal , hence moving bug to verified : [root@hp-dl320egen8-01 ~]# 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.8-1.el6 python-rhsm: 1.16.6-1.el6 [root@hp-dl320egen8-01 ~]# subscription-manager remove --pool 8ac6a3f45215de5a015215dfb790073a --pool 8ac6a3f45215de5a015215dfb3ea06d6 Pools unsuccessfully removed at the server: 8ac6a3f45215de5a015215dfb790073a 8ac6a3f45215de5a015215dfb3ea06d6 [root@hp-dl320egen8-01 ~]# subscription-manager remove --pool 8ac6a3f45215de5a015215dfb790073a --serial 5716740667283576794 Pools unsuccessfully removed at the server: 8ac6a3f45215de5a015215dfb790073a Serial numbers unsuccessfully removed at the server: 5716740667283576794
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