Bug 643952 - pulp-admin packagegroup install failing
Summary: pulp-admin packagegroup install failing
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
: ---
Assignee: John Matthews
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2010-10-18 15:53 UTC by Preethi Thomas
Modified: 2011-07-15 19:32 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-17 16:51:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2010-10-18 15:53:50 UTC
Description of problem:

[root@preethi ~]# pulp-admin packagegroup install --help
Usage: pulp-admin <options> packagegroup install <options>

Options:
  -h, --help            show this help message and exit
  -g PKGGROUPID, --pkggroupid=PKGGROUPID
                        packagegroup to install on a given consumer; to
                        specify multiple package groups use multiple -g
                        (required)
  --consumerid=CONSUMERID
                        consumer id (required)


[root@preethi ~]# pulp-admin packagegroup install -g preethi --consumerid=preethi.usersys.redhat.com
Usage: pulp-admin <options> packagegroup install <options>

pulp-admin: error: Option --id is required; please see --help

[root@preethi ~]# 
[root@preethi ~]# pulp-admin packagegroup install -g preethi --consumerid=preethi.usersys.redhat.com --id=f13
Usage: pulp-admin <options> packagegroup install <options>

pulp-admin: error: no such option: --id
You have new mail in /var/spool/mail/root


pulp-admin packagegroup install failing asking for --id

Comment 1 John Matthews 2010-10-27 17:05:28 UTC
Fixed with this commit:

http://git.fedorahosted.org/git/?p=pulp.git;a=commit;h=70e6c1625ae1121c0022fb8e1da1cb5df0285283


Note:  usage has changed the "-g" option has been renamed to "--id".

Comment 2 Jay Dobies 2010-10-29 16:58:24 UTC
Fixed in 0.77.

Comment 3 Jay Dobies 2010-11-03 19:35:23 UTC
Fixed in build 0.78.

Comment 4 Preethi Thomas 2010-11-05 17:59:59 UTC
verified that the option -g has been changed to --id

Also there is another bug on packagegroup install open. So moving this one verified.

[root@preethi ~]# pulp-admin packagegroup install -g=zulu-support --consumerid=10.16.79.206
Usage: pulp-admin <options> packagegroup install <options>

pulp-admin: error: no such option: -g
You have new mail in /var/spool/mail/root


[root@preethi ~]# pulp-admin packagegroup install --help
Usage: pulp-admin <options> packagegroup install <options>

Options:
  -h, --help            show this help message and exit
  --id=ID               package group id (required)
  --consumerid=CONSUMERID
                        consumer id (required)
[root@preethi ~]# pulp-admin packagegroup install --id=zulu-support --consumerid=10.16.79.206
Created task id: 2aae182e-e907-11df-8039-002564a85a58
.
[[u'zulu-support']] installed on 10.16.79.206

Comment 5 Preethi Thomas 2011-02-17 16:51:49 UTC
Closing with community release 

pulp-0.0.139-1.fc14.noarch


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