Bug 642003 - Error on running packagegroup info
Summary: Error on running packagegroup info
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: John Matthews
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: pulp-verified verified-to-close
TreeView+ depends on / blocked
 
Reported: 2010-10-11 18:42 UTC by Preethi Thomas
Modified: 2011-08-16 12:20 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description Preethi Thomas 2010-10-11 18:42:28 UTC
Description of problem:


[root@preethi ~]# pulp-admin packagegroup info --id=pt-grp1 --repoid=f13
+------------------------------------------+
          Package Group Information
+------------------------------------------+

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/packagegroup.py", line 86, in run
    info = groups[self.options.groupid]
AttributeError: 'Info' object has no attribute 'options'

Comment 1 John Matthews 2010-10-14 13:01:42 UTC
Typo in CLI caused this, fixed with below commit

http://git.fedorahosted.org/git/?p=pulp.git;a=commit;h=27c0c414549be80aba0c2c0401e0384aabc7585b

Comment 3 John Matthews 2010-10-15 12:47:16 UTC
This will be in 0.74

Comment 4 Jay Dobies 2010-10-15 18:52:40 UTC
Included in build 0.74.

Comment 5 Preethi Thomas 2010-10-18 14:04:10 UTC
verified

[root@preethi ~]# pulp-admin packagegroup info --id=mygroup --repoid=f13+------------------------------------------+
          Package Group Information
+------------------------------------------+

Name                	mygroup                  
Id                  	mygroup                  
Mandatory packages  	[]                       
Default packages    	[u'zip']                 
Optional packages   	[u'screen']              
Conditional packages	{u'yp-tools': u'--help'} 


[root@preethi ~]# pulp-admin packagegroup info --id=zulu-support --repoid=f13
+------------------------------------------+
          Package Group Information
+------------------------------------------+

Name                	Zulu Support             
Id                  	zulu-support             
Mandatory packages  	[]                       
Default packages    	[]                       
Optional packages   	[]                       
Conditional packages	{u'openoffice.org-langpack-zu_ZA': u'openoffice.org-core', u'hunspell-zu': u'hunspell', u'hyphen-zu': u'hyphen'}

Comment 6 Preethi Thomas 2011-08-16 12:06:20 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 7 Preethi Thomas 2011-08-16 12:20:31 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.