Bug 642740 - Running errata list throws error
Summary: Running errata list throws error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
: ---
Assignee: Jason Connor
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: pulp-verified verified-to-close
TreeView+ depends on / blocked
 
Reported: 2010-10-13 17:48 UTC by Preethi Thomas
Modified: 2014-03-31 01:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:09:25 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2010-10-13 17:48:10 UTC
Description of problem:


[root@preethi ~]# pulp-admin errata list --consumerid=preethi.usersys.redhat.com
 
Traceback (most recent call last):
  File "/usr/bin/pulp-admin", line 24, in <module>
    PulpAdmin().main()
  File "/usr/lib/python2.6/site-packages/pulp/client/cli/base.py", line 101, in main
    command.main(args[1:])
  File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 145, in main
    action.main(args[1:])
  File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 264, in main
    self.run()
  File "/usr/lib/python2.6/site-packages/pulp/client/core/errata.py", line 80, in run
    errata = self.cconn.errata(consumerid, self.options.type)
AttributeError: 'List' object has no attribute 'options'



root@preethi ~]# pulp-admin errata list --repoid=f13

Traceback (most recent call last):
  File "/usr/bin/pulp-admin", line 24, in <module>
    PulpAdmin().main()
  File "/usr/lib/python2.6/site-packages/pulp/client/cli/base.py", line 101, in main
    command.main(args[1:])
  File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 145, in main
    action.main(args[1:])
  File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 264, in main
    self.run()
  File "/usr/lib/python2.6/site-packages/pulp/client/core/errata.py", line 78, in run
    errata = self.rconn.errata(repoid, self.options.type)
AttributeError: 'List' object has no attribute 'options'

Comment 1 Jay Dobies 2010-10-20 16:57:05 UTC
Fixed in 0.75.

Comment 2 Preethi Thomas 2010-10-21 19:19:22 UTC
verified

[root@preethi ~]# pulp-admin errata  list --repoid=f13_x86_64_update |more


[u'FEDORA-2010-9381', u'FEDORA-2010-12865', u'FEDORA-2010-14104', u'FEDORA-2010-
15543', u'FEDORA-2010-10208', u'FEDORA-2010-7956', u'FEDORA-2010-14217', u'FEDOR
A-2010-15075', u'FEDORA-2010-14855', u'FEDORA-2010-10353', u'FEDORA-2010-10356',
 u'FEDORA-2010-10355', u'FEDORA-2010-10684', u'FEDORA-2010-9712', u'FEDORA-2010-
9719', u'FEDORA-2010-12469', u'FEDORA-2010-11084', u'FEDORA-2010-10578', u'FEDOR
A-2010-12510', u'FEDORA-2010-12889', u'FEDORA-2010-12514', u'FEDORA-2010-11795',
 u'FEDORA-2010-11796', u'FEDORA-2010-11552', u'FEDORA-2010-11551', u'FEDORA-2010
-15330', u'FEDORA-2010-11424', u'FEDORA-2010-10828', u'FEDORA-2010-10821', u'FED
ORA-2010-10917', u'FEDORA-2010-12905', u'FEDORA-2010-8445', u'FEDORA-2010-14208'
, u'FEDORA-2010-13811', u'FEDORA-2010-13813', u'FEDORA-2010-11228', u'FEDORA-201
0-9098', u'FEDORA-2010-10360', u'FEDORA-2010-11164', u'FEDORA-2010-10548', u'FED
ORA-2010-15931', u'FEDORA-2010-7723', u'FEDORA-2010-15937', u'FEDORA-2010-15938'
, u'FEDORA-2010-12399', u'FEDORA-2010-11541', u'FEDORA-2010-14680', u'FEDORA-201
0-11431', u'FEDORA-2010-13148', u'FEDORA-2010-13144', u'FEDORA-2010-10695', u'FE
DORA-2010-12846', u'FEDORA-2010-10141', u'FEDORA-2010-10144', u'FEDORA-2010-8450
', u'FEDORA-2010-14278', u'FEDORA-2010-7731', u'FEDORA-2010-15335', u'FEDORA-201
0-11230', u'FEDORA-2010-14872', u'FEDORA-2010-11243', u'FEDORA-2010-14891', u'FE
DORA-2010-14893', u'FEDORA-2010-14897', u'FEDORA-2010-9030', u'FEDORA-2010-11157
', u'FEDORA-2010-11156', u'FEDORA-2010-10508', u'FEDORA-2010-10796', u'FEDORA-20
10-15924', u'FEDORA-2010-13553', u'FEDORA-2010-11448', u'FEDORA-2010-13773', u'F
EDORA-2010-13776', u'FEDORA-2010-13778', u'FEDORA-2010-10973', u'FEDORA-2010-160
07', u'FEDORA-2010-9861', u'FEDORA-2010-9868', u'FEDORA-2010-12531', u'FEDORA-20
10-9625', u'FEDORA-2010-14264', u'FEDORA-2010-14262', u'FEDORA-2010-8930', u'FED
--More--

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

pulp-0.0.223-4.

Comment 4 Preethi Thomas 2011-08-16 12:21:57 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.