Bug 840117

Summary: packagegroup category create fails
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: user-experienceAssignee: John Matthews <jmatthew>
Status: CLOSED NOTABUG QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0.6   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-13 19:13:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Preethi Thomas 2012-07-13 19:05:16 UTC
Description of problem:
I am not sure if this is a user error

[root@preethi-el6-pulp ~]# pulp-admin repo uploads category create --repo rhel-6-x86_64-pulp --category-id pulp --name "pulp_packages" --description "pulp packages" -v
An unexpected error has occurred. More information can be found in the client
log file ~/.pulp/admin.log.


Version-Release number of selected component (if applicable):
[root@preethi-el6-pulp ~]# rpm -q pulp-rpm-server
pulp-rpm-server-0.0.313-1.el6.noarch


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

From the log
2012-07-13 15:04:01,088 - ERROR - Client-side exception occurred
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/pulp/client/extensions/core.py", line 470, in run
    Cli.run(self, args)
  File "/usr/lib/python2.6/site-packages/okaara/cli.py", line 790, in run
    exit_code = command_or_section.execute(remaining_args)
  File "/usr/lib/python2.6/site-packages/okaara/cli.py", line 166, in execute
    self.method(*arg_list, **clean_kwargs)
TypeError: create() takes exactly 1 non-keyword argument (2 given)

Comment 1 Preethi Thomas 2012-07-13 19:13:03 UTC
figured out my error
closing
[root@preethi-el6-pulp ~]# pulp-admin repo uploads category --repo rhel-6-x86_64-pulp --category-id pulp --name "pulp_packages" --description "pulp packages" -v
+----------------------------------------------------------------------+
                       Package Category Creation
+----------------------------------------------------------------------+

Package Category Details:
  Id:                      pulp
  Repo Id:                 rhel-6-x86_64-pulp
  Description:             pulp packages
  Display Order:           0
  Name:                    pulp_packages
  Packagegroupids:         None
  Translated Description:  
  Translated Name:         

Starting upload of selected packages. If this process is stopped through ctrl+c,
the uploads will be paused and may be resumed later using the resume command or
cancelled entirely using the cancel command.

Importing into the repository...
... completed

Deleting the upload request...
... completed

[root@preethi-el6-pulp ~]#