openmediavault deb installation

  • Hello,

    I'm getting weird errors while installing openmediavault package, error message seems to be related to salt-minion:

    Preparing to unpack openmediavault_5.0.1_all.deb ...
    Unpacking openmediavault (5.0.1) ...
    Setting up openmediavault (5.0.1) ...
    Creating users/groups ...
    Updating local package archive ...
    Updating service units ...
    Creating configuration database ...

    Setting up Salt environment ...
    [ERROR ] An exception occurred in this state: Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/salt/", line 1933, in call
    File "/usr/lib/python2.7/dist-packages/salt/", line 1939, in wrapper
    return f(*args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/salt/states/", line 730, in runner
    File "/usr/lib/python2.7/dist-packages/salt/modules/", line 1615, in runner
    File "/usr/lib/python2.7/dist-packages/salt/", line 156, in cmd
    File "/usr/lib/python2.7/dist-packages/salt/client/", line 238, in cmd
    self.functions[fun], arglist, pub_data
    File "/usr/lib/python2.7/dist-packages/salt/", line 1196, in __getitem__
    func = super(LazyLoader, self).__getitem__(item)
    File "/usr/lib/python2.7/dist-packages/salt/utils/", line 105, in __getitem__
    return self._dict[key]

    KeyError: u'omv.populate_pillar'

    But the salt-minion minimal version requirement (>= 2018.3.3) is OK:

    Setting up salt-common (2019.2.0+ds-1) ...
    Installing new version of config file /etc/logrotate.d/salt-common ...
    Setting up salt-minion (2019.2.0+ds-1) ...
    Installing new version of config file /etc/init.d/salt-minion ...
    Installing new version of config file /etc/salt/minion ...

    Anyone know how to fix it?


  • Btw the only place that there's something about populate_pillar regarding to this error "KeyError: u'omv.populate_pillar'" is here:…/srv/salt/_runners/

    but the error is happen here:



  • But I have Python3:

    # python --version
    Python 3.5.3

    # update-alternatives --config python
    There are 2 choices for the alternative python (providing /usr/bin/python).

    Selection Path Priority Status
    * 0 /usr/bin/python3.5 2 auto mode
    1 /usr/bin/python2.7 1 manual mode
    2 /usr/bin/python3.5 2 manual mode

    [UPDATE] nvm, I found the way to install Salt for Python3, thanks for the tip!


  • Hi,

    I'm having the same issues.

    How did you resolve it?

Participate now!

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