opsipxeconfd 4.2.0.21

volkera
Beiträge: 16
Registriert: 02 Sep 2016, 15:02

opsipxeconfd 4.2.0.21

Beitrag von volkera »

Guten Morgen,

nach dem einpielern des Updates heute morgen, erhalten wir beim setzen von SETUP für die netboot-produkte folgende Fehlermeldung
in der Datei opsipxeconfd.log:
------------------------------
[5] [2021-12-01 10:41:56.234] [ ] Special pxe config template 'install3264' will be used used for host 'RECHNERNAME', product 'win11-x64' (opsipxeconfd.py:786)
[3] [2021-12-01 10:41:56.235] [ ] Failed to create pxe config writer: non-hexadecimal number found in fromhex() arg at position 617 (opsipxeconfd.py:633)
[3] [2021-12-01 10:41:56.235] [ ] non-hexadecimal number found in fromhex() arg at position 617 (opsipxeconfd.py:643)
Traceback (most recent call last):
File "opsipxeconfd/opsipxeconfd.py", line 615, in updateBootConfiguration
File "opsipxeconfd/opsipxeconfd.py", line 451, in _check_modules
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Base/Extended.py", line 122, in _executeMethod
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Base/Extended.py", line 122, in _executeMethod
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Base/Extended.py", line 122, in _executeMethod
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Base/Extended.py", line 122, in _executeMethod
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Base/Extended.py", line 122, in _executeMethod
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Manager/Dispatcher.py", line 197, in _dispatchMethod
File "OPSI/Backend/Base/ConfigData.py", line 252, in backend_getLicensingInfo
File "opsicommon/license.py", line 749, in load
File "opsicommon/license.py", line 726, in _read_modules_file
File "opsicommon/license.py", line 520, in read
File "<attrs generated init opsicommon.license.OpsiLicense>", line 29, in __init__
self.signature = __attr_converter_signature(signature)
File "opsicommon/license.py", line 96, in _hexstr2bytes
ValueError: non-hexadecimal number found in fromhex() arg at position 617
[3] [2021-12-01 10:41:56.235] [ ] Processing command 'update RECHNERNAME /var/run/opsipxeconfd/RECHNERNAME.json' failed: non-hexadecimal number found in fromhex() arg at position 617 (utl.py:265)
-----

Es wird unter /tftpboot/linux/pxelinux.cfg keine Pipe 01-<MAC-Adresse> angelegt.

Welche Infos werden noch benötigt?
Was kann ich noch tun?

Bin für jede Hilfe dankbar.

Viele Grüße
Alfred
Benutzeravatar
fkalweit
uib-Team
Beiträge: 174
Registriert: 23 Okt 2020, 16:14

Re: opsipxeconfd 4.2.0.21

Beitrag von fkalweit »

Hallo,

danke für die Information.
Was evt bei der Fehlersuche helfen könnte, wäre ein Log mit log-level 7.
Das kann in der Konfiguration (/etc/opsi/opsipxeconfd.conf) angepasst werden.
Dann den Service neustartet und bei einem Client ein Netboot-Paket auf Setup setzen.
Danach dann wider auf den Default (5) zurück gehen.

Viele Grüße
f.kalweit
volkera
Beiträge: 16
Registriert: 02 Sep 2016, 15:02

Re: opsipxeconfd 4.2.0.21

Beitrag von volkera »

Hallo Herr Kalweit,

hier der Logauschnitt:


[5] [2021-12-01 12:03:03.678] [Opsipxeconfd ] Got connection from client (opsipxeconfd.py:231)
[6] [2021-12-01 12:03:03.679] [Opsipxeconfd ] Creating thread for connection 1 (opsipxeconfd.py:234)
[7] [2021-12-01 12:03:03.679] [ ] Receiving data... (util.py:195)
[7] [2021-12-01 12:03:03.679] [Opsipxeconfd ] Connection Thread-11 started. (opsipxeconfd.py:240)
[6] [2021-12-01 12:03:03.679] [ ] Got command 'update RECHNERNAME /var/run/opsipxeconfd/RECHNERNAME.json' (util.py:200)
[6] [2021-12-01 12:03:03.679] [ ] Updating PXE boot configuration for host 'RECHNERNAME' (opsipxeconfd.py:478)
[7] [2021-12-01 12:03:03.680] [ ] Removing 0 existing config writers for 'RECHNERNAME' (opsipxeconfd.py:662)
[7] [2021-12-01 12:03:03.680] [ ] Reading data from /var/run/opsipxeconfd/RECHNERNAME.json (opsipxeconfd.py:694)
[7] [2021-12-01 12:03:03.680] [ ] Cached data read for RECHNERNAME: '{'backendInfo': {'opsiVersion': '4.2.0.255', 'modules': {'valid': True, 'dynamic_depot': True, 'vista': True, 'linux_agent': False, 'directory-connector': False, 'license_management': True, 'swondemand': True, 'wim-capture': False, 'win-vhd': True, 'userroles': False, 'roaming_profiles': True, 'secureboot': False, 'scalability1': False, 'local_imaging': True, 'uefi': True, 'install_by_shutdown': True, 'monitoring': False, 'vpn': True, 'treeview': True, 'mysql_backend': True, 'customer': 'CUSTOMER', 'expires': 'never', 'signature': 'SIGNATUR'}, 'realmodules': {'win-vhd': '2000', 'local_imaging': '2000', 'uefi': '2000', 'vpn': '2000'}, 'hostCount': 1063}, 'host': <OpsiClient(id='RECHNERNAME')>, 'productOnClient': <ProductOnClient(clientId='RECHNERNAME', productId='win11-x64', installationStatus='installed', actionRequest='setup')>, 'depotId': 'opsi.domain.de', 'productOnDepot': <ProductOnDepot(productId='win11-x64', productType='NetbootProduct', productVersion='4.2.0.1', packageVersion='5', depotId='opsi.domain.de')>, 'elilo': None, 'serviceAddress': 'https://opsi.domain.de:4447/rpc', 'product': <NetbootProduct(id='win11-x64', name=None, productVersion='4.2.0.1', packageVersion='5')>, 'bootimageAppend': <ConfigState(configId='opsi-linux-bootimage.append', objectId='RECHNERNAME', values=[])>, 'productPropertyStates': {'additional_drivers': 'hp820g2', 'imagename': 'Windows 10 Pro', 'winpenetworkmode': 'True', 'winpe_uilanguage': 'de-DE', 'winpe_uilanguage_fallback': 'de-DE', 'winpe_inputlocale': '0407:00000407', 'askbeforeinst': 'True', 'productkey': '', 'fullname': 'FULLNAME', 'orgname': 'ORGNAME', 'boot_partition_size': '0', 'boot_partition_label': 'BOOT', 'boot_partition_letter': '-', 'windows_partition_size': '100%', 'data_partition_label': 'DATA', 'data_partition_letter': 'D', 'windows_partition_label': 'WINDOWS', 'system_language': 'de-DE', 'system_keyboard_layout': '0407:00000407', 'system_timezone': 'W. Europe Standard Time', 'data_partition_create': 'True', 'use_raid1': 'False', 'winpe_partition_size': '9000M', 'data_partition_preserve': 'never', 'pre_format_system_partitions': 'True', 'setup_after_install': '', 'preserve_winpe_partition': 'False', 'administrator_password': 'nt123', 'winpe_dir': 'auto', 'installto': 'disk', 'winpe_debug_cmd_exe': 'False', 'multi_disk_mode': '0', 'architecture': '64bit', 'force_del_winpe_boot_entry': 'False'}}' (opsipxeconfd.py:484)
[5] [2021-12-01 12:03:03.680] [ ] Special pxe config template 'install3264' will be used used for host 'RECHNERNAME', product 'win11-x64' (opsipxeconfd.py:786)
[7] [2021-12-01 12:03:03.680] [ ] pxeConfigTemplate is not an absolute path. (opsipxeconfd.py:796)
[7] [2021-12-01 12:03:03.681] [ ] pxeConfigTemplate changed to /tftpboot/linux/pxelinux.cfg/install3264 (opsipxeconfd.py:798)
[7] [2021-12-01 12:03:03.681] [ ] Using pxe config template '/tftpboot/linux/pxelinux.cfg/install3264' (opsipxeconfd.py:552)
[7] [2021-12-01 12:03:03.681] [ ] Got hardware address '58:20:b1:d6:ed:0c' for host 'RECHNERNAME' (opsipxeconfd.py:845)
[6] [2021-12-01 12:03:03.681] [ ] Creating thread for pxeconfig 1 (opsipxeconfd.py:614)
[7] [2021-12-01 12:03:03.681] [ ] ExtendedBackend <BackendManager()>: executing backend_getLicensingInfo on backend <BackendExtender()> (Extended.py:120)
[7] [2021-12-01 12:03:03.681] [ ] ExtendedBackend <BackendExtender()>: executing backend_getLicensingInfo on backend <HostControlSafeBackend(resolveHostAddress=False, maxConnections=50)> (Extended.py:120)
[7] [2021-12-01 12:03:03.681] [ ] ExtendedBackend <HostControlSafeBackend(resolveHostAddress=False, maxConnections=50)>: executing backend_getLicensingInfo on backend <HostControlBackend(resolveHostAddress=False, maxConnections=50)> (Extended.py:120)
[7] [2021-12-01 12:03:03.681] [ ] ExtendedBackend <HostControlBackend(resolveHostAddress=False, maxConnections=50)>: executing backend_getLicensingInfo on backend <ExtendedConfigDataBackend(configDataBackend=<BackendDispatcher(dispatchIgnoreModules=['OpsiPXEConfd'], dispatchConfigFile='/etc/opsi/backendManager/dispatch.conf', context=<BackendManager()>)>)> (Extended.py:120)
[7] [2021-12-01 12:03:03.681] [ ] ExtendedBackend <ExtendedConfigDataBackend(configDataBackend=<BackendDispatcher(dispatchIgnoreModules=['OpsiPXEConfd'], dispatchConfigFile='/etc/opsi/backendManager/dispatch.conf', context=<BackendManager()>)>)>: executing backend_getLicensingInfo on backend <BackendDispatcher(dispatchIgnoreModules=['OpsiPXEConfd'], dispatchConfigFile='/etc/opsi/backendManager/dispatch.conf', context=<BackendManager()>)> (Extended.py:120)
[7] [2021-12-01 12:03:03.681] [ ] Dispatching method backend_getLicensingInfo to backends: ['mysql'] (Dispatcher.py:192)
[3] [2021-12-01 12:03:03.681] [ ] Failed to create pxe config writer: non-hexadecimal number found in fromhex() arg at position 617 (opsipxeconfd.py:633)
[3] [2021-12-01 12:03:03.682] [ ] non-hexadecimal number found in fromhex() arg at position 617 (opsipxeconfd.py:643)
Traceback (most recent call last):
File "opsipxeconfd/opsipxeconfd.py", line 615, in updateBootConfiguration
File "opsipxeconfd/opsipxeconfd.py", line 451, in _check_modules
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Base/Extended.py", line 122, in _executeMethod
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Base/Extended.py", line 122, in _executeMethod
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Base/Extended.py", line 122, in _executeMethod
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Base/Extended.py", line 122, in _executeMethod
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Base/Extended.py", line 122, in _executeMethod
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Manager/Dispatcher.py", line 197, in _dispatchMethod
File "OPSI/Backend/Base/ConfigData.py", line 252, in backend_getLicensingInfo
File "opsicommon/license.py", line 749, in load
File "opsicommon/license.py", line 726, in _read_modules_file
File "opsicommon/license.py", line 520, in read
File "<attrs generated init opsicommon.license.OpsiLicense>", line 29, in __init__
self.signature = __attr_converter_signature(signature)
File "opsicommon/license.py", line 96, in _hexstr2bytes
ValueError: non-hexadecimal number found in fromhex() arg at position 617
[3] [2021-12-01 12:03:03.682] [ ] Processing command 'update RECHNERNAME /var/run/opsipxeconfd/RECHNERNAME.json' failed: non-hexadecimal number found in fromhex() arg at position 617 (util.py:265)
[6] [2021-12-01 12:03:03.682] [ ] Returning result '(ERROR): non-hexadecimal number found in fromhex() arg at position 617' (util.py:203)
[6] [2021-12-01 12:03:03.682] [ ] ClientConnection Thread-11 finished (took 0.003 seconds) (opsipxeconfd.py:286)
[7] [2021-12-01 12:03:03.682] [ ] ClientConnection 'Thread-11' removed (opsipxeconfd.py:298)


Viele Grüße
Alfred Volk
Benutzeravatar
fkalweit
uib-Team
Beiträge: 174
Registriert: 23 Okt 2020, 16:14

Re: opsipxeconfd 4.2.0.21

Beitrag von fkalweit »

Hallo,

könnten Sie uns Ihre Modules Datei zur Verfügung stellen, dass wir das hier testen können?

Viele Grüße
f.kalweit
hoscht13
Beiträge: 27
Registriert: 21 Sep 2011, 12:57

Re: opsipxeconfd 4.2.0.21

Beitrag von hoscht13 »

Wir haben den gleich Fehler nachdem wir heute von das Update von 4.1 auf 4.2 gemacht haben.
Ticketnummer 2021120117000066

Gruß
Torsten
Benutzeravatar
fkalweit
uib-Team
Beiträge: 174
Registriert: 23 Okt 2020, 16:14

Re: opsipxeconfd 4.2.0.21

Beitrag von fkalweit »

Hallo,

das Problem ist in der opsipxeconfd Version 4.2.0.22 behoben.
Ein Hotfix Release wird gleich veröffentlicht.

Viele Grüße
Fabian
opsiisgr8
Beiträge: 15
Registriert: 01 Okt 2020, 16:37

Re: opsipxeconfd 4.2.0.21

Beitrag von opsiisgr8 »

Hallo zusammen,

wir haben genau dieses Problem. Bei uns ist aber schon die Version 4.2.0.22-1 von opsipxeconfd drauf (Debian 10). Was können wir machen?

Gruß
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1528
Registriert: 10 Jun 2015, 12:19

Re: opsipxeconfd 4.2.0.21

Beitrag von m.radtke »

Hi

habt ihr den opsipxeconfd neu gestartet?

Gruß
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
opsiisgr8
Beiträge: 15
Registriert: 01 Okt 2020, 16:37

Re: opsipxeconfd 4.2.0.21

Beitrag von opsiisgr8 »

Hi,
ja, wir haben auch config+depot Server neu gestartet. Bei einem anderen Depot mit etwas älterer 4.2 version funktioniert es normal.
Auszug aus log:
[5] [2021-12-14 11:49:51.525] [Opsipxeconfd ] Got connection from client (opsipxeconfd.py:231)
[5] [2021-12-14 11:50:01.997] [Opsipxeconfd ] Got connection from client (opsipxeconfd.py:231)
[3] [2021-12-14 11:50:02.005] [ ] Cannot use more than one pxe config template, got: /tftpboot/linux/pxelinux.cfg/install-grub-x64, install3264 (opsipxeconfd.py:773)
[5] [2021-12-14 11:50:02.006] [ ] Did not find any alternate UEFI pxeConfigTemplate, will use the default UEFI template (opsipxeconfd.py:782)
[3] [2021-12-14 11:50:02.173] [ ] Failed to create pxe config writer: Opsi rpc error: non-hexadecimal number found in fromhex() arg at position 615 (error on server) (opsipxeconfd.py:633)
[3] [2021-12-14 11:50:02.173] [ ] Opsi rpc error: non-hexadecimal number found in fromhex() arg at position 615 (error on server) (opsipxeconfd.py:643)
Traceback (most recent call last):
File "opsipxeconfd/opsipxeconfd.py", line 615, in updateBootConfiguration
File "opsipxeconfd/opsipxeconfd.py", line 451, in _check_modules
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Base/Extended.py", line 122, in _executeMethod
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Base/Extended.py", line 122, in _executeMethod
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Base/Extended.py", line 122, in _executeMethod
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Base/Extended.py", line 122, in _executeMethod
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Base/Extended.py", line 122, in _executeMethod
File "<string>", line 1, in backend_getLicensingInfo
File "OPSI/Backend/Manager/Dispatcher.py", line 197, in _dispatchMethod
File "<string>", line 1, in backend_getLicensingInfo
File "opsicommon/client/jsonrpc.py", line 448, in execute_rpc
opsicommon.exceptions.OpsiRpcError: Opsi rpc error: non-hexadecimal number found in fromhex() arg at position 615 (error on server)
[3] [2021-12-14 11:50:02.178] [ ] Processing command 'update nb0310.bachner.local /var/run/opsipxeconfd/nb0310.bachner.local.json' failed: Opsi rpc error: non-hexadecimal number found in fromhex() arg at position 615 (error on server) (util.py:265)

Gruß
Andi
opsiisgr8
Beiträge: 15
Registriert: 01 Okt 2020, 16:37

Re: opsipxeconfd 4.2.0.21

Beitrag von opsiisgr8 »

es wird auch keine "MAC-Adressen Datei" unter /tftpboot/linux/pxelinux.cfg/ erzeugt...
Antworten