Description of problem: If you try to bind a non existing repo to a consumer the error message says "the consumer doesn't exist Version-Release number of selected component (if applicable): [root@preethi-el6-pulp ~]# rpm -qa pulp-rpm-server pulp-rpm-server-2.0.2-1.el6.noarch How reproducible: Steps to Reproduce: [root@preethi-el6-pulp ~]# pulp-admin repo list +----------------------------------------------------------------------+ Repositories +----------------------------------------------------------------------+ Id: zoo Display Name: zoo Description: None Content Unit Count: 39 Notes: Id: rhel6_2 Display Name: rhel6_2 Description: None Content Unit Count: 7493 Notes: Repo: Rhel6 Id: bugs Display Name: bugs Description: None Content Unit Count: 1 Notes: Id: errata_demo Display Name: errata_demo Description: None Content Unit Count: 1 Notes: Id: rpm Display Name: rpm Description: None Content Unit Count: 1 Notes: [root@preethi-el6-pulp ~]# pulp-admin consumer list +----------------------------------------------------------------------+ Consumers +----------------------------------------------------------------------+ Id: self-client Display Name: self-client Description: None Notes: Id: pulp-client Display Name: pulp-client Description: None Notes: [root@preethi-el6-pulp ~]# pulp-admin consumer bind --repo-id test --consumer-id pulp-client Consumer [pulp-client] does not exist on the server [root@preethi-el6-pulp ~]# Actual results: Expected results: Additional info:
https://github.com/pulp/pulp/pull/105
https://github.com/pulp/pulp_rpm/pull/1
build: 0.332
verified [root@pulp-master ~]# rpm -q pulp-rpm-server pulp-rpm-server-0.0.333-1.fc17.noarch [root@pulp-master ~]# [root@pulp-master ~]# pulp-admin consumer bind --repo-id test --consumer-id pulp-master Repository [test] does not exist on the server
Pulp v2.0 released