Proxmox Backup Plugin not working after upgrade to 2.3.0p14

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.

p14 is incompatible with the proxmox plugin?

It is.

That is a local customization of the plugin and not the shipped plugin. Notice the local in the path.

I have not modified it.
Its the proxmox backup server plugin from here, I did only install the mkp: Releases · inettgmbh/checkmk-proxmox_backup_server · GitHub
2.3.0p13 is working just fine with this mkp.

Edit: Update works fine after running mkp disable proxmox_bs

I split the topic, as it is a third party plugin, which is not officially supported.

You need to contact the provider of the MKP to understand and fix the issue.

1 Like

I just wrote my own local checks for datastore usage, last state of gc and last state of verify jobs which I get via the PBS API. I then write the host to the PBS host via piggyback. Thats the best solution for now, lets see if inettgmbh will respond.

1 Like