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/state.py", line 1933, in call
    **cdata['kwargs'])
    File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1939, in wrapper
    return f(*args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/salt/states/saltmod.py", line 730, in runner
    **kwargs)
    File "/usr/lib/python2.7/dist-packages/salt/modules/saltutil.py", line 1615, in runner
    full_return=full_return)
    File "/usr/lib/python2.7/dist-packages/salt/runner.py", line 156, in cmd
    full_return)
    File "/usr/lib/python2.7/dist-packages/salt/client/mixins.py", line 238, in cmd
    self.functions[fun], arglist, pub_data
    File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1196, in __getitem__
    func = super(LazyLoader, self).__getitem__(item)
    File "/usr/lib/python2.7/dist-packages/salt/utils/lazy.py", 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?


    regards,
    --
    Wbm.

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


    https://github.com/openmediava…/srv/salt/_runners/omv.py


    but the error is happen here:


    http:///usr/lib/python2.7/dist-packages/salt/utils/lazy.py




    --
    Wbm.

  • 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!


    --
    Wbm.

  • 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!