Description of problem: If you run node bind on a repo that is already bound to the consumer, the repo will show up twice in the bindings Version-Release number of selected component (if applicable): [root@rhsm-jenkins ~]# rpm -qa pulp-server pulp-server-2.5.2-0.3.beta.el6.noarch [root@rhsm-jenkins ~]# How reproducible: Steps to Reproduce: 1.Create / Sync a repo on a node server and bind the repo to a consumer 2.Setup that consumer as the node child 3.Enable and publish that repo from step1 on the node 4. Use node bind to bind that repo to the node child 5. Run consumer list 6. Run node list Actual results: [root@rhsm-jenkins ~]# pulp-admin consumer list +----------------------------------------------------------------------+ Consumers +----------------------------------------------------------------------+ Id: january Display Name: january Description: None Bindings: Confirmed: rhel6, rhel6, drpm, drpm Unconfirmed: Notes: [root@rhsm-jenkins ~]# pulp-admin node list +----------------------------------------------------------------------+ Child Nodes +----------------------------------------------------------------------+ Id: january Display Name: january Description: None Bindings: Additive: rhel6, rhel6, drpm, drpm Update Strategy: additive Notes: [root@rhsm-jenkins ~]# Expected results: Additional info:
Moved to https://pulp.plan.io/issues/666