opsipxeconfd 4.2.0.21

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

Re: opsipxeconfd 4.2.0.21

Beitrag von opsiisgr8 »

hab vorhin einen neuen Depot Server zum testen aufgesetzt -> gleicher Fehler
Benutzeravatar
fkalweit
uib-Team
Beiträge: 212
Registriert: 23 Okt 2020, 16:14

Re: opsipxeconfd 4.2.0.21

Beitrag von fkalweit »

Hallo,

könnte ich die modules-Datei zum Testen per Mail bekommen? Dann könnte ich versuchen den Fehler nachzustellen.

Der neue opsiconfd und die opsi-utils aus testing könnte evt auch helfen.

viele Grüße
Fabian


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Benutzeravatar
fkalweit
uib-Team
Beiträge: 212
Registriert: 23 Okt 2020, 16:14

Re: opsipxeconfd 4.2.0.21

Beitrag von fkalweit »

Hallo,

mit dem dem neuen opsiconfd (stable 4.2.0.221) sollte das Problem jetzt auch auf den Depots behoben sein.
Über eine kurze Rückmeldung würden wir uns freuen.

Viele Grüße
Fabian


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


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

Re: opsipxeconfd 4.2.0.21

Beitrag von opsiisgr8 »

Guten Morgen,

läuft wieder 1a. Danke!

Grüße
Andi
larsg
Beiträge: 283
Registriert: 16 Dez 2014, 18:06

Re: opsipxeconfd 4.2.0.21

Beitrag von larsg »

Hi,

Wir haben am 21.01.2022 zuletzt ein Upgrade auf unseren Ubuntu-Depot's durchgeführt, seitdem tritt der hier beschriebene Fehler bei uns auch auf.
Sprich: MAC-Datei wird nicht erzeugt, im Log erscheint seitdem auch jedes mal dieselbe "non-hexadecimal number" Fehlermeldung (Loglevel 7):

Code: Alles auswählen

[5] [2022-01-31 13:35:19.258] [Opsipxeconfd   ] Got connection from client   (opsipxeconfd.py:231)
[6] [2022-01-31 13:35:19.258] [Opsipxeconfd   ] Creating thread for connection 1   (opsipxeconfd.py:234)
[7] [2022-01-31 13:35:19.259] [               ] Receiving data...   (util.py:195)
[7] [2022-01-31 13:35:19.259] [Opsipxeconfd   ] Connection Thread-6 started.   (opsipxeconfd.py:240)
[6] [2022-01-31 13:35:19.259] [               ] Got command 'update rechner.domain.kunde.intern /var/run/opsipxeconfd/rechner.domain.kunde.intern.json'   (util.py:200)
[6] [2022-01-31 13:35:19.260] [               ] Updating PXE boot configuration for host 'rechner.domain.kunde.intern'   (opsipxeconfd.py:478)
[7] [2022-01-31 13:35:19.260] [               ] Removing 0 existing config writers for 'rechner.domain.kunde.intern'   (opsipxeconfd.py:662)
[7] [2022-01-31 13:35:19.260] [               ] Reading data from /var/run/opsipxeconfd/rechner.domain.kunde.intern.json   (opsipxeconfd.py:694)
[7] [2022-01-31 13:35:19.262] [               ] Cached data read for rechner.domain.kunde.intern: '{'backendInfo': {'opsiVersion': '4.2.0.244', 'modules': {'valid': True, 'local_imaging': False, 'swondemand': True, 'wim-capture': False, 'roaming_profiles': True, 'secureboot': False, 'macos_agent': False, 'install_by_shutdown': True, 'dynamic_depot': True, 'vista': True, 'linux_agent': False, 'directory-connector': False, 'license_management': False, 'scalability1': False, 'mysql_backend': True, 'win-vhd': False, 'monitoring': False, 'vpn': True, 'userroles': False, 'uefi': True, 'os_install_by_wlan': False, 'treeview': True, 'customer': 'Regio IT Gesellschaft fuer Informationstechnologie mbh', 'expires': 'never', 'signature': '12397442458433486372781477066855655788348502513504941851487581217156608365131648706781336908042393955548300923505007699352296908453262024315858164263610021512158080115533189901873531324209392242642037355720155089847094886960730981125260485271028491873073592046374611832819840103331488465019670948379692330967252026477794033940164906782279505574010229780935006061587462905645127861623242450783345334073078834788511008277616035781195642825253966830186240377653252159769403768198270573384123388367017567503966267413668119628341476641905125785183826291087247415126252833967967832004389934402842986876994273207571178650599'}, 'realmodules': {'mysql_backend': '3000', 'vpn': '3000', 'uefi': '3000'}, 'hostCount': 2308}, 'host': <OpsiClient(id='rechner.domain.kunde.intern')>, 'productOnClient': <ProductOnClient(clientId='rechner.domain.kunde.intern', productId='win10-x64', installationStatus='not_installed', actionRequest='setup')>, 'depotId': 'depot.domain.kunde.intern', 'productOnDepot': <ProductOnDepot(productId='win10-x64', productType='NetbootProduct', productVersion='4.1.0.2', packageVersion='13', depotId='depot.domain.kunde.intern')>, 'elilo': 'x64', 'serviceAddress': 'https://config.domain.firma.intern:4447/rpc', 'product': <NetbootProduct(id='win10-x64', name=None, productVersion='4.1.0.2', packageVersion='13')>, 'bootimageAppend': <ConfigState(configId='opsi-linux-bootimage.append', objectId='rechner.domain.kunde.intern', values=[])>, 'productPropertyStates': {'winpenetworkmode': 'True', 'winpe_uilanguage': 'de-DE', 'winpe_uilanguage_fallback': 'de-DE', 'winpe_inputlocale': '0407:00000407', 'askbeforeinst': 'False', 'productkey': 'XXXXX-XXXXX-XXXXX-XXXXX-XXXXX', 'fullname': '', 'orgname': 'Kunde', 'additional_drivers': '', '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', 'imagename': 'Windows 10', 'data_partition_create': 'True', 'use_raid1': 'False', 'winpe_partition_size': '20000M', 'data_partition_preserve': 'never', 'pre_format_system_partitions': 'True', 'setup_after_install': 'mshotfix,config-win10-x64-dki,mcafee-agent,dameware-mini-remote-control,fastviewer', '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', 'installfiles_dir': 'installfiles_20h2ent'}}'   (opsipxeconfd.py:484)
[3] [2022-01-31 13:35:19.263] [               ] Cannot use more than one pxe config template, got: /tftpboot/linux/pxelinux.cfg/install-grub-x64, install3264   (opsipxeconfd.py:773)
[5] [2022-01-31 13:35:19.263] [               ] Did not find any alternate UEFI pxeConfigTemplate, will use the default UEFI template   (opsipxeconfd.py:782)
[7] [2022-01-31 13:35:19.263] [               ] Using pxe config template '/tftpboot/linux/pxelinux.cfg/install-grub-x64'   (opsipxeconfd.py:552)
[7] [2022-01-31 13:35:19.263] [               ] Got hardware address 'xx:xx:xx:xx:xx:xx' for host 'rechner.domain.kunde.intern'   (opsipxeconfd.py:845)
[6] [2022-01-31 13:35:19.264] [               ] Creating thread for pxeconfig 1   (opsipxeconfd.py:614)
[7] [2022-01-31 13:35:19.264] [               ] ExtendedBackend <BackendManager()>: executing backend_getLicensingInfo on backend <BackendExtender()>   (Extended.py:120)
[7] [2022-01-31 13:35:19.264] [               ] ExtendedBackend <BackendExtender()>: executing backend_getLicensingInfo on backend <HostControlSafeBackend(resolveHostAddress=False, maxConnections=50)>   (Extended.py:120)
[7] [2022-01-31 13:35:19.264] [               ] ExtendedBackend <HostControlSafeBackend(resolveHostAddress=False, maxConnections=50)>: executing backend_getLicensingInfo on backend <HostControlBackend(resolveHostAddress=False, maxConnections=50)>   (Extended.py:120)
[7] [2022-01-31 13:35:19.264] [               ] 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] [2022-01-31 13:35:19.265] [               ] 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] [2022-01-31 13:35:19.265] [               ] Dispatching method backend_getLicensingInfo to backends: ['jsonrpc', 'dhcpd']   (Dispatcher.py:192)
[6] [2022-01-31 13:35:19.265] [               ] JSONRPC request to https://config.domain.firma.intern:4447/rpc: ip_version=auto, id=257, method=backend_getLicensingInfo, Content-Type=application/msgpack, Content-Encoding=, timeout=60   (jsonrpc.py:396)
[7] [2022-01-31 13:35:19.269] [               ] Resetting dropped connection: config.domain.firma.intern   (connectionpool.py:272)
[7] [2022-01-31 13:35:19.269] [               ] Using ip version auto   (jsonrpc.py:223)
[7] [2022-01-31 13:35:19.326] [               ] https://config.domain.firma.intern:4447 "POST /rpc HTTP/1.1" 200 1755   (connectionpool.py:452)
[6] [2022-01-31 13:35:19.328] [               ] Got response status=200, Content-Type=application/msgpack, Content-Encoding=, duration=0.062s   (jsonrpc.py:409)
[7] [2022-01-31 13:35:19.328] [               ] JSONRPC-response contains error   (jsonrpc.py:439)
[3] [2022-01-31 13:35:19.328] [               ] Failed to create pxe config writer: Opsi rpc error: non-hexadecimal number found in fromhex() arg at position 617 (error on server)   (opsipxeconfd.py:633)
[3] [2022-01-31 13:35:19.329] [               ] Opsi rpc error: non-hexadecimal number found in fromhex() arg at position 617 (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 617 (error on server)
[3] [2022-01-31 13:35:19.330] [               ] Processing command 'update rechner.domain.kunde.intern /var/run/opsipxeconfd/rechner.domain.kunde.intern.json' failed: Opsi rpc error: non-hexadecimal number found in fromhex() arg at position 617 (error on server)   (util.py:265)
[6] [2022-01-31 13:35:19.331] [               ] Returning result '(ERROR): Opsi rpc error: non-hexadecimal number found in fromhex() arg at position 617 (error on server)'   (util.py:203)
[6] [2022-01-31 13:35:19.331] [               ] ClientConnection Thread-6 finished (took 0.072 seconds)   (opsipxeconfd.py:286)
[7] [2022-01-31 13:35:19.331] [               ] ClientConnection 'Thread-6' removed   (opsipxeconfd.py:298)
Aktueller Versionsstand:

Code: Alles auswählen

Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal

ii  opsi-linux-bootimage                   20211214-1                         all          opsi bootimage for netboot tasks.
ii  opsi-linux-support                     4.2.0.0-1                          all          Configure system to be able to deploy Linux with opsi.
ii  opsi-server                            4.2.0.57-1                         all          opsi server
ii  opsi-tftpd-hpa                         5.2.8-76                           amd64        HPA's tftp server
ii  opsi-utils                             4.2.0.145-1                        amd64        Utilities for working with opsi
ii  opsi-windows-support                   4.2.0.0-1                          all          Install utilities useful for deploying Windows with opsi.
ii  opsiconfd                              4.2.0.225-1                        amd64        opsi configuration service
ii  opsipxeconfd                           4.2.0.22-1                         amd64        opsi pxe configuration service
rc  python-opsi                            4.1.1.101-1                        all          opsi python library
Interessant dabei ist, wir haben zwei OPSI-Umgebungen für jeweils unterschiedliche Kundenstämme. In der anderen Umgebung funktioniert alles nach wie vor problemlos, obwohl dort das Upgrade nur einen Tag früher durchgeführt wurde, und die Versionsstände der OPSI-Komponenten identisch sind.

Wir haben die Depot's neugestartet und die Rechte erneut gesetzt.
Benutzeravatar
j.schneider
uib-Team
Beiträge: 2045
Registriert: 29 Mai 2008, 15:14

Re: opsipxeconfd 4.2.0.21

Beitrag von j.schneider »

Hallo,

bitte sicherstellen, dass nicht nur die Depots sondern auch der opsi-Configserver auf dem neuesten Stand sind.
Auf dem Configserver sollte auch der opsiconfd 4.2.0.225 installiert sein.


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


larsg
Beiträge: 283
Registriert: 16 Dez 2014, 18:06

Re: opsipxeconfd 4.2.0.21

Beitrag von larsg »

Hi,

ja das war auch der kleine aber feine unterschied den wir noch zwischen den beiden umgebungen festgestellt haben. jetzt läuft es wieder :)
Antworten