Project

General

Profile

Bug #23872

Error: No such repository with name <MISSING> (

Added by Rahul Bajaj 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

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

Steps to Reproduce:
  1. 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

History

#1 Updated by Rahul Bajaj 3 months ago

  • Pull request https://github.com/Katello/hammer-cli-katello/pull/561 added

Also available in: Atom PDF