Feature #22821
closedAbility to search hosts which doesn't have hostgroup associated.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1494440
Description of problem: There is no option to search any records based on nil or empty record.
For eg. I would like to list all hosts which are not linked with any hostgroup. Currently, this is not possible.
We should support search option(on "ALL hosts" page) like
hostgroup = nil or hostgroup = ""
1. Proposed title of this feature request
I would like to request the ability to search for a host with no hostgroup set.
3. What is the nature and description of the request?
I use the host groups to perform Ansible Tower jobs against and need to view any Satellite hosts with a null hostgorup.
4. Why does the customer need this? (List the business requirements here)
I need this to ensure Ansible Tower is running on all hosts.
5. Is there already an existing RFE upstream or in Red Hat Bugzilla?
No.
6. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?
I would like to see this feature added as soon as possible to ensure host deployment and standardization is occurring.
7. Is the sales team involved in this request and do they have any additional input?
No.
8. List any affected packages or components.
NA
9. Would the customer be able to assist in testing this functionality if implemented?
Yes I would be able to help test.
Updated by Marek Hulán about 6 years ago
- Subject changed from Ability to search hosts which doesn't have hostgroup associated. to Ability to search hosts which doesn't have hostgroup associated.
- Status changed from New to Resolved
Turns out this is entirely possible using null?
operator, e.g. "null? hostgroup"