Seite 1 von 1

opsiconfd health-check liefert seltsame Ausgabe

Verfasst: 05 Jun 2024, 08:12
von feltel
Auf mindestens einem unserer OPSI-Server kommt bei einem "opsiconfd health-check" die ff. Ausgabe:

Code: Alles auswählen

▸▹▹▹▹ Health check running[4] [2024-06-05 08:06:55.492] [               ] Command ['getent', 'passwd', '--service', 'systemd', 'pcpatch'] failed: Command '[          'getent', 'passwd', '--service', 'systemd', 'pcpatch']' returned non-zero exit status 2.   (__init__.py:418)
[4] [2024-06-05 08:06:55.496] [               ] Command ['getent', 'passwd', '--service', 'systemd', 'opsiconfd'] failed: Command '['getent', 'passwd', '--s          ervice', 'systemd', 'opsiconfd']' returned non-zero exit status 2.   (__init__.py:418)
● OPSI Users: OK
   ➔ No problems found with opsi users.

● System Repositories: OK
   ➔ No issues found with the system repositories.

● OPSI failed addons: OK
   ➔ No errors found while loading addons.

▸▹▹▹▹ Health check running[1] [2024-06-05 08:06:55.624] [               ] Unique hardware addresses: distinct_values=102 empty_values=0 non_empty_values=102           total_values=102   (mysql.py:109)
[1] [2024-06-05 08:06:55.624] [               ] CheckResult(check_id='unique_hardware_addresses', check_name='Unique hardware addresses', check_description=          'Check if all hardware addresses are unique', check_status=<CheckStatus.OK: 'ok'>, message='All hardware addresses are unique.', details={'distinct_values':           102, 'empty_values': 0, 'non_empty_values': 102, 'total_values': 102}, upgrade_issue=None, partial_results=[])   (mysql.py:126)
● Unique hardware addresses: OK
   ➔ All hardware addresses are unique.

ERROR: Check completed with 206 errors and 18 warnings.
feltel@nebula:~$
Was will mir das sagen? Server läuft auf einem aktuellen Debian 12.5 und alle OPSI-Server-Pakete sind auch auf aktuellem Stand von heute:

Code: Alles auswählen

feltel@nebula:~$ dpkg -l|grep opsi
rc  opsi-atftpd                    0.7.dfsg-7                          amd64        advanced TFTP server - opsi version with pcre, fifo and max-blksize patches
ii  opsi-configed                  4.0.7.6.34-2                        all          OPSI config editor
ii  opsi-linux-bootimage           20240110-1                          all          opsi bootimage for netboot tasks.
ii  opsi-server                    4.3.2.2-1                           all          opsi server
ii  opsi-tftpd-hpa                 5.2.8-80                            amd64        HPA's tftp server
ii  opsi-utils                     4.3.4.4-1                           amd64        Utilities for working with opsi
ii  opsiconfd                      4.3.16.3-1                          amd64        opsi configuration service
ii  opsipxeconfd                   4.3.3.4-1                           amd64        opsi pxe configuration service
rc  python-opsi                    4.1.1.101-1                         all          opsi python library
Die 206 errors und Warnings kommen von nicht ganz aktuellen OPSI-Client-Agents. Die sind aber alle mindestens auf 4.3.x-Stand. Auch unter root ausgeführt kommt das gleiche Fehlerbild. Laufen tut der OPSI-Server ohne merkliche Probleme.

Re: opsiconfd health-check liefert seltsame Ausgabe

Verfasst: 05 Jun 2024, 08:50
von j.schneider
Hallo,

da sind auf jeden Fall Log-Meldungen die sich mit den Health-Check-Ausgaben mischen.
An der Stelle haben wir in der letzten Version falsche Log-Level gewählt.
Der Fehler ist ab opsiconfd 4.3.17.0 behoben.

Grüße
Jan Schneider

Re: opsiconfd health-check liefert seltsame Ausgabe

Verfasst: 05 Jun 2024, 09:13
von feltel
Ah danke. Ist wie gesagt nicht kritisch, da der Server ja läuft. Ich nutze die health-check-Ausgabe nur ab und an, um z.B. schnell einen Überblick über den Updatestand des OCA zu bekommen.