Bug 643952

Summary: pulp-admin packagegroup install failing
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: John Matthews <jmatthew>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Triaged
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-17 16:51:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 647488    

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