| Summary: | Need better error messages when package install fails on consumergroup | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | user-experience | Assignee: | James Slagle <jslagle> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0.0 | CC: | jortel, skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-24 20:14:41 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Preethi Thomas
2011-06-16 17:50:15 UTC
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. |