Issue #391
closedpulp-consumer exits(0) when registering a system already registered
Description
Description of problem:
- pulp-consumer -u admin -p admin register --consumer-id my_system
This system has already been registered as a consumer. Please use the unregister
command to remove the consumer before attempting to re-register.
- echo $?
0
Version-Release number of selected component (if applicable):
pulp 2.3, pulp-consumer-client-2.3.1-1.fc19.noarch
How reproducible:
Always
Steps to Reproduce:
1. register a system
2. register a system
Actual results:
pulp-consumer exits with code 0 even though the system registration failed
Expected results:
the system is either re-registered or pulp-consumer exits with 1
Additional info:
affects automation; the output of the command has to be parsed this way instead of just checking the exit code value
+ This bug was cloned from Bugzilla Bug #1052335 +
Updated by bmbouter almost 4 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter almost 4 years ago
- Severity set to 1. Low
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.