[root@pulp-nightly ~]# pulp-admin repo create --id=foo Successfully created repository [ foo ] [root@pulp-nightly ~]# pulp-admin package upload --repoid=foo /tmp/patb-0.1-1.x86_64.rpm * Starting Package Upload operation. See /var/log/pulp/client.log for more verbose output * Performing Package Uploads to Pulp server * Performing Repo Associations * Package Upload complete. [root@pulp-nightly ~]# pulp-client -u admin -p admin consumer create --id=fred warning: this client is not registered; please register to continue Successfully created consumer [ fred ] [root@pulp-nightly ~]# pulp-client consumer bind --repoid=foo Successfully subscribed consumer [fred] to repo [foo] [root@pulp-nightly ~]# pulp-admin package install -n patb --consumerid=fred Created task id: 448ef6a6-3dd4-11e0-8409-5452004fdd6d Task is scheduled for: 2011-02-21 11:04 .Traceback (most recent call last): File "/usr/bin/pulp-admin", line 149, in <module> admin.main() File "/usr/lib/python2.6/site-packages/pulp/client/cli/base.py", line 137, in main command.main(args[1:]) File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 118, in main action.main(args[1:]) File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 224, in main self.run() File "/usr/lib/python2.6/site-packages/pulp/client/core/package.py", line 113, in run status = self.consumer_api.task_status(spath) AttributeError: 'ConsumerAPI' object has no attribute 'task_status' Looks like task_status api call was moved the webservice layer.
task_status() on base connection class not accounted for during last client connections classes refactoring. Added to PulpAPI. Also, RepositoryAPI.sync_status() replace with PulpAPI.task_status(). commit: 2217bbfc50fb9e981de88291418e363b33efa70d
Build: 0.140
[root@preethi upload]# rpm -q pulp pulp-0.0.140-1.fc14.noarch [root@preethi ~]# pulp-admin package install -n zsh --consumerid=pulp-client Created task id: a70052c2-3e99-11e0-9858-002564a85a58 Task is scheduled for: 2011-02-22 10:37 ... [[['zsh-4.3.10-5.fc14.x86_64', 'zsh-4.3.10-5.fc14.x86_64'], None]] installed on pulp-client
Closing with Community Release 15 pulp-0.0.223-4.