#9400 Nightly test failure: healthcheck reports nsslapd-accesslog-logbuffering is set to 'off'
Closed: fixed by frenaud. Opened by frenaud.

Issue

The nightly test test_integration/test_replica_promotion.py::TestHiddenReplicaPromotion::test_ipahealthcheck_hidden_replica is failing with the nightly build of 389ds.
Test scenario: execute ipa-healthcheck and ensure there is no error. The test is failing on a new check added to 389-ds, ensuring that access log buffering is disabled (commit 4b2f9ec)

See PR #2774 with the following logs and report:

RUN ['ipa-healthcheck', '--output-type', 'json', '--failures-only']
RUN ['ipa-healthcheck', '--output-type', 'json', '--failures-only']
Invalid IP address fe80::977c:4850:c221:3ebc for master.ipa.test.: cannot use link-local IP address fe80::977c:4850:c221:3ebc
[
  {
    "source": "ipahealthcheck.ds.config",
    "check": "ConfigCheck",
    "result": "WARNING",
    "uuid": "f8003efc-c675-4757-ac62-fdb9092a77e9",
    "when": "20230625100643Z",
    "duration": "0.035625",
    "kw": {
      "key": "DSCLE0004",
      "items": [
        "cn=config"
      ],
      "msg": "nsslapd-accesslog-logbuffering is set to 'off' this will cause high\ndisk IO and can significantly impact server performance.  This should only be used\nfor debug purposes\n"
    }
  }
]
Exit code: 1

The following tests are also failing:

  • test_ipahealthcheck.py::TestIpaHealthCLI::test_indent
  • test_ipahealthcheck.py::TestIpaHealthCLI::test_severity
  • test_ipahealthcheck.py::TestIpaHealthCLI::test_input_file
  • test_ipahealthcheck.py::TestIpaHealthCheck::test_human_output
  • test_ipahealthcheck.py::TestIpaHealthCheck::test_ipa_healthcheck_after_certupdate
  • test_ipahealthcheck.py::TestIpaHealthCheck::test_ipahealthcheck_ca_not_configured
  • test_ipahealthcheck.py::TestIpaHealthCheck::test_ipa_healthcheck_no_errors
  • test_ipahealthcheck.py::TestIpaHealthCheck::test_ipa_healthcheck_no_errors_with_overrides
  • test_ipahealthcheck.py::TestIpaHealthCheck::test_ipa_healthcheck_dna_plugin_returns_warning_pagure_issue_60

Metadata Update from @frenaud:
- Issue assigned to mpolovka

Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-14428

master:

  • d659d21b432cde9fb3a6e1fe4ba65014587a127f ipatests: ignore nsslapd-accesslog-logbuffering WARN in healthcheck
  • f00b52ce6dbc1a4008974e118f252d90e26301a1 ipatests: fix expected output for ipahealthcheck.ipa.host

ipa-4-11:

  • 7e76329f76b7605ac6ec255c53b3c15d368a63f7 ipatests: ignore nsslapd-accesslog-logbuffering WARN in healthcheck
  • faf8be455a6ab4f5b1bed00a611e655535ed31e7 ipatests: fix expected output for ipahealthcheck.ipa.host

ipa-4-10:

  • 9bc582a2d78fd3ff9e70fa927b87ab06dcb7c9ae ipatests: ignore nsslapd-accesslog-logbuffering WARN in healthcheck
  • f83c32f59218c9e750bfefec145265f24cac8b5b ipatests: fix expected output for ipahealthcheck.ipa.host

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-14428,https://issues.redhat.com/browse/RHEL-19672 (was: https://issues.redhat.com/browse/RHEL-14428)

ipa-4-9:

  • 5afda72afc6fd626359411b55f092989fdd7d82d ipatests: ignore nsslapd-accesslog-logbuffering WARN in healthcheck
  • f1cfe7d9ff2489dbb6cad70999b0e1bd433c0537 ipatests: fix expected output for ipahealthcheck.ipa.host
Metadata