[root@pulp-qe ~]# cat quick_pkg_install.sh #! /bin/bash pulp-admin package install --consumerid=fred -n patb pulp-admin package install --consumerid=fred -n emoticons [root@pulp-qe ~]# [root@pulp-qe ~]# rpm -q patb package patb is not installed [root@pulp-qe ~]# rpm -q emoticons package emoticons is not installed [root@pulp-qe ~]# ./quick_pkg_install.sh Created task id: d6e44b28-aef2-11e0-a923-54520040237d Task is scheduled for: None error: operation failed: Install packages already scheduled > client.log 2011-07-15 10:58:03,243 [INFO][fred] dispatch() @ dispatcher.py:415 - dispatching:{ "classname": "Packages", "kws": {}, "args": [ [ "patb" ], false, false ], "method": "install", "auth": { "secret": "f55900f0f175f724017ed6f1ff1dc7b629a98319f3c3e258099464673f06f39b", "uuid": "'fred'" } } 2011-07-15 10:58:03,267 [INFO][fred] install() @ pulpplugin.py:266 - installing packages: ['patb'] False 2011-07-15 10:58:04,023 [ERROR][MainThread] main() @ base.py:214 - error: (409, 'Install packages already scheduled', None) > pulp.log 2011-07-15 10:58:03,071 4878:140547922564864: pulp.server.webservices.controllers.services:INFO: services:338 agent status: GET received 2011-07-15 10:58:03,248 4878:140547754809088: gofer.messaging.policy:INFO: policy:226 sent (fred): { "classname": "Packages", "kws": {}, "args": [ [ "patb" ], false, false ], "method": "install" } 2011-07-15 10:58:03,797 4878:140547922564864: pulp.server.webservices.controllers.services:INFO: services:338 agent status: GET received 2011-07-15 10:58:04,014 4878:140548052940544: pulp.server.async:ERROR: async:50 Task [d764c5ca-aef2-11e0-ac6d-54520040237d] Task d764c5ca-aef2-11e0-ac6d-54520040237d: InstallPackages.install(, ) scheduled to run immediately conflicts with [d6e44b28-aef2-11e0-a923-54520040237d] Task d6e44b28-aef2-11e0-a923-54520040237d: InstallPackages.install(, ) scheduled to run immediately and cannot be enqueued 2011-07-15 10:58:05,174 4878:140548086511360: pulp.server.async:INFO: async:336 Task RMI (succeeded) Succeeded sn : db5ab8d5-8e44-406a-9286-835adb245946 origin : edea6a05-5f09-4e96-99d5-27a3959c87d0 user data : d6e44b28-aef2-11e0-a923-54520040237d retval: [['patb-0.1-1.noarch'], None] 2011-07-15 10:58:05,175 4878:140548086511360: pulp.server.tasking.task:INFO: task:365 Task succeeded: Task d6e44b28-aef2-11e0-a923-54520040237d: InstallPackages.install(, )
The issue here was the change I made for bugzilla #709500 with the --wait parameter. After further discussion, it makes sense to restore the previous behavior and instead change the option to be --nowait. committed to pulp master: 8c54707fc4deae65fb11f40746cbad1d3d6b79fc
build: 0.210
verified [root@preethi ~]# cat quick_pkg_install.sh #! /bin/bash pulp-admin package install --consumerid=pulp-client -n zsh pulp-admin package install --consumerid=pulp-client -n screen [root@preethi ~]# ./quick_pkg_install.sh Created task id: bfe3b607-c200-11e0-885b-002564a85a58 Task is scheduled for: None Waiting: [\] ['zsh-4.3.10-6.fc14.x86_64'] installed on pulp-client Created task id: c7897fd9-c200-11e0-ba7a-002564a85a58 Task is scheduled for: None Waiting: [\] ['screen-4.0.3-15.fc12.x86_64'] installed on pulp-client pulp.log 2011-08-08 16:55:29,414 8132:140569691014912: pulp.server.webservices.controllers.services:INFO: services:338 agent status: GET received 2011-08-08 16:55:29,767 8132:140569313539840: gofer.messaging.policy:INFO: policy:139 sent (pulp-client): { "classname": "Packages", "kws": {}, "args": [ [ "zsh" ], false, true ], "method": "install" } 2011-08-08 16:55:39,157 8132:140569313539840: pulp.server.tasking.task:INFO: task:367 Task succeeded: Task bfe3b607-c200-11e0-885b-002564a85a58: ConsumerApi.__installpackages(pulp-client, ['zsh'], ) 2011-08-08 16:55:42,211 8132:140569892341504: pulp.server.webservices.controllers.services:INFO: services:338 agent status: GET received 2011-08-08 16:55:42,601 8132:140569313539840: gofer.messaging.policy:INFO: policy:139 sent (pulp-client): { "classname": "Packages", "kws": {}, "args": [ [ "screen" ], false, true ], "method": "install" } 2011-08-08 16:55:46,660 8132:140569313539840: pulp.server.tasking.task:INFO: task:367 Task succeeded: Task c7897fd9-c200-11e0-ba7a-002564a85a58: ConsumerApi.__installpackages(pulp-client, ['screen'], ) client.log 2011-08-08 16:45:00,128 [INFO][pulp-client] dispatch() @ dispatcher.py:431 - dispatching:{ "classname": "Packages", "kws": {}, "args": [ [ "zsh" ], false, true ], "method": "install", "auth": { "secret": "dd7db40a8df3e4983f09bd1959188a7a3192ef8a43e03718437f8f45ff3e76cb", "uuid": "'pulp-client'" } } 2011-08-08 16:45:00,148 [INFO][pulp-client] install() @ pulpplugin.py:193 - installing packages: ['zsh'] import keys: False 2011-08-08 16:45:12,958 [INFO][pulp-client] dispatch() @ dispatcher.py:431 - dispatching:{ "classname": "Packages", "kws": {}, "args": [ [ "screen" ], false, true ], "method": "install", "auth": { "secret": "dd7db40a8df3e4983f09bd1959188a7a3192ef8a43e03718437f8f45ff3e76cb", "uuid": "'pulp-client'" } } 2011-08-08 16:45:12,992 [INFO][pulp-client] install() @ pulpplugin.py:193 - installing packages: ['screen'] import keys: False
Closing with Community Release 15 pulp-0.0.223-4.