Description of problem: [root@10 ~]# rpm -q pulp pulp-0.0.114-1.fc13.noarch If you try to bind a remote consumer to the repo by running pulp-admin consumer bind on the server, the repo is not getting bound. See in the example. my pulp-server is preethi I have 2 comsumers in there [root@preethi ~]# pulp-admin consumer list +------------------------------------------+ Consumer Information +------------------------------------------+ Id preethi.usersys.redhat.com Description None Subscribed Repos /pulp/api/consumers/preethi.usersys.redhat.com/repoids/ Additional info {} Id 10.16.79.198 Description None Subscribed Repos /pulp/api/consumers/10.16.79.198/repoids/ Additional info {} see 10.16.79.198 is a remote client Now I try to run consumer bind from my server [root@preethi ~]# pulp-admin consumer bind --id=10.16.79.198 --repoid=f13 Successfully subscribed consumer [10.16.79.198] to repo [f13] Now If I do yum repolist on the consumer it doesn't list the pulp repo [root@10 ~]# yum repolist fedora/metalink | 21 kB 00:00 fedora | 4.3 kB 00:00 fedora/primary_db | 13 MB 00:18 fedora-pulp | 1.3 kB 00:00 fedora-pulp/primary | 3.0 kB 00:00 fedora-pulp 10/10 updates/metalink | 19 kB 00:00 updates | 4.7 kB 00:00 updates/primary_db | 5.6 MB 00:10 repo id repo name status fedora Fedora 13 - x86_64 20,840 fedora-pulp Pulp Testing Builds 10 updates Fedora 13 - x86_64 - Updates 8,235 repolist: 29,085 [root@10 ~]# rpm -q pulp pulp-0.0.114-1.fc13.noarch 1. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
[root@preethi ~]# pulp-admin consumer bind --id=10.16.79.198 --repoid=pulp-repoSuccessfully subscribed consumer [10.16.79.198] to repo [pulp-repo] [root@preethi ~]# pulp-admin package install -n pulp-cds --consumerid=10.16.79.198 Created task id: af4d6866-0a05-11e0-9a03-002564a85a58 Task is scheduled for: 2010-12-17 12:47 . Package install failed 2010-12-17 12:37:17,860 [INFO][10.16.79.198] send() @ producer.py:58 - {406466f1-e360-495a-ac09-de32fc16e4be} sent (asynctaskreplyqueue;{create:always,node:{type:queue,durable:True},link:{durable:True,x-subscribe:{exclusive:True}}}) { "origin": "406466f1-e360-495a-ac09-de32fc16e4be", "version": "0.2", "sn": "24205961-0e57-47a3-9575-7ad28b0edbf3", "any": "af4d6866-0a05-11e0-9a03-002564a85a58", "result": { "exval": "Traceback (most recent call last):\n\n File \"/usr/lib/python2.6/site-packages/gofer/messaging/dispatcher.py\", line 252, in __call__\n retval = method(*args, **keywords)\n\n File \"/usr/lib/gofer/plugins/pulp.py\", line 101, in install\n pkgs = yb.pkgSack.returnNewestByName(info)\n\n File \"/usr/lib/python2.6/site-packages/yum/packageSack.py\", line 528, in returnNewestByName\n raise PackageSackError, 'No Package Matching %s' % ui_pats\n\nPackageSackError: No Package Matching pulp-cds\n", "xargs": [], "xmodule": "yum.Errors", "xclass": "PackageSackError", "xstate": { "value": "No Package Matching pulp-cds" } }
Remote class 'RepoLib' renamed to 'Repo'. Server API updated to match. Fixed: d471805924691b5f349ab66c5abb3dad75d2841e.
Fixed in build 0.123.
verified [root@preethi ~]# rpm -q pulp pulp-0.0.123-1.fc14.noarch [root@preethi ~]# pulp-admin consumer bind --id=10.16.79.185 --repoid=pulp-repo Successfully subscribed consumer [10.16.79.185] to repo [pulp-repo] [root@10 ~]# yum repolist f13 | 3.7 kB 00:00 pulp-repo | 1.3 kB 00:00 pulp-repo/primary | 3.1 kB 00:00 pulp-repo 10/10 repo id repo name status f13 f13 3,102 fedora Fedora 13 - x86_64 20,840 fedora-pulp Pulp Testing Builds 10 pulp-repo pulp-repo 10 updates Fedora 13 - x86_64 - Updates 8,632 repolist: 32,594 [root@preethi ~]# pulp-admin package install -n pulp-cds --consumerid=10.16.79.185 Created task id: ee682223-1f31-11e0-baa5-002564a85a58 Task is scheduled for: 2011-01-13 11:26 . [[['pulp-cds-0.0.123-1.fc13.noarch', 'pulp-cds-0.0.123-1.fc13.noarch'], None]] installed on 10.16.79.185 [root@10 ~]# rpm -q pulp-cds pulp-cds-0.0.123-1.fc13.noarch
Closing with Community Release 15 pulp-0.0.223-4.