Project

General

Profile

Bug #15290

`hammer host-collection hosts` command is undefined

Added by Andrew Kofink about 3 years ago. Updated 12 months ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1335295
Description of problem:
[vagrant@sat-test-rhel7 ~]$ hammer host-collection hosts
Error: The server does not support such operation.

Version-Release number of selected component (if applicable):
satellite-6.2.0-10.0.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. run `hammer host-collection hosts`

Actual results:
Error: The server does not support such operation.

Expected results:
hammer host-collection hosts --id 1
Something like this:
---|----------------------------|------------------|------------|----------------|------------------
ID | NAME | OPERATING SYSTEM | HOST GROUP | IP | MAC
---|----------------------------|------------------|------------|----------------|------------------
1 | sat-test-rhel7.example.com | RedHat 7.2 | | 192.168.121.97 | 52:54:00:33:5e:4e
---|----------------------------|------------------|------------|----------------|------------------

Additional info:

History

#1 Updated by Dominic Cleal about 3 years ago

  • Project changed from Hammer CLI to Katello
  • Category set to Hammer

#2 Updated by Brad Buckingham about 3 years ago

  • Bugzilla link changed from 1335295 to 1317677

#3 Updated by Justin Sherrill about 3 years ago

  • Legacy Backlogs Release (now unused) set to 144
  • Difficulty set to easy

workaround

hammer hosts list --search="host_collection=foo"

#4 Updated by Justin Sherrill about 3 years ago

  • Legacy Backlogs Release (now unused) changed from 144 to 143

#5 Updated by Justin Sherrill almost 3 years ago

  • Legacy Backlogs Release (now unused) changed from 143 to 114

Also available in: Atom PDF