Bug 1737492
| Summary: | Change DNA plugin to return WARNING if no range is set | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Rob Crittenden <rcritten> |
| Component: | ipa-healthcheck | Assignee: | Rob Crittenden <rcritten> |
| Status: | CLOSED ERRATA | QA Contact: | ipa-qe <ipa-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.1 | CC: | fcami, ndehadra, sumenon |
| Target Milestone: | rc | Keywords: | TestCaseProvided |
| Target Release: | 8.0 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-healthcheck-0.3-2 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-11-05 20:53:27 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: | |
| Embargoed: | |||
|
Description
Rob Crittenden
2019-08-05 14:03:06 UTC
master: acd807b6e054b06b7b6fafe86741e00bae7d2527 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."
}
}
]
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 Test added upstream master: https://pagure.io/freeipa/c/4e3a2bd6bff79c17bc439555dcf41a11d0569e6f https://pagure.io/freeipa/c/44e73428441a070f26a791ee2816f2989713ba8d ipa-4-8: https://pagure.io/freeipa/c/59bd2fec85a49ff75fbcad05cfd5a641a67c5d56 https://pagure.io/freeipa/c/f36b8697a1d7dcf0f698147b3791c8ed338863d7 |