Bug 840117 - packagegroup category create fails
Summary: packagegroup category create fails
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: 2.0.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: John Matthews
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-13 19:05 UTC by Preethi Thomas
Modified: 2013-09-09 16:28 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-13 19:13:03 UTC
Embargoed:


Attachments (Terms of Use)

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 ~]#


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