Project

Profile

Help

Issue #498

pulp-consumer takes --help option as consumer-id

Added by igulina@redhat.com over 6 years ago. Updated over 2 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
2.4 Beta
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Description of problem:
--help is taken like a consumer ID

Version-Release number of selected component (if applicable):

rpm -qa | grep pulp-server

pulp-server-2.4.1-0.4.beta.fc20.noarch

How reproducible:
always

Steps to Reproduce:

pulp-consumer status

This consumer is not currently registered.

pulp-consumer -u admin register --consumer-id --help

Enter password:
Consumer [--help] successfully registered

pulp-consumer status

This consumer is registered to the server
[localhost] with the ID [--help].

+ This bug was cloned from Bugzilla Bug #1133886 +

History

#1 Updated by igulina@redhat.com over 6 years ago

In fact, any next string after --consumer-id is taken as consumer-id value.

pulp-consumer -u admin -p admin register --help

Command: register
Description: registers this consumer to the Pulp server

Available Arguments:

--consumer-id  - (required) uniquely identifies the consumer; only
                 alphanumeric, ., -, and _ allowed
--display-name - user-readable display name for the consumer
--description  - user-readable description for the consumer
--note         - adds/updates/deletes key-value pairs to pragmatically
                 identify the repository; pairs must be separated by an equal
                 sign (e.g. key=value); multiple notes can be added by
                 specifying this option multiple times; notes are deleted by
                 specifying "" as the value

pulp-consumer -u admin -p admin register --consumer-id --note

Consumer [--note] successfully registered

+ This comment was cloned from Bugzilla #1133886 comment 1 +

#2 Updated by bmbouter over 6 years ago

  • Severity changed from Low to 1. Low

#3 Updated by bmbouter over 2 years ago

  • Status changed from NEW to CLOSED - WONTFIX

#4 Updated by bmbouter over 2 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#5 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF