Seite 1 von 2

opsi 4.3 Juli Release

Verfasst: 31 Jul 2024, 14:12
von fkalweit
Sehr geehrte opsi-Anwenderinnen und -Anwender,

mit diesem Release haben wir weitere Pakete für opsi veröffentlicht.

Im opsiconfd setup wird jetzt der Depot-User zu den invalid users für workbench, repository und opsi_logs hinzugefügt.
Das Redis Slow Log wird jetzt in den Diagnosedaten mit ausgegeben.
Neue API Methoden:
- service_getConfig
- service_updateConfig

===========================
Pakete für opsi 4.3 stable:
===========================

== OPSI_PACKAGE ==
* debian10 4.2.0.2-10 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* debian11 4.2.0.2-10 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* debian12 4.2.0.2-10 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* l-opsi-server 4.3.0.7-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* mint20-1 4.2.0.5-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* mint20-2 4.2.0.5-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* mint20-3 4.2.0.5-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* mint21 4.2.0.5-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* mint21-1 4.2.0.5-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* mint21-2 4.2.0.5-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* mint21-3 4.2.0.5-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-cli 4.3.7.1-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-client-agent 4.3.3.21-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-clonezilla 4.3.0.1-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-configed 4.3.3.11-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-local-image-wim-capture 4.3.0.4-2 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-script 4.12.15.4-5 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-script-beautifier 4.3.0.1-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-wan-config-off 4.3.0.1-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-wan-config-on 4.3.0.1-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-winst 4.12.15.4-5 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* swaudit 4.3.1.1-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* ubuntu20-04 4.2.0.2-12 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* ubuntu22-04 4.2.0.2-12 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* ubuntu24-04 4.2.0.2-12 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt

== TOOL ==
* opsi-cli 4.3.7.1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-client-agent-msi 4.3.3.20 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-client-agent-msi 4.3.3.21 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-configed-portable 4.3.3.11 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-logviewer-portable 4.3.3.11 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-quickinstall.zip 4.3.0.7-1
* opsi43-vm 20240705

== SERVER_PACKAGE ==
* opsi-server 4.3.3.3 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-utils 4.3.6.2 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsiconfd 4.3.18.18 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* redis-timeseries-src 1.6.19.6 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt

Mit freundlichen Grüßen
Fabian Kalweit

Re: opsi 4.3 Juli Release

Verfasst: 01 Aug 2024, 00:15
von StardustScribe01
Guten Morgen,

seit dem letzten Update haben wir das Problem, dass Installationsfenster auf Laptops nur teilweise angezeigt werden, wahrscheinlich wegen der hohen Auflösung der Displays.
Ich wollte ein Bild hinzufügen, aber erhalte die Meldung, dass mein Kontingent erreicht ist. Wo kann ich Platz freigeben?

James ;)

Re: opsi 4.3 Juli Release

Verfasst: 01 Aug 2024, 08:58
von j.werner
Hallo,
ich kann zwar nur raten welches Installationsfenster gemeint ist. Ich gehe mal von der BatchGUI aus welche bei Softwareinstallationen vom opsi-script angezeigt wird. Kann ich mit opsi-script 4.12.15.4 unter Windows 11 und einem Display mit einer Auflösung von 3024 × 1890 sowie 3840 x 2160 nicht nachvollziehen.

Hilfreich wäre eine genauere Beschreibung (Auflösung? Betriebssystem? Art der Aktion z.b. Betriebssysteminstallation? Softwareinstallation? Welches Fenster genau?)

Viele Grüße
Jan

Re: opsi 4.3 Juli Release

Verfasst: 01 Aug 2024, 09:43
von SirTux
Habt ihr bei opsi-cli die Python-Version geändert? Das Plugin dev-tools läßt sich nicht mehr installieren, alte Installationen funktionieren aber weiterhin.

Code: Alles auswählen

$ opsi-cli -l7 plugin add dev-tools/
[7] [2024-08-01 09:37:12.559] [               ] get_command 'plugin'   (__main__.py:145)
[7] [2024-08-01 09:37:12.559] [               ] Found plugin plugin at /tmp/ziplaunch.staeglis.opsi-cli.1719651843/_internal/plugins/plugin   (plugin.py:127)
[7] [2024-08-01 09:37:12.559] [               ] Extracting plugin object from '/tmp/ziplaunch.staeglis.opsi-cli.1719651843/_internal/plugins/plugin'   (plugin.py:105)
[7] [2024-08-01 09:37:12.559] [               ] sys.path = ['/tmp/ziplaunch.staeglis.opsi-cli.1719651843/_internal/base_library.zip', '/tmp/ziplaunch.staeglis.opsi-cli.1719651843/_internal/lib-dynload', '/tmp/ziplaunch.staeglis.opsi-cli.1719651843/_internal']   (plugin.py:106)
[7] [2024-08-01 09:37:12.559] [               ] Searching spec for /tmp/ziplaunch.staeglis.opsi-cli.1719651843/_internal/plugins/plugin/python/__init__.py   (plugin.py:65)
[6] [2024-08-01 09:37:12.562] [               ] Loading plugin 'plugin' (name=Plugin, cli=<RichGroup plugin>)   (plugin.py:136)
[7] [2024-08-01 09:37:12.562] [               ] Main called   (__main__.py:211)
[7] [2024-08-01 09:37:12.563] [               ] Checking plugins from dir '/tmp/ziplaunch.staeglis.opsi-cli.1719651843/_internal/plugins'   (plugin.py:95)
[6] [2024-08-01 09:37:12.563] [               ] Inspecting plugin source 'dev-tools'   (plugin.py:156)
[6] [2024-08-01 09:37:12.563] [               ] Retrieving libraries for new plugin   (plugin.py:166)
[7] [2024-08-01 09:37:12.600] [               ] Generating requirements.txt from package /tmp/tmpyh8m7bg5/dev-tools   (plugin.py:241)
[7] [2024-08-01 09:37:12.607] [               ] Found packages: {'sys', 'tomlkit', 'packaging', 're', 'tarfile', 'git', 'json', 'requests', 'subprocess', 'platform', 'opsicommon', 'tempfile', 'rich_click', 'datetime', 'pathlib', 'os', 'opsicli'}   (__init__.py:2151)
[4] [2024-08-01 09:37:12.608] [               ] Import named "GitPython" not found locally. Trying to resolve it at the PyPI server.   (__init__.py:2126)
[7] [2024-08-01 09:37:12.609] [               ] Starting new HTTPS connection (1): pypi.python.org:443   (connectionpool.py:1051)
[7] [2024-08-01 09:37:12.660] [               ] https://pypi.python.org:443 "GET /pypi/GitPython/json HTTP/11" 301 122   (connectionpool.py:546)
[7] [2024-08-01 09:37:12.662] [               ] Starting new HTTPS connection (1): pypi.org:443   (connectionpool.py:1051)
[7] [2024-08-01 09:37:12.702] [               ] https://pypi.org:443 "GET /pypi/gitpython/json HTTP/11" 200 31632   (connectionpool.py:546)
[4] [2024-08-01 09:37:12.706] [               ] Import named "GitPython" was resolved to "GitPython:3.1.43" package (https://pypi.org/project/GitPython/).
Please, verify manually the final list of requirements.txt to avoid possible dependency confusions.   (__init__.py:2126)
[4] [2024-08-01 09:37:12.706] [               ] Import named "opsicli" not found locally. Trying to resolve it at the PyPI server.   (__init__.py:2126)
[7] [2024-08-01 09:37:12.708] [               ] Starting new HTTPS connection (1): pypi.python.org:443   (connectionpool.py:1051)
[7] [2024-08-01 09:37:12.736] [               ] https://pypi.python.org:443 "GET /pypi/opsicli/json HTTP/11" 301 122   (connectionpool.py:546)
[7] [2024-08-01 09:37:12.740] [               ] Starting new HTTPS connection (1): pypi.org:443   (connectionpool.py:1051)
[7] [2024-08-01 09:37:12.888] [               ] https://pypi.org:443 "GET /pypi/opsicli/json HTTP/11" 404 24   (connectionpool.py:546)
[4] [2024-08-01 09:37:12.890] [               ] Package "opsicli" does not exist or network problems   (__init__.py:2126)
[4] [2024-08-01 09:37:12.890] [               ] Import named "opsicommon" not found locally. Trying to resolve it at the PyPI server.   (__init__.py:2126)
[7] [2024-08-01 09:37:12.893] [               ] Starting new HTTPS connection (1): pypi.python.org:443   (connectionpool.py:1051)
[7] [2024-08-01 09:37:12.926] [               ] https://pypi.python.org:443 "GET /pypi/opsicommon/json HTTP/11" 301 122   (connectionpool.py:546)
[7] [2024-08-01 09:37:12.930] [               ] Starting new HTTPS connection (1): pypi.org:443   (connectionpool.py:1051)
[7] [2024-08-01 09:37:13.091] [               ] https://pypi.org:443 "GET /pypi/opsicommon/json HTTP/11" 404 24   (connectionpool.py:546)
[4] [2024-08-01 09:37:13.093] [               ] Package "opsicommon" does not exist or network problems   (__init__.py:2126)
[4] [2024-08-01 09:37:13.093] [               ] Import named "packaging" not found locally. Trying to resolve it at the PyPI server.   (__init__.py:2126)
[7] [2024-08-01 09:37:13.096] [               ] Starting new HTTPS connection (1): pypi.python.org:443   (connectionpool.py:1051)
[7] [2024-08-01 09:37:13.127] [               ] https://pypi.python.org:443 "GET /pypi/packaging/json HTTP/11" 301 122   (connectionpool.py:546)
[7] [2024-08-01 09:37:13.132] [               ] Starting new HTTPS connection (1): pypi.org:443   (connectionpool.py:1051)
[7] [2024-08-01 09:37:13.172] [               ] https://pypi.org:443 "GET /pypi/packaging/json HTTP/11" 200 15470   (connectionpool.py:546)
[4] [2024-08-01 09:37:13.175] [               ] Import named "packaging" was resolved to "packaging:24.1" package (https://pypi.org/project/packaging/).
Please, verify manually the final list of requirements.txt to avoid possible dependency confusions.   (__init__.py:2126)
[4] [2024-08-01 09:37:13.175] [               ] Import named "Requests" not found locally. Trying to resolve it at the PyPI server.   (__init__.py:2126)
[7] [2024-08-01 09:37:13.177] [               ] Starting new HTTPS connection (1): pypi.python.org:443   (connectionpool.py:1051)
[7] [2024-08-01 09:37:13.204] [               ] https://pypi.python.org:443 "GET /pypi/Requests/json HTTP/11" 301 122   (connectionpool.py:546)
[7] [2024-08-01 09:37:13.207] [               ] Starting new HTTPS connection (1): pypi.org:443   (connectionpool.py:1051)
[7] [2024-08-01 09:37:13.236] [               ] https://pypi.org:443 "GET /pypi/requests/json HTTP/11" 200 37099   (connectionpool.py:546)
[4] [2024-08-01 09:37:13.241] [               ] Import named "Requests" was resolved to "requests:2.32.3" package (https://pypi.org/project/requests/).
Please, verify manually the final list of requirements.txt to avoid possible dependency confusions.   (__init__.py:2126)
[4] [2024-08-01 09:37:13.241] [               ] Import named "rich_click" not found locally. Trying to resolve it at the PyPI server.   (__init__.py:2126)
[7] [2024-08-01 09:37:13.243] [               ] Starting new HTTPS connection (1): pypi.python.org:443   (connectionpool.py:1051)
[7] [2024-08-01 09:37:13.270] [               ] https://pypi.python.org:443 "GET /pypi/rich_click/json HTTP/11" 301 122   (connectionpool.py:546)
[7] [2024-08-01 09:37:13.272] [               ] Starting new HTTPS connection (1): pypi.org:443   (connectionpool.py:1051)
[7] [2024-08-01 09:37:13.299] [               ] https://pypi.org:443 "GET /pypi/rich-click/json HTTP/11" 200 15254   (connectionpool.py:546)
[4] [2024-08-01 09:37:13.302] [               ] Import named "rich_click" was resolved to "rich-click:1.8.3" package (https://pypi.org/project/rich-click/).
Please, verify manually the final list of requirements.txt to avoid possible dependency confusions.   (__init__.py:2126)
[4] [2024-08-01 09:37:13.303] [               ] Import named "tomlkit" not found locally. Trying to resolve it at the PyPI server.   (__init__.py:2126)
[7] [2024-08-01 09:37:13.304] [               ] Starting new HTTPS connection (1): pypi.python.org:443   (connectionpool.py:1051)
[7] [2024-08-01 09:37:13.343] [               ] https://pypi.python.org:443 "GET /pypi/tomlkit/json HTTP/11" 301 122   (connectionpool.py:546)
[7] [2024-08-01 09:37:13.344] [               ] Starting new HTTPS connection (1): pypi.org:443   (connectionpool.py:1051)
[7] [2024-08-01 09:37:13.369] [               ] https://pypi.org:443 "GET /pypi/tomlkit/json HTTP/11" 200 16985   (connectionpool.py:546)
[4] [2024-08-01 09:37:13.371] [               ] Import named "tomlkit" was resolved to "tomlkit:0.13.0" package (https://pypi.org/project/tomlkit/).
Please, verify manually the final list of requirements.txt to avoid possible dependency confusions.   (__init__.py:2126)
[7] [2024-08-01 09:37:13.371] [               ] Writing 5 requirements: GitPython, packaging, Requests, rich_click, tomlkit to /tmp/tmpyh8m7bg5/dev-tools/requirements.txt   (__init__.py:2151)
[7] [2024-08-01 09:37:13.371] [               ] Got dependencies: [{'name': 'GitPython', 'version': '3.1.43'}, {'name': 'packaging', 'version': '24.1'}, {'name': 'Requests', 'version': '2.32.3'}, {'name': 'rich_click', 'version': '1.8.3'}, {'name': 'tomlkit', 'version': '0.13.0'}]   (plugin.py:248)
[7] [2024-08-01 09:37:13.371] [               ] Checking dependency GitPython   (plugin.py:250)
[7] [2024-08-01 09:37:13.460] [               ] Registered VCS backend: bzr   (versioncontrol.py:206)
[7] [2024-08-01 09:37:13.461] [               ] Registered VCS backend: git   (versioncontrol.py:206)
[7] [2024-08-01 09:37:13.461] [               ] Registered VCS backend: hg   (versioncontrol.py:206)
[7] [2024-08-01 09:37:13.462] [               ] Registered VCS backend: svn   (versioncontrol.py:206)
[3] [2024-08-01 09:37:13.475] [               ] Unable to locate finder for 'pip._vendor.distlib'   (__main__.py:94)
Traceback (most recent call last):
  File "opsicli/plugin.py", line 252, in install_dependencies
  File "importlib/__init__.py", line 126, in import_module
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'GitPython'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "opsicli/__main__.py", line 89, in main
  File "click/core.py", line 1078, in main
  File "click/core.py", line 1688, in invoke
  File "click/core.py", line 1688, in invoke
  File "click/core.py", line 1434, in invoke
  File "click/core.py", line 783, in invoke
  File "/tmp/ziplaunch.staeglis.opsi-cli.1719651843/_internal/plugins/plugin/python/__init__.py", line 60, in add
    plugin_id = prepare_plugin(path, tmpdir_path)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "opsicli/plugin.py", line 167, in prepare_plugin
  File "opsicli/plugin.py", line 262, in install_dependencies
  File "opsicli/plugin.py", line 193, in install_python_package
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "pip/_internal/commands/install.py", line 15, in <module>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "pip/_internal/cli/req_command.py", line 19, in <module>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "pip/_internal/index/package_finder.py", line 31, in <module>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "pip/_internal/req/__init__.py", line 9, in <module>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "pip/_internal/req/req_install.py", line 40, in <module>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "pip/_internal/operations/install/wheel.py", line 40, in <module>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "pip/_vendor/distlib/scripts.py", line 66, in <module>
  File "pip/_vendor/distlib/resources.py", line 332, in finder
pip._vendor.distlib.DistlibException: Unable to locate finder for 'pip._vendor.distlib'
╭─ Error ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Unable to locate finder for 'pip._vendor.distlib'                                                                                                                                                               │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
                                                                                                                                                                                                                   
[7] [2024-08-01 09:37:13.478] [               ] Cache exit   (cache.py:33)


Re: opsi 4.3 Juli Release

Verfasst: 01 Aug 2024, 11:09
von SirTux
Das Problem betrifft auch andere Plugins.

EDIT: Um genau zu sein es betrifft alle unserer Plugins. Und ich sehe leider keinen offensichtlichen Fehler bei uns, weshalb ich mal von einem Bug in opsi-cli ausgehen würde.

Re: opsi 4.3 Juli Release

Verfasst: 07 Aug 2024, 11:27
von SirTux
Hi,

konnte sich jemand das Problem mit opsi-cli schon mal anschauen?

Viele Grüße,
Stefan

Re: opsi 4.3 Juli Release

Verfasst: 07 Aug 2024, 15:45
von n.doerrer
Bin ja schon dran - nicht nötig zu drängeln.

Ist gefixt in opsi-cli 4.3.7.2
das geht heute oder morgen nach experimental.

Re: opsi 4.3 Juli Release

Verfasst: 08 Aug 2024, 09:08
von SirTux
Sorry ich wollte nicht drängeln. Aber da der Bug gerade den Build unserer opsi-Test-Docker-Images kaputt macht (im Repo ist ja nun die verbugte Version), hätte ich einfach gerne eine kurze Rückmeldung gehabt ;)

Re: opsi 4.3 Juli Release

Verfasst: 08 Aug 2024, 11:38
von n.doerrer
4.3.7.2-1 ist in experimental. Über eine kurze Rückmeldung nach einem Test würde ich mich freuen.

Re: opsi 4.3 Juli Release

Verfasst: 09 Aug 2024, 08:02
von SirTux
Der Bug ist leider noch da.

Code: Alles auswählen

$ opsi-cli --version
opsi-cli version 4.3.7.2