Project

General

Profile

Actions

Bug #24750

closed

hammer host create error: Found more than one compute_resource

Added by Anthony Chevalet over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:

Description

$ hammer host create --compute-resource <resource-name> --compute-profile <profile-name> ...

Error: Found more than one compute_resource. / compute_profile.

Since hammer 0.12.0 (Foreman 1.17) passing names doesn't work. We have to use IDs instead.
The exact same command works with hammer 0.11.0.
Tested on Foreman 1.18.1 and 1.19RC3 with Katello plugin.

As hammer doesn't support compute profiles yet, it becomes hardly usable for hosts provisioning (without direct API call)


Related issues 1 (1 open0 closed)

Related to Katello - Refactor #26027: hammer_cli_katello resolvers interfere with foreman onces on katello-extended resourcesNewChristine FouantActions
Actions

Also available in: Atom PDF