Bug 671568
| Summary: | Need a better error message when errata install fails | ||
|---|---|---|---|
| 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: | unspecified | CC: | 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: | 2011-08-16 12:09:52 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 647488, 673021 | ||
|
Description
Preethi Thomas
2011-01-21 21:25:06 UTC
Also if the errata is already on the system, you get the same message
[root@preethi ~]# pulp-admin errata install -e FEDORA-2010-17862 FEDORA-2010-17510 FEDORA-2010-18466 --consumerid=10.16.79.205 -y
Created task id: 51728b42-27c9-11e0-a184-002564a85a58
.
Errata install failed
from the client.log
2011-01-24 09:46:41,798 [INFO][10.16.79.205] send() @ producer.py:58 - {29b4f720-ca90-47a7-b127-29340628df04} sent (asynctaskreplyqueue;{create:always,node:{type:queue,durable:True},link:{durable:True,x-subscribe:{exclusive:True}}})
{
"origin": "29b4f720-ca90-47a7-b127-29340628df04",
"version": "0.2",
"sn": "9df76efd-04cf-4f4c-bcca-91144705465b",
"any": "51728b42-27c9-11e0-a184-002564a85a58",
"result": {
"exval": "Traceback (most recent call last):\n\n File \"/usr/lib/python2.6/site-packages/gofer/messaging/dispatcher.py\", line 252, in __call__\n retval = method(*args, **keywords)\n\n File \"/usr/lib/gofer/plugins/pulp.py\", line 157, in install\n yb.processTransaction()\n\n File \"/usr/lib/python2.6/site-packages/yum/__init__.py\", line 4167, in processTransaction\n self._doTestTransaction(callback,display=rpmTestDisplay)\n\n File \"/usr/lib/python2.6/site-packages/yum/__init__.py\", line 4266, in _doTestTransaction\n raise Errors.YumTestTransactionError, errstring\n\nYumTestTransactionError: Test Transaction Errors: package gdb-7.1-34.fc13.x86_64 is already installed\n\n",
"xargs": [],
"xmodule": "yum.Errors",
"xclass": "YumTestTransactionError",
"xstate": {
"value": "Test Transaction Errors: package gdb-7.1-34.fc13.x86_64 is already installed\n"
}
}
}
verified [root@preethi ~]# rpm -q pulp pulp-0.0.213-1.fc14.noarch [root@preethi ~]# pulp-admin errata install -e FEDORA-2011-8717 --consumerid=pulp-client Error:Errata ['FEDORA-2011-8717'] you requested are not applicable for your system Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |