Bug 840117 - packagegroup category create fails
packagegroup category create fails
Status: CLOSED NOTABUG
Product: Pulp
Classification: Community
Component: user-experience (Show other bugs)
2.0.6
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: John Matthews
Preethi Thomas
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-13 15:05 EDT by Preethi Thomas
Modified: 2013-09-09 12:28 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-07-13 15:13:03 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Preethi Thomas 2012-07-13 15:05:16 EDT
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 15:13:03 EDT
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.