Probleme mit Salt und minion

  • Hallo, When updating, this message appears. Ts there a solution for this.

    Thanks.


    Code
    chown: cannot access '/etc/salt/pki/minion': No such file or directory
    chown: cannot access '/var/run/salt/minion': No such file or directory


  • votdev

    Hi


    Just for your information, i had the same chown messages during update from 8.0.9-1 -> 8.0.10-1...

    I ignored it...


    Best regards

    prtigger

    Old (2011) Supermicro 1U Rackserver X7SPA-HF, Intel Atom D510, 4GB RAM (maximum) | System: Supermicro SATA DOM 64GB SSD | Data: 3*Samsung 870 QVO 4TB SATA (Btrfs Raid1) | OMV 8.x services: SSH, SMB, NFS, MiniDLNA | 6.12.x kernel | Bare-metal

  • Did several new installations of OMV now and can not reproduce the mentioned error. TBH, i have no idea what the problem is.


    You may try this:


    Code
    # apt-get install --reinstall salt-common salt-minion openmediavault


    So, it´s not necessary to do a reinstall of the packages?!

    Old (2011) Supermicro 1U Rackserver X7SPA-HF, Intel Atom D510, 4GB RAM (maximum) | System: Supermicro SATA DOM 64GB SSD | Data: 3*Samsung 870 QVO 4TB SATA (Btrfs Raid1) | OMV 8.x services: SSH, SMB, NFS, MiniDLNA | 6.12.x kernel | Bare-metal

    • Official Post

    So, it´s not necessary to do a reinstall of the packages?!

    No, the suggestion to reinstall the packages was in the context of the error


    Quote
    Code
    Setting up Salt environment ...
    [ERROR   ] {'return': 'Exception occurred in runner saltutil.sync_modules: Traceback (most recent call last):\n  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/client/mixins.py", line 379, in low\n    func_globals["__jid_event__"].fire_event(data, "new")\n  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/utils/event.py", line 962, in fire_event\n    self.event.fire_event(data, tagify(tag, base=self.base))\n  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/utils/event.py", line 768, in fire_event\n    if not self.connect_pull(timeout=timeout_s):\n  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/utils/event.py", line 380, in connect_pull\n    self.pusher = salt.utils.asynchronous.SyncWrapper(\n  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/utils/asynchronous.py", line 61, in __init__\n    self.io_loop = tornado.ioloop.IOLoop(\n  File "/opt/saltstack/salt/lib/python3.10/site-packages/tornado/util.py", line 259, in __new__\n    instance.initialize(*args, **init_kwargs)\n  File "/opt/saltstack/salt/lib/python3.10/site-packages/tornado/platform/asyncio.py", line 334, in initialize\n    super().initialize(**kwargs)\n  File "/opt/saltstack/salt/lib/python3.10/site-packages/tornado/platform/asyncio.py", line 128, in initialize\n    for loop in IOLoop._ioloop_for_asyncio.copy():\nRuntimeError: dictionary keys changed during iteration\n'}
  • Thanks for the feedback. I ran the reinstall command. Now comes this message. The directory actually does not exist. I only noticed because I wanted to change the startup time of BorgBackup. After the command


    Code
    omv-salt stage run deploy


    comes an error and the new variables are not activated.



Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!