Bug 1320091

Summary: [RFE] Config group commands and host/host group association
Product: Red Hat Satellite Reporter: Kamudini Gazdikova <kshirsal>
Component: HammerAssignee: Ondřej Pražák <oprazak>
Status: CLOSED WONTFIX QA Contact: Tomas Strachota <tstrachota>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.7CC: beiming.wang, bkearney, jcallaha, mburgerh, mhulan, mlele, mtaru, pmutha, rjain, tstrachota
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: All   
OS: Linux   
URL: http://projects.theforeman.org/issues/7520
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 19:14:14 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:

Description Kamudini Gazdikova 2016-03-22 10:01:12 UTC
Issue :

Hammer is missing functionality around config groups, 

It should be able to:

- perform operations on config groups themselves: http://theforeman.org/api/apidoc/v2/config_groups.html
    
- manage associations between config groups and Puppet classes (outside of Puppet environments)
    
- manage associations between hosts and config groups

- manage associations between host groups and config groups

Comment 1 Tomer Brisker 2016-03-22 10:04:49 UTC
Connecting redmine issue http://projects.theforeman.org/issues/7520 from this bug

Comment 2 Bryan Kearney 2016-04-19 17:38:29 UTC
*** Bug 1324303 has been marked as a duplicate of this bug. ***

Comment 3 Bryan Kearney 2016-07-26 19:01:19 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 6 Marek Hulan 2016-12-01 16:27:36 UTC
*** Bug 1266866 has been marked as a duplicate of this bug. ***

Comment 9 Satellite Program 2017-01-12 09:08:24 UTC
Upstream bug assigned to oprazak

Comment 10 Satellite Program 2017-01-12 09:08:29 UTC
Upstream bug assigned to oprazak

Comment 11 Satellite Program 2017-02-12 09:09:07 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/7520 has been resolved.

Comment 12 Tomas Strachota 2017-08-02 11:43:33 UTC
Failed.

Version Tested: Satellite-6.3 Snap 8

Commands for associating config groups with hosts and hostgroups are missing. It would be also good to add commands for incremental addition of puppetclasses to the config groups (hammer config-group [add|remove]-puppet-class ...)

CRUD actions work fine:

The commands for 
# hammer config-group -h
Usage:
    hammer config-group [OPTIONS] SUBCOMMAND [ARG] ...

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

Subcommands:
 create                        Create a config group
 delete                        Delete a config group
 info                          Show a config group
 list                          List of config groups
 update                        Update a config group

Options:
 -h, --help                    print help

Comment 13 Marek Hulan 2017-08-08 07:01:42 UTC
*** Bug 1425677 has been marked as a duplicate of this bug. ***

Comment 14 Bryan Kearney 2018-09-04 19:01:43 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 15 Bryan Kearney 2018-09-04 19:14:14 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.