Project

Profile

Help

Issue #391

closed

pulp-consumer exits(0) when registering a system already registered

Added by mkovacik@redhat.com about 9 years ago. Updated about 5 years ago.

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

Description

Description of problem:

  1. 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.
  1. 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 +

Also available in: Atom PDF