Actions
Bug #23872
closedError: No such repository with name <MISSING> (
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Description
Description of problem:
When using a nonexistent repo name in a command, Hammer says:
"""
Error: No such repository with name , in lifecycle environment and content view
"""
There is obviously some text missing (entered repo name)
Version-Release number of selected component (if applicable):
Tested on Sat 6.4 snap 5
How reproducible:
Deterministic
- hammer host create --compute-resource-id 1 --architecture x86_64 --domain example.com --operatingsystem-id 1 --partition-table-id 1 --location-id 2 --organization-id 1 --name fishy --root-password toortoor --kickstart-repository 'NONEXISTENT_REPO' --lifecycle-environment-id 1 --content-view-id 1
Could not create the host:
Error: No such repository with name , in lifecycle environment and content view
Actual results:
Missing entered repo name
Expected results:
Error: No such repository with name NONEXISTENT_REPO, in lifecycle environment and content view
Updated by Rahul Bajaj almost 6 years ago
- Pull request https://github.com/Katello/hammer-cli-katello/pull/561 added
Updated by Rahul Bajaj over 5 years ago
- Status changed from New to Closed
Issue is already fixed in the above mentioned pull request, closing this issue :)
Actions