Bug 671568 - Need a better error message when errata install fails
Summary: Need a better error message when errata install fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: James Slagle
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close 673021
TreeView+ depends on / blocked
 
Reported: 2011-01-21 21:25 UTC by Preethi Thomas
Modified: 2013-09-09 16:30 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:09:52 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2011-01-21 21:25:06 UTC
Description of problem:

My errata install failed because I unbound my repo from the consumer while doing the errata install. But the error message just said errata install failed. 


[root@preethi ~]# rpm -q pulp
pulp-0.0.129-1.fc14.noarch



[root@preethi ~]# pulp-admin errata install -e FEDORA-2010-15448 -e FEDORA-2010-17506 -e FEDORA-2011-0149 --consumerid=10.16.79.205
Created task id: 4c3afe70-25a3-11e0-8472-002564a85a58
............
Errata install failed

Comment 1 Preethi Thomas 2011-01-24 14:48:33 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"
    }
  }
}

Comment 2 Preethi Thomas 2011-07-26 18:24:45 UTC
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

Comment 3 Preethi Thomas 2011-08-16 12:09:52 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 4 Preethi Thomas 2011-08-16 12:22:09 UTC
Closing with Community Release 15

pulp-0.0.223-4.


Note You need to log in before you can comment on or make changes to this bug.