Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 671568

Summary: Need a better error message when errata install fails
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: user-experienceAssignee: James Slagle <jslagle>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: 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
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.