Project

Profile

Help

Issue #348

closed

pulp-admin client should validate repository listings and return an error if an invalid repo name is given.

Added by jperrin@centos.org 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:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Description of problem:
If an admin fat-fingers a repository name, no error is given.

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

How reproducible:
always.

Steps to Reproduce:
1.create repository
2. sync repository
3. see status of repository with typo in name

Actual results:
In the below example, this repository doesn't exist.

[root@mis5labsrv ~]# pulp-admin rpm repo sync run --repo-id fake-repo
--------------------------------------------------------------------
Synchronizing Repository [fake-repo]
--------------------------------------------------------------------

The following resource(s) could not be found:

fake-repo (repo_id)

[root@mis5labsrv ~]# pulp-admin rpm repo sync status --repo-id fake-repo
--------------------------------------------------------------------
Repository Status [fake-repo]
--------------------------------------------------------------------

The repository is not performing any operations

Expected results:
status should also tell you that the repository doesn't exist.

Additional info:

+ This bug was cloned from Bugzilla Bug #951685 +

Also available in: Atom PDF