Issue #348
closedpulp-admin client should validate repository listings and return an error if an invalid repo name is given.
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 +