| Summary: | inconsistent help in pulp-admin packagegroup import | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Daniel Mach <dmach> |
| Component: | z_other | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | ||
| 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: | 2011-08-16 14:20:43 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 563609, 647488 | ||
fixed! $ sudo pulp-admin packagegroup import --repoid=foo Usage: pulp-admin <options> packagegroup import <options> pulp-admin: error: Option --comps is required; please see --help Build: 0.144 [root@preethi ~]# rpm -q pulp pulp-0.0.144-1.fc14.noarch [root@preethi ~]# [root@preethi ~]# pulp-admin packagegroup import --repoid=upload Usage: pulp-admin <options> packagegroup import <options> pulp-admin: error: Option --comps is required; please see --help Closing with Community Release 15 pulp-0.0.223-4. |
I'm using latest GIT code. $ pulp-admin packagegroup import --repoid=foo usage: Usage: pulp-admin <options> packagegroup import <options> pulp-admin: error: Option --compsxml is required; please see --help $ pulp-admin packagegroup import --repoid=foo --compsxml=bar usage: Usage: pulp-admin <options> packagegroup import <options> pulp-admin: error: no such option: --compsxml There's inconsistency between help and required options. The correct option should be --comps. Fix core/packagegroup.py: compsfile = self.get_required_option('compsxml') should be compsfile = self.get_required_option('comps')