Project

General

Profile

Actions

Bug #23872

closed

Error: No such repository with name <MISSING> (

Added by Rahul Bajaj almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

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

Actions #1

Updated by Rahul Bajaj almost 6 years ago

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

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

Also available in: Atom PDF