Project

Profile

Help

Issue #1637

closed

Pulp Admin returns 0 even when there are errors

Added by Ichimonji10 about 8 years ago. Updated about 5 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Master
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

It is possible to create and sync a docker repository with the following commands:

pulp-admin docker repo create \
    --feed ${feed} \
    --repo-id ${repo_id} \
    --upstream-name ${upstream_name}
pulp-admin docker repo sync --repo-id ${repo_id}

The second command returns a status code of 0 regardless of whether the sync succeeds.


Related issues

Is duplicate of Pulp - Issue #427: Return code of the operation called by pulp-admin should be propagated to pulp-adminCLOSED - WONTFIXActions

Also available in: Atom PDF