pulp-consumer exits(0) when registering a system already registered
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 $?
Version-Release number of selected component (if applicable):
pulp 2.3, pulp-consumer-client-2.3.1-1.fc19.noarch
Steps to Reproduce:
1. register a system
2. register a system
pulp-consumer exits with code 0 even though the system registration failed
the system is either re-registered or pulp-consumer exits with 1
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 +
#2 Updated by bmbouter almost 3 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.