inettgmbh / checkmk-proxmox_backup_server

check_mk extension package for Proxmox Backup Server
https://www.inett.de/it-loesungen/checkmk
GNU General Public License v2.0
9 stars 5 forks source link

Update to 2.3.0p14.cre fails #8

Open peterge-misoft opened 2 months ago

peterge-misoft commented 2 months ago
2024-09-03 09:57:54 - Updating site 'misoft' from version 2.3.0p13.cre to 2.3.0p14.cre...

Creating temporary filesystem /omd/sites/misoft/tmp...OK
ATTENTION
  Some steps may take a long time depending on your installation.
  Please be patient.

Cleanup precompiled host and folder files
Verifying Checkmk configuration...
Failed to load plug-in /omd/sites/misoft/local/share/check_mk/web/plugins/wato/proxmox_bs.py: No module named 'cmk.gui.cee'
Traceback (most recent call last):
  File "/omd/sites/misoft/lib/python3/cmk/gui/utils/__init__.py", line 67, in load_web_plugins
    exec(
  File "/omd/sites/misoft/local/share/check_mk/web/plugins/wato/proxmox_bs.py", line 14, in <module>
    from cmk.gui.cee.plugins.wato.agent_bakery.rulespecs.utils import (
ModuleNotFoundError: No module named 'cmk.gui.cee'
Failed to load plug-in /omd/sites/misoft/local/share/check_mk/web/plugins/wato/proxmox_bs.py: No module named 'cmk.gui.cee'
Traceback (most recent call last):
  File "/omd/sites/misoft/lib/python3/cmk/gui/utils/__init__.py", line 67, in load_web_plugins
    exec(
  File "/omd/sites/misoft/local/share/check_mk/web/plugins/wato/proxmox_bs.py", line 14, in <module>
    from cmk.gui.cee.plugins.wato.agent_bakery.rulespecs.utils import (
ModuleNotFoundError: No module named 'cmk.gui.cee'
 01/06 Legacy check plug-ins...
 02/06 Rulesets...
 03/06 UI extensions...
Failed to load plug-in /omd/sites/misoft/local/share/check_mk/web/plugins/wato/proxmox_bs.py: No module named 'cmk.gui.cee'
Traceback (most recent call last):
  File "/omd/sites/misoft/lib/python3/cmk/gui/utils/__init__.py", line 67, in load_web_plugins
    exec(
  File "/omd/sites/misoft/local/share/check_mk/web/plugins/wato/proxmox_bs.py", line 14, in <module>
    from cmk.gui.cee.plugins.wato.agent_bakery.rulespecs.utils import (
ModuleNotFoundError: No module named 'cmk.gui.cee'
Incompatible file '/omd/sites/misoft/local/share/check_mk/web/plugins/wato/proxmox_bs.py' of extension package 'proxmox_bs 0.3
.9'
Error: No module named 'cmk.gui.cee'

Traceback (most recent call last):
  File "/omd/sites/misoft/lib/python3/cmk/update_config/main.py", line 100, in main_check_config
    check_config(logger, conflict)
  File "/omd/sites/misoft/lib/python3/cmk/update_config/main.py", line 241, in check_config
    pre_action(logger, conflict_mode)
  File "/omd/sites/misoft/lib/python3/cmk/update_config/plugins/pre_actions/ui_extensions.py", line 60, in __call__
    if disable_incomp_mkp(
       ^^^^^^^^^^^^^^^^^^^
  File "/omd/sites/misoft/lib/python3/cmk/update_config/plugins/pre_actions/utils.py", line 115, in disable_incomp_mkp
    and _request_user_input_on_incompatible_file().lower() in USER_INPUT_DISABLE
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/omd/sites/misoft/lib/python3/cmk/update_config/plugins/pre_actions/utils.py", line 134, in _request_user_input_on_inc
ompatible_file
    return prompt(
           ^^^^^^^
  File "/omd/sites/misoft/lib/python3/cmk/update_config/plugins/pre_actions/utils.py", line 44, in prompt
    tcflush(sys.stdin, TCIFLUSH)
termios.error: (25, 'Inappropriate ioctl for device')

Update aborted with Error: (25, 'Inappropriate ioctl for device').
Your site has not been modified.
The update can be retried after the error has been fixed.

I just tried to install 2.3.0p14.cre, which did fail bc of the proxmox_bs plugin. Updating works fine after running mkp disable proxmox_bs.

peterge-misoft commented 2 months ago

https://forum.checkmk.com/t/proxmox-backup-plugin-not-working-after-upgrade-to-2-3-0p14/49381