openmediavault deb installation

    • OMV 5.x (development)
    • Resolved
    • Update

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • 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.
    • OMV reconfigures Salt Minion for it's own purpose. OMV does not like a side-by-side installation with other Salt environments.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit

      Post by tkaiser ().

      This post was deleted by the author themselves ().
    • Btw the only place that there's something about populate_pillar regarding to this error "KeyError: u'omv.populate_pillar'" is here:

      github.com/openmediavault/open…/srv/salt/_runners/omv.py

      but the error is happen here:

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



      Source Code: lazy.py

      1. def __getitem__(self, key):
      2. '''
      3. Check if the key is ttld out, then do the get
      4. '''
      5. if self._missing(key):
      6. raise KeyError(key)
      7. if key not in self._dict and not self.loaded:
      8. # load the item
      9. if self._load(key):
      10. log.debug('LazyLoaded %s', key)
      11. return self._dict[key]
      Display All
      --
      Wbm.
    • OMV and Salt require Python3, not Python2.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • 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.

      The post was edited 1 time, last by Wbm ().