Project

General

Profile

Actions

Bug #15290

open

`hammer host-collection hosts` command is undefined

Added by Andrew Kofink almost 8 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
easy
Triaged:
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:

Actions #1

Updated by Dominic Cleal almost 8 years ago

  • Project changed from Hammer CLI to Katello
  • Category set to Hammer
Actions #2

Updated by Brad Buckingham almost 8 years ago

  • Bugzilla link changed from 1335295 to 1317677
Actions #3

Updated by Justin Sherrill almost 8 years ago

  • translation missing: en.field_release set to 144
  • Difficulty set to easy

workaround

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

Actions #4

Updated by Justin Sherrill almost 8 years ago

  • translation missing: en.field_release changed from 144 to 143
Actions #5

Updated by Justin Sherrill almost 8 years ago

  • translation missing: en.field_release changed from 143 to 114
Actions

Also available in: Atom PDF