Hide Forgot
Description of problem: If the package you are trying to install is already install on a consumer in consumer group the error message that is provided is not informative root@preethi ~]# pulp-admin package install -n zsh --consumergroupid=consumer-group Created task id: 99b66eb5-9842-11e0-8924-002564a85a58 Task is scheduled for: 2011-06-16 14:01 Waiting: [\] error: operation failed: No installpackages with id 99b66eb5-9842-11e0-8924-002564a85a58 found
One goal of the tracker/worker tasks is to provide better tracking and feedback for operations like this. As part of that story, we plan to re-implement package installs on consumer groups. I expect we will need to update the client to display the extra details.
This looks fixed. Install zsh on a consumer group: /home/jslagle/code/pulp $ pulp-admin package install --consumergroupid test --name zsh The following consumers appear to be unavailable. You may continue with the understanding that your request will not complete until all consumers have processed the request or the request has timed out. Unavailable Consumers ------------------------------ f15 Continue? [y/n]:y Wait? [y/n]:y Created job id: 37212091-fc88-40dc-b4ea-7d15aa5e7bb4 Waiting: [\] Install Summary: [ FINISHED ] f15; packages installed: [u'zsh-4.3.11-2.fc15.x86_64'] Install zsh again on that same consumer group: /home/jslagle/code/pulp $ pulp-admin package install --consumergroupid test --name zsh Created job id: 16df471d-101d-4eb2-af6b-69ab5a8005f0 Waiting: [\] Install Summary: [ FINISHED ] f15; packages installed: [] No more error message and it tells you the package was not installed without marking the job as failed. I think this is the behavior we want.
build: 0.256
verified [root@preethi ~]# rpm -q pulp pulp-0.0.256-1.fc15.noarch [root@preethi ~]# pulp-admin package install -n zsh --consumergroupid=rhel6-group Created job id: 79f07ec1-25d6-49a0-a9c6-70b13b730b63 Waiting: [\] Install Summary: [ ERROR ] rhel6-client; Values instance has no attribute 'repos' [ FINISHED ] el6-client; packages installed: [] [root@preethi ~]#
Pulp v1.0 is released Closed Current Release.
Pulp v1.0 is released.