Bug 773000

Summary: errata installs fail with a traceback
Product: [Retired] Pulp Reporter: Pradeep Kilambi <pkilambi>
Component: user-experienceAssignee: Jeff Ortel <jortel>
Status: CLOSED NOTABUG QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: skarmark
Target Milestone: ---Keywords: Triaged
Target Release: Sprint 31   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-18 14:17:43 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 Pradeep Kilambi 2012-01-10 16:15:05 UTC
Description of problem:

errata install via the pulp cli errors with following traceback

Created task id: bb977d8a-3ba4-11e1-86d0-0023ae793dbc
Waiting: [\] Traceback (most recent call last):
  File "/usr/bin/pulp-admin", line 7, in <module>
    execfile(__file__)
  File "/home/pkilambi/code/pulp/bin/pulp-admin", line 23, in <module>
    admin.main()
  File "/home/pkilambi/code/pulp/src/pulp/client/lib/cli.py", line 152, in main
    command.main(self.args[1:])
  File "/home/pkilambi/code/pulp/src/pulp/client/pluginlib/command.py", line 129, in main
    action.main(args[1:])
  File "/home/pkilambi/code/pulp/src/pulp/client/pluginlib/command.py", line 213, in main
    self.run()
  File "/home/pkilambi/code/pulp/src/pulp/client/admin/plugins/errata.py", line 167, in run
    self.on_consumer(consumerid, errataids, importkeys=importkeys)
  File "/home/pkilambi/code/pulp/src/pulp/client/admin/plugins/errata.py", line 191, in on_consumer
    installed = result['installed']['resolved']+result['installed']['deps']
TypeError: list indices must be integers, not str

Comment 1 Sayli Karmarkar 2012-01-11 17:27:11 UTC
Jortel and Preethi are unable to reproduce this bug. Prad is going to try to reproduce it on a fresh f16 install before closing it.