Bug 1165323 - wrong error message when unbinding consumer group with invalid repo-id
Summary: wrong error message when unbinding consumer group with invalid repo-id
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Pulp
Classification: Retired
Component: consumers
Version: 2.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Ina Panova
QA Contact: pulp-qe-list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-18 19:55 UTC by Preethi Thomas
Modified: 2015-02-28 22:44 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-28 22:44:33 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 619 0 None None None Never

Description Preethi Thomas 2014-11-18 19:55:17 UTC
Description of problem:
If you use an repo-id that is not bound to the consumer group, the error message displayed is wrong.

Version-Release number of selected component (if applicable):
[root@hp-dl380pgen8-02-vm-2 ~]# rpm -qa pulp-server
pulp-server-2.5.0-0.19.rc.el7.noarch


How reproducible:


Steps to Reproduce:
1.create a consumer group 
2.add consumers to the group
3.try to unbind a repo that is not bound to the consumer group

Actual results:

[root@hp-dl380pgen8-02-vm-2 ~]# rpm -qa pulp-server
pulp-server-2.5.0-0.19.rc.el7.noarch
[root@hp-dl380pgen8-02-vm-2 ~]# 
[root@hp-dl380pgen8-02-vm-2 ~]# 
[root@hp-dl380pgen8-02-vm-2 ~]# pulp-admin rpm consumer group members list --group-id grp1
+----------------------------------------------------------------------+
                         Consumer Group Members
+----------------------------------------------------------------------+

Id:           client1
Display Name: client1
Description:  None
Notes:        


[root@hp-dl380pgen8-02-vm-2 ~]# pulp-admin rpm consumer group list
+----------------------------------------------------------------------+
                            Consumer Groups
+----------------------------------------------------------------------+

Id:           grp1
Display Name: None
Description:  None
Consumer Ids: client1
Notes:        



[root@hp-dl380pgen8-02-vm-2 ~]# pulp-admin rpm consumer group unbind --consumer-group-id grp1 --repo-id rhel7-client
Consumer Group [grp1] does not exist on the server

Expected results:


Additional info:

Comment 1 Brian Bouterse 2015-02-28 22:44:33 UTC
Moved to https://pulp.plan.io/issues/619


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