Bug 1328073 - Cannot create or delete content host
Summary: Cannot create or delete content host
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.2.0
Hardware: x86_64
OS: Linux
unspecified
high vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-18 11:27 UTC by Oleksandr Shtaier
Modified: 2019-04-01 20:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-18 15:46:36 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Oleksandr Shtaier 2016-04-18 11:27:28 UTC
Description of problem:
Some subcommands are missing for content-host command (basically 'create' and 'delete'):

hammer content-host --help
Usage:
    hammer content-host [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    subcommand
 [ARG] ...                     subcommand arguments

Subcommands:
 available-incremental-updates  
 info                          Show a content host
 list                          List content hosts
 update                        Update content host information

Options:
 -h, --help                    print help

Version-Release number of selected component (if applicable):
6.2 SNAP 8.2

How reproducible:
Always

Steps to Reproduce:
1. Just call help for content-host command

Actual results:
Necessary sub-commands are absent

Expected results:
'create' and 'delete' sub-commands for content-host are available and can be used as intended

Additional info:

Comment 2 Brad Buckingham 2016-04-18 15:38:15 UTC
Per discussion in IRC with Justin, in Satellite 6.2 with host-unification, the hammer cli should only support info/list/update. 

In the future, those may be removed as well and be handled soley by the host cli; however, additional enhancements will be needed to hammer-cli to allow for injecting of behavior into existing commands.  E.g. Ability to add content view and lifecycle environment.

Comment 3 Brad Buckingham 2016-04-18 15:46:36 UTC
Based on comment #2, I am going to close this one.  Thanks Oleksandr for creating it so that we could get it clarified.


Note You need to log in before you can comment on or make changes to this bug.