Bug 641945

Summary: Error on running packagegroup create
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:11:07 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 15:20:26 UTC
Description of problem

Running packagegroup create ends up in Attribute Error. The package group gets created though.



[root@preethi ~]# pulp-admin packagegroup create --id=pt-grp1 --repoid=f13_test_schedule --name=pt-grp1

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 114, in run
    (self.options.groupid, self.options.repoid))
AttributeError: 'Create' object has no attribute 'options'

You have new mail in /var/spool/mail/root
[root@preethi ~]# pulp-admin packagegroup list --repoid=f13_test_schedule +------------------------------------------+
        Repository: f13_test_schedule
          Package Group Information
+------------------------------------------+
	 pt-grp1


Additional info:

Comment 1 John Matthews 2010-10-14 13:01:07 UTC
This was caused by a typo in the CLI

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

Comment 2 Jay Dobies 2010-10-15 12:24:15 UTC
Fixed in the 0.73 release.

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

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

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


[root@preethi ~]# pulp-admin packagegroup create  --repoid=f13 --id=testgroup --name=testgroup
Package group [testgroup] created in repository [f13]

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

pulp-0.0.223-4.

Comment 7 Preethi Thomas 2011-08-16 12:22:46 UTC
Closing with Community Release 15

pulp-0.0.223-4.