SALT error

  • Hi,


    Anybody has any idea what is the problem? I cant install, upgrade anything on the server. Every time i get this error.


    Thank you


    root@omv:~# apt-get install --reinstall openmediavault

    Reading package lists... Done

    Building dependency tree... Done

    Reading state information... Done

    The following packages will be upgraded:

    openmediavault

    1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

    1 not fully installed or removed.

    Need to get 2,599 kB of archives.

    After this operation, 34.8 kB disk space will be freed.

    Get:1 http://packages.openmediavault.org/public shaitan/main amd64 openmediavault all 6.3.10-2 [2,599 kB]

    Fetched 2,599 kB in 1s (1,853 kB/s)

    Preconfiguring packages ...

    (Reading database ... 52928 files and directories currently installed.)

    Preparing to unpack .../openmediavault_6.3.10-2_all.deb ...

    Unpacking openmediavault (6.3.10-2) over (6.3.9-1) ...

    Setting up openmediavault (6.3.10-2) ...

    Installing new version of config file /etc/cron.daily/openmediavault-check_btrfs_errors ...

    Installing new version of config file /etc/udev/rules.d/61-openmediavault-dev-disk-by-id.rules ...

    Creating configuration database ...

    Migrating configuration database ...

    Running migration conf_6.3.2

    INFO: The node 'hidden' already exists at XPath '/config/system/network/interfaces/interface'.

    Running migration conf_6.3.3

    INFO: The node 'routemetric' already exists at XPath '/config/system/network/interfaces/interface'.

    INFO: The node 'routemetric6' already exists at XPath '/config/system/network/interfaces/interface'.

    Setting up Salt environment ...

    [ERROR ] 'EntryPoints' object has no attribute 'items'

    Traceback (most recent call last):

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 210, in parse_args

    mixin_after_parsed_func(self)

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 880, in __setup_extended_logging

    log.setup_extended_logging(self.config)

    File "/usr/lib/python3/dist-packages/salt/log/setup.py", line 414, in setup_extended_logging

    providers = salt.loader.log_handlers(opts)

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 663, in log_handlers

    _module_dirs(

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 138, in _module_dirs

    for entry_point in entrypoints.iter_entry_points("salt.loader"):

    File "/usr/lib/python3/dist-packages/salt/utils/entrypoints.py", line 62, in iter_entry_points

    for entry_point_group, entry_points_list in entry_points.items():

    AttributeError: 'EntryPoints' object has no attribute 'items'

    [ERROR ] An un-handled exception was caught by salt's global exception handler:

    TypeError: '>=' not supported between instances of 'AttributeError' and 'int'

    Traceback (most recent call last):

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 210, in parse_args

    mixin_after_parsed_func(self)

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 880, in __setup_extended_logging

    log.setup_extended_logging(self.config)

    File "/usr/lib/python3/dist-packages/salt/log/setup.py", line 414, in setup_extended_logging

    providers = salt.loader.log_handlers(opts)

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 663, in log_handlers

    _module_dirs(

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 138, in _module_dirs

    for entry_point in entrypoints.iter_entry_points("salt.loader"):

    File "/usr/lib/python3/dist-packages/salt/utils/entrypoints.py", line 62, in iter_entry_points

    for entry_point_group, entry_points_list in entry_points.items():

    AttributeError: 'EntryPoints' object has no attribute 'items'


    During handling of the above exception, another exception occurred:


    Traceback (most recent call last):

    File "/usr/bin/salt-call", line 11, in <module>

    load_entry_point('salt==3003', 'console_scripts', 'salt-call')()

    File "/usr/lib/python3/dist-packages/salt/scripts.py", line 449, in salt_call

    client.run()

    File "/usr/lib/python3/dist-packages/salt/cli/call.py", line 22, in run

    self.parse_args()

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 215, in parse_args

    mixin_after_parsed_func, traceback.format_exc(err)

    File "/usr/lib/python3.9/traceback.py", line 167, in format_exc

    return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))

    File "/usr/lib/python3.9/traceback.py", line 120, in format_exception

    return list(TracebackException(

    File "/usr/lib/python3.9/traceback.py", line 508, in __init__

    self.stack = StackSummary.extract(

    File "/usr/lib/python3.9/traceback.py", line 340, in extract

    if limit >= 0:

    TypeError: '>=' not supported between instances of 'AttributeError' and 'int'

    Traceback (most recent call last):

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 210, in parse_args

    mixin_after_parsed_func(self)

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 880, in __setup_extended_logging

    log.setup_extended_logging(self.config)

    File "/usr/lib/python3/dist-packages/salt/log/setup.py", line 414, in setup_extended_logging

    providers = salt.loader.log_handlers(opts)

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 663, in log_handlers

    _module_dirs(

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 138, in _module_dirs

    for entry_point in entrypoints.iter_entry_points("salt.loader"):

    File "/usr/lib/python3/dist-packages/salt/utils/entrypoints.py", line 62, in iter_entry_points

    for entry_point_group, entry_points_list in entry_points.items():

    AttributeError: 'EntryPoints' object has no attribute 'items'


    During handling of the above exception, another exception occurred:


    Traceback (most recent call last):

    File "/usr/bin/salt-call", line 11, in <module>

    load_entry_point('salt==3003', 'console_scripts', 'salt-call')()

    File "/usr/lib/python3/dist-packages/salt/scripts.py", line 449, in salt_call

    client.run()

    File "/usr/lib/python3/dist-packages/salt/cli/call.py", line 22, in run

    self.parse_args()

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 215, in parse_args

    mixin_after_parsed_func, traceback.format_exc(err)

    File "/usr/lib/python3.9/traceback.py", line 167, in format_exc

    return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))

    File "/usr/lib/python3.9/traceback.py", line 120, in format_exception

    return list(TracebackException(

    File "/usr/lib/python3.9/traceback.py", line 508, in __init__

    self.stack = StackSummary.extract(

    File "/usr/lib/python3.9/traceback.py", line 340, in extract

    if limit >= 0:

    TypeError: '>=' not supported between instances of 'AttributeError' and 'int'

    dpkg: error processing package openmediavault (--configure):

    installed openmediavault package post-installation script subprocess returned error exit status 1

    Processing triggers for rsyslog (8.2102.0-2+deb11u1) ...

    Errors were encountered while processing:

    openmediavault

    E: Sub-process /usr/bin/dpkg returned an error code (1)

  • ryecoaaron

    Hat das Thema freigeschaltet.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!