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 1737492 - Change DNA plugin to return WARNING if no range is set
Summary: Change DNA plugin to return WARNING if no range is set
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ipa-healthcheck
Version: 8.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Rob Crittenden
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-05 14:03 UTC by Rob Crittenden
Modified: 2020-11-14 10:08 UTC (History)
3 users (show)

Fixed In Version: ipa-healthcheck-0.3-2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 20:53:27 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:3348 0 None None None 2019-11-05 20:53:37 UTC

Description Rob Crittenden 2019-08-05 14:03:06 UTC
Description of problem:
Upstream issue https://github.com/freeipa/freeipa-healthcheck/issues/60

Current ipahealthcheck.ipa.dna returns SUCCESS both when a range is set and when one is not set.

Elevate the not set version to WARNING so admins can be aware in advance that with no range then uid/gid cannot be allocated from this master. This is particularly important if the only master with a range defined is retired.

Comment 1 Rob Crittenden 2019-08-05 14:04:00 UTC
master: acd807b6e054b06b7b6fafe86741e00bae7d2527

Comment 3 Sudhir Menon 2019-08-28 06:36:18 UTC
Fix is seen. Verified using
ipa-server-4.8.0-9.module+el8.1.0+4011+fd4be199.x86_64

[root@master ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.1 Beta (Ootpa)

[root@master ~]# ipa idrange-find
---------------
1 range matched
---------------
  Range name: RHEL81.TEST_id_range
  First Posix ID of the range: 1128000000
  Number of IDs in the range: 200000
  Range type: local domain range
----------------------------
Number of entries returned 1
----------------------------

[root@master ~]# ipa-healthcheck --source ipahealthcheck.ipa.dna
[
  {
    "source": "ipahealthcheck.ipa.dna",
    "check": "IPADNARangeCheck",
    "result": "SUCCESS",
    "uuid": "1ef80f6b-f76b-4d23-aa77-23a16fd326e6",
    "when": "20190828060708Z",
    "duration": "0.381289",
    "kw": {
      "range_start": 1128000000,
      "range_max": 1128199999,
      "next_start": 0,
      "next_max": 0
    }
  }
]

[root@replica ~]# ipa idrange-find
---------------
1 range matched
---------------
  Range name: RHEL81.TEST_id_range
  First Posix ID of the range: 1128000000
  Number of IDs in the range: 200000
  Range type: local domain range
----------------------------
Number of entries returned 1
----------------------------

[root@replica ~]# ipa-healthcheck --source ipahealthcheck.ipa.dna
[
  {
    "source": "ipahealthcheck.ipa.dna",
    "check": "IPADNARangeCheck",
    "result": "WARNING",
    "uuid": "1b2e24b0-5693-4b99-b2ad-5d1c2635928e",
    "when": "20190828061050Z",
    "duration": "1.168072",
    "kw": {
      "range_start": 0,
      "range_max": 0,
      "next_start": 0,
      "next_max": 0,
      "msg": "No DNA range defined. If no masters define a range then users and groups cannot be created."
    }
  }
]

Comment 5 errata-xmlrpc 2019-11-05 20:53:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:3348


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