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

Bug 642003

Summary: Error on running packagegroup info
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: John Matthews <jmatthew>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: jmatthew
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 12:06:20 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: 641987, 647488    

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.