Bug 1889567 - [RFE] Hammer command to perform bulk action to change hostgroup on multiple hosts.
Summary: [RFE] Hammer command to perform bulk action to change hostgroup on multiple h...
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.7.0
Hardware: x86_64
OS: Linux
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Gaurav Talreja
Depends On:
TreeView+ depends on / blocked
Reported: 2020-10-20 02:36 UTC by shisingh
Modified: 2020-11-18 14:57 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-11-18 14:57:25 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description shisingh 2020-10-20 02:36:39 UTC
Version-Release number of selected component (if applicable): 
Red Hat Satellite 6.7 
Red Hat Satellite 6.8

1. Proposed title of this feature request

Need of hammer command to update the hostgroup of multiple hosts using bulk action.

2. What is the nature and description of the request?

Cu wants to have an option to update the hostgroup of the multiple hosts using bulk action as we have on Satellite Web UI >> Hosts >> All Hosts >> Select hosts >> From selection action drop-down, select Change Group >> Select Hostgroup >> Submit. 

3. Why does the customer need this? (List the business requirements here)

- Customer is automating the updating hosts to particular host group for patching {using cron job scheduling} without modifying the host's lifecycle and content view it should be added to the hostgroup. 

- With this they will be able to achieve zero touch automation using RBAC, if the user able to feed the list of hosts to be attached to the hostgroup it will automatically patch the servers}

- As we already have a hammer command to update the host(s), it does not support updating the host with a blank Hostgroup i.e no Life cycle environment and Content View.

4. How would the customer like to achieve this? (List the functional requirements here)

Cu wants an hammer command to change the hostgroup of multiple hosts using bulk actions

5. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.

6.Is there already an existing RFE upstream or in Red Hat Bugzilla?


7. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?


8. Is the sales team involved in this request and do they have any additional input?


9. List any affected packages or components.
10. Would the customer be able to assist in testing this functionality if implemented?


Comment 2 Sean O'Keeffe 2020-11-18 14:57:25 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support.
Thank you

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