I issued a consumer update from the admin-client, and received a traceback in the client log: $ pulp-admin rpm consumer package update run --consumer-id limeade -a -n whale Update task created with id [ e6daef73-751e-4fd1-889d-b898c68b0480 ] This command may be exited via ctrl+c without affecting the request. [-] Waiting to begin Update Succeeded An unexpected error has occurred. More information can be found in the client log file ~/.pulp/admin.log. $ tail -n 14 ~/.pulp/admin.log Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pulp/client/extensions/core.py", line 478, in run exit_code = Cli.run(self, args) File "/usr/lib/python2.6/site-packages/okaara/cli.py", line 966, in run exit_code = command_or_section.execute(self.prompt, remaining_args) File "/usr/lib/python2.6/site-packages/pulp/client/extensions/extensions.py", line 224, in execute return self.method(*arg_list, **clean_kwargs) File "/usr/lib/python2.6/site-packages/pulp/client/commands/consumer/content.py", line 234, in run self.process(consumer_id, task) File "/usr/lib/python2.6/site-packages/pulp/client/commands/polling.py", line 64, in process return self.succeeded(resource_id, task) File "/usr/lib/pulp/admin/extensions/rpm_admin_consumer/package.py", line 240, in succeeded resolved = details['resolved'] KeyError: 'resolved' The consumer was bound to a single repository, our "zoo" test repo.
commit 17acfcafab39f4f4e0ee4c9f83bf0aa84f2e7350 Author: Sayli Karmarkar <skarmark> Date: Thu Sep 19 21:19:59 2013 -0700 979589 - fixing consumer update for all packages failing with KeyError: 'resolved'
-a option is removed as a fix for another bug and by default, the command updates all packages if -n/--name argument is not used.
build: 2.3.0-0.15.alpha
[root@pulp-v2-server ~]# rpm -qa pulp-server pulp-server-2.3.0-0.16.alpha.el6.noarch [root@pulp-v2-server ~]# [root@pulp-v2-server ~]# pulp-admin rpm consumer package update run --consumer-id pulp-client Update task created with id [ 39e3c582-5b29-4652-afce-f792fea6d77c ] This command may be exited via ctrl+c without affecting the request. [-] Waiting to begin... Refresh Repository Metadata [ OK ] Downloading Packages Downloading Packages [ OK ] Check Package Signatures [ OK ] Running Test Transaction [ OK ] Running Transaction [ OK ] Update Succeeded +----------------------------------------------------------------------+ Updated +----------------------------------------------------------------------+ Name: v8 Version: 3.14.5.10 Arch: x86_64 Repoid: epel Name: createrepo Version: 0.9.9 Arch: noarch Repoid: pulp-v2-testing Name: mongodb-server Version: 2.2.6 Arch: x86_64 Repoid: epel Name: python-backports-ssl_match_hostname Version: 3.2 Arch: noarch Repoid: epel Name: python-requests Version: 1.1.0 Arch: noarch Repoid: epel Name: libmongodb Version: 2.2.6 Arch: x86_64 Repoid: epel Name: mongodb Version: 2.2.6 Arch: x86_64 Repoid: epel Name: gperftools-libs Version: 2.0 Arch: x86_64 Repoid: epel +----------------------------------------------------------------------+ Installed for Dependencies +----------------------------------------------------------------------+ Name: python-backports Version: 1.0 Arch: x86_64 Repoid: epel Name: libunwind Version: 1.1 Arch: x86_64 Repoid: epel [root@pulp-v2-server ~]#
Pulp 2.3 released.