RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1354626 - ipa hostgroup-find does not include member list
Summary: ipa hostgroup-find does not include member list
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: doc-Linux_Domain_Identity_Management_Guide
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Marc Muehlfeld
QA Contact: Namita Soman
Marc Muehlfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-11 19:06 UTC by Namita Soman
Modified: 2019-03-06 01:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
The "ipa *-find" commands no longer display member entries The new default setting in Identity Management (IdM) "ipa *-find" commands no longer displays member entries, such as for host groups. Resolving a large number of member entries is resource intensive and the output of the commands can get long and unreadable. As a result, the default was changed. To display members entries, use the "--all" option to the "ipa *-find" command. For example: # ipa hostgroup-find --all
Clone Of:
Environment:
Last Closed: 2016-11-04 08:39:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1353602 0 unspecified CLOSED ipa group-find not displaying "Member groups", "Member of groups" and "Indirect Member of group" information 2021-02-22 00:41:40 UTC

Internal Links: 1353602

Description Namita Soman 2016-07-11 19:06:07 UTC
Description of problem:
Added a host in the hostgroup. Expected hostgroup-find to list the host as a member. But that info is missing in 7.3 It used to be available in 7.2


Version-Release number of selected component (if applicable):
ipa-server-4.4.0-1.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. Add a hostgroup
# ipa hostgroup-add --desc="hostgrp1" "hostgrp1"
--------------------------
Added hostgroup "hostgrp1"
--------------------------
  Host-group: hostgrp1
  Description: hostgrp1

2. Add a host
# ipa host-add nightcrawler.testrelm.test --force
---------------------------------------
Added host "nightcrawler.testrelm.test"
---------------------------------------
  Host name: nightcrawler.testrelm.test
  Principal name: host/nightcrawler.testrelm.test
  Principal alias: host/nightcrawler.testrelm.test
  Password: False
  Keytab: False
  Managed by: nightcrawler.testrelm.test
3. Add host as a member to the hostgroup
#  ipa hostgroup-add-member --hosts=nightcrawler.testrelm.test "hostgrp1"
  Host-group: hostgrp1
  Description: hostgrp1
  Member hosts: nightcrawler.testrelm.test
-------------------------
Number of members added 1
-------------------------

3. ipa hostgroup-find

Actual results:
# ipa hostgroup-find
--------------------
2 hostgroups matched
--------------------
  Host-group: hostgrp1
  Description: hostgrp1

  Host-group: ipaservers
  Description: IPA server hosts
----------------------------
Number of entries returned 2
----------------------------


Expected results:
member hosts as was listed in 7.2 is missing in 7.3:
#  ipa hostgroup-find
-------------------
1 hostgroup matched
-------------------
  Host-group: hostgrp1
  Description: hostgrp1
  Member hosts: nightcrawler.testrelm.test
----------------------------
Number of entries returned 1
----------------------------


Additional info:

Comment 3 Petr Vobornik 2016-07-12 15:39:14 UTC
This is not a regression but actually a deliberate change.

It was done in scope of upstream ticket:  https://fedorahosted.org/freeipa/ticket/4995

all {object}-find commands were change in a way that they no longer return member information. Reason is that processing members is compute intensive task and with bigger setups the command became very slow. Another issue is that with many objects and members the CLI output becomes unreadable (too many information).

Member can be still obtained if --all option is provided.

Needs to be documented in release notes and also it may affect existing command output examples in documentation. Therefore changing component instead of closing the BZ.

Comment 10 Aneta Šteflová Petrová 2016-11-04 08:39:18 UTC
The updated content is now available on the Customer Portal.


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