Bug 1667105

Summary: Hammer help: it is not specified that compute_network should be specified by uuid
Product: Red Hat Satellite Reporter: Lukáš Hellebrandt <lhellebr>
Component: Compute Resources - RHEVAssignee: orabin
Status: CLOSED ERRATA QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.5.0CC: inecas, mshira, orabin, pcreech
Target Milestone: 6.7.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-14 13:23:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukáš Hellebrandt 2019-01-17 13:11:19 UTC
Description of problem:
Hammer's help for "host create" command (and perhaps some others, edit etc.) says for ovirt's --interface parameter:

"""
    --interface:
      compute_name        Eg. eth0
      compute_network     Select one of available networks for a cluster
"""

The compute_network is expected to be specified by UUID. I always intuitively use Name and get 404 seemingly for no obvious reason. The help should specify that UUID is expected.

Version-Release number of selected component (if applicable):
Tested with Sat 6.5 snap 11 but probably happens on all versions

How reproducible:
Deterministic

Steps to Reproduce:
hammer host create --help

Actual results:
[...]
compute_network     Select one of available networks for a cluster
[...]

Expected results:
Anything that suggests to use UUID instead of Name

Comment 3 Shira Maximov 2019-09-03 13:15:52 UTC
Connecting redmine issue https://projects.theforeman.org/issues/26334 from this bug

Comment 4 Bryan Kearney 2019-09-03 14:00:51 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26334 has been resolved.

Comment 5 Lukáš Hellebrandt 2019-11-20 14:53:30 UTC
Verified with Sat 6.7 snap 2. Hammer help for host {create,update} now says: "compute_network     Select one of available networks for a cluster, must be an ID"

Comment 8 errata-xmlrpc 2020-04-14 13:23:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:1454