Bug 641945 - Error on running packagegroup create
Summary: Error on running packagegroup create
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 15:20 UTC by Preethi Thomas
Modified: 2011-08-16 12:22 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.