Closed weixp closed 4 years ago
Are these showing up every time you run a command or only when using debug mode? And can you post teh errors? Or is the only error the kenel not loading error you posted as a title?
they show up every time i run any command, not only in debug mode , i use debug mode only for the detail information.what confuse me is all those errors does not affect anything.the title is one of the errors , the entire errors are as follows:
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.aix_group. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.aix_group.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'aix_group', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.apache. Module will not be loaded: 'os_family'
[WARNING ] salt.loaded.int.module.apache.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'apache', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.bridge. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.bridge.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'bridge', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.deb_apache. Module will not be loaded: 'os_family'
[WARNING ] salt.loaded.int.module.deb_apache.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'deb_apache', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.debconfmod. Module will not be loaded: 'os_family'
[WARNING ] salt.loaded.int.module.debconfmod.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'debconfmod', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.debian_ip. Module will not be loaded: 'os_family'
[WARNING ] salt.loaded.int.module.debian_ip.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'debian_ip', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.debian_service. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.debian_service.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'debian_service', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.dpkg. Module will not be loaded: 'os_family'
[WARNING ] salt.loaded.int.module.dpkg.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'dpkg', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.eix. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.eix.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'eix', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.eselect. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.eselect.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'eselect', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.freebsd_sysctl. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.freebsd_sysctl.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'freebsd_sysctl', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.freebsd_update. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.freebsd_update.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'freebsd_update', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.freebsdjail. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.freebsdjail.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'freebsdjail', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.freebsdkmod. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.freebsdkmod.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'freebsdkmod', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.freebsdpkg. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.freebsdpkg.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'freebsdpkg', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.freebsdports. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.freebsdports.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'freebsdports', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.freebsdservice. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.freebsdservice.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'freebsdservice', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.gentoo_service. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.gentoo_service.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'gentoo_service', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.gentoolkitmod. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.gentoolkitmod.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'gentoolkitmod', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.groupadd. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.groupadd.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'groupadd', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.grub_legacy. Module will not be loaded: 'os_family'
[WARNING ] salt.loaded.int.module.grub_legacy.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'grub_legacy', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.kmod. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.kmod.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'kmod', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.layman. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.layman.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'layman', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.linux_ip. Module will not be loaded: 'os_family'
[WARNING ] salt.loaded.int.module.linux_ip.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'linux_ip', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.linux_sysctl. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.linux_sysctl.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'linux_sysctl', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.logadm. Module will not be loaded: 'os_family'
[WARNING ] salt.loaded.int.module.logadm.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'logadm', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.mac_sysctl. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.mac_sysctl.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'mac_sysctl', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.mac_xattr. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.mac_xattr.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'mac_xattr', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.makeconf. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.makeconf.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'makeconf', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.mdadm. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.mdadm.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'mdadm', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.netbsd_sysctl. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.netbsd_sysctl.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'netbsd_sysctl', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.netbsdservice. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.netbsdservice.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'netbsdservice', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.nspawn. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.nspawn.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'nspawn', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.openbsd_sysctl. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.openbsd_sysctl.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'openbsd_sysctl', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.openbsdpkg. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.openbsdpkg.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'openbsdpkg', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.openbsdrcctl. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.openbsdrcctl.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'openbsdrcctl', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.openbsdservice. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.openbsdservice.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'openbsdservice', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.pacman. Module will not be loaded: 'os_family'
[WARNING ] salt.loaded.int.module.pacman.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'pacman', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.pkgin. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.pkgin.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'pkgin', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.pkgng. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.pkgng.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'pkgng', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.pkgutil. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.pkgutil.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'pkgutil', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.poudriere. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.poudriere.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'poudriere', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.pw_group. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.pw_group.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'pw_group', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.pw_user. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.pw_user.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'pw_user', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.rbac_solaris. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.rbac_solaris.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'rbac_solaris', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.rh_ip. Module will not be loaded: 'os_family'
[WARNING ] salt.loaded.int.module.rh_ip.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'rh_ip', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.rh_service. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.rh_service.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'rh_service', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.service. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.service.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'service', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.smf. Module will not be loaded: 'os_family'
[WARNING ] salt.loaded.int.module.smf.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'smf', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.solaris_group. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.solaris_group.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'solaris_group', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.solaris_user. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.solaris_user.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'solaris_user', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.solarisips. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.solarisips.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'solarisips', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.solarispkg. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.solarispkg.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'solarispkg', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.systemd. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.systemd.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'systemd', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.useradd. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.useradd.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'useradd', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.win_powercfg. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.win_powercfg.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'win_powercfg', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.xapi. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.xapi.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'xapi', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.xbpspkg. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.xbpspkg.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'xbpspkg', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.zfs. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.zfs.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'zfs', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.zoneadm. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.zoneadm.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'zoneadm', please fix this.
[ERROR ] Exception raised when processing virtual function for salt.loaded.int.module.zonecfg. Module will not be loaded: 'kernel'
[WARNING ] salt.loaded.int.module.zonecfg.virtual() is wrongly returning None
. It should either return True
, False
or a new name. If you're the developer of the module 'zonecfg', please fix this.
[WARNING ] Returner unavailable: 'mysql.get_load'
I am facing the exact same issue. I am using SMTP returner though and I don't even get an email.
ping @saltstack/team-core do we need to attack each of these loader warnings and fix each error in each module? or is this possibly an issue with the loader not loading something up required by another module possibly?
ping @himanshu1691 can you please open another issue with more details as these loader warnings/errors shouldn't impact functionality unless it spits out a warning for your smtp returner not loading. I can help on the new issue you created.
@Ch3LL the reason is not in modules itself. This happens because __grains__
contains no kernel
, os
and os_family
keys for some reason. Probably __grains__
partially or completely not initialized in the described case.
@DmitryKuzmenko thanks for that clarification. I went ahead and tried to replicate this issue and was not successful.
ping @weixp was this working previously?
also is there any useful information in the debug logs that you can paste a sanitized version here?
I ran into this today. Everything was working fine, upgraded from salt 2018.3.3 to 2018.3.4 and now I get a ton of spam.
[root@salt-master1 ~]# salt --versions-report
Salt Version:
Salt: 2018.3.4
Dependency Versions:
cffi: 1.12.2
cherrypy: unknown
dateutil: 1.5
docker-py: Not Installed
gitdb: 0.6.4
gitpython: 1.0.1
ioflo: Not Installed
Jinja2: 2.7.2
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: 0.31.0
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.5.6
mysql-python: Not Installed
pycparser: 2.19
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 2.7.5 (default, Sep 12 2018, 05:31:16)
python-gnupg: Not Installed
PyYAML: 3.11
PyZMQ: 15.3.0
RAET: Not Installed
smmap: 0.9.0
timelib: Not Installed
Tornado: 4.2.1
ZMQ: 4.1.4
System Versions:
dist: redhat 7.6 Maipo
locale: UTF-8
machine: x86_64
release: 3.10.0-957.10.1.el7.x86_64
system: Linux
version: Red Hat Enterprise Linux Server 7.6 Maipo
[root@salt-master1 ~]#
salt -l debug shows the exceptions, its definitely failing to load the core grains for some reason.
[DEBUG ] Trying to connect to: tcp://127.0.0.1:4506
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pub.ipc
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.ext.module.ibm_redhat_evidence_collector. Module will not be loaded: 'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/var/cache/salt/master/extmods/modules/ibm_redhat_evidence_collector.py", line 18, in __virtual__
if __grains__['os_family'] == 'RedHat':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: 'os_family'
[WARNING ] salt.loaded.ext.module.ibm_redhat_evidence_collector.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'ibm_redhat_evidence_collector', please fix this.
[DEBUG ] Failed to import module ibm_windows_inventory:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1534, in _load_module
mod = imp.load_module(mod_namespace, fn_, fpath, desc)
File "/var/cache/salt/master/extmods/modules/ibm_windows_inventory.py", line 7, in <module>
import wmi
ImportError: No module named wmi
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.aix_group. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/aix_group.py", line 33, in __virtual__
if __grains__['kernel'] == 'AIX':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.aix_group.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'aix_group', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.aix_shadow. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/aix_shadow.py", line 26, in __virtual__
if __grains__['kernel'] == 'AIX':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.aix_shadow.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'aix_shadow', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.apache. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/apache.py", line 43, in __virtual__
cmd = _detect_os()
File "/usr/lib/python2.7/site-packages/salt/modules/apache.py", line 54, in _detect_os
os_family = __grains__['os_family']
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.apache.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'apache', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.bridge. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/bridge.py", line 32, in __virtual__
cur_os = __grains__['kernel']
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.bridge.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'bridge', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.deb_apache. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/deb_apache.py", line 30, in __virtual__
cmd = _detect_os()
File "/usr/lib/python2.7/site-packages/salt/modules/deb_apache.py", line 41, in _detect_os
if __grains__['os_family'] == 'RedHat':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.deb_apache.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'deb_apache', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.debconfmod. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/debconfmod.py", line 33, in __virtual__
if __grains__['os_family'] != 'Debian':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.debconfmod.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'debconfmod', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.debian_ip. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/debian_ip.py", line 51, in __virtual__
if __grains__['os_family'] == 'Debian':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.debian_ip.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'debian_ip', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.debian_service. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/debian_service.py", line 44, in __virtual__
if __grains__['os'] in ('Debian', 'Raspbian', 'Devuan') and not salt.utils.systemd.booted(__context__):
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.debian_service.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'debian_service', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.dpkg. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/dpkg.py", line 31, in __virtual__
if __grains__['os_family'] == 'Debian':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.dpkg.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'dpkg', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.eix. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/eix.py", line 15, in __virtual__
if __grains__['os'] == 'Gentoo' and salt.utils.path.which('eix'):
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.eix.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'eix', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.eselect. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/eselect.py", line 20, in __virtual__
if __grains__['os'] == 'Gentoo' and salt.utils.path.which('eselect'):
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.eselect.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'eselect', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.freebsd_sysctl. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/freebsd_sysctl.py", line 27, in __virtual__
if __grains__['os'] == 'FreeBSD':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.freebsd_sysctl.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'freebsd_sysctl', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.freebsd_update. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/freebsd_update.py", line 35, in __virtual__
if __grains__['os'] != 'FreeBSD':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.freebsd_update.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'freebsd_update', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.freebsdjail. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/freebsdjail.py", line 25, in __virtual__
if __grains__['os'] == 'FreeBSD':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.freebsdjail.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'freebsdjail', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.freebsdkmod. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/freebsdkmod.py", line 28, in __virtual__
if __grains__['kernel'] == 'FreeBSD':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.freebsdkmod.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'freebsdkmod', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.freebsdpkg. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/freebsdpkg.py", line 101, in __virtual__
if __grains__['os'] == 'FreeBSD' and float(__grains__['osrelease']) < 10:
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.freebsdpkg.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'freebsdpkg', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.freebsdports. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/freebsdports.py", line 43, in __virtual__
if __grains__['os'] == 'FreeBSD':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.freebsdports.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'freebsdports', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.freebsdservice. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/freebsdservice.py", line 40, in __virtual__
if __grains__['os'] == 'FreeBSD':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.freebsdservice.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'freebsdservice', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.gentoo_service. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/gentoo_service.py", line 34, in __virtual__
if __grains__['os'] == 'Gentoo' and not salt.utils.systemd.booted(__context__):
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.gentoo_service.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'gentoo_service', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.gentoolkitmod. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/gentoolkitmod.py", line 27, in __virtual__
if __grains__['os'] == 'Gentoo' and HAS_GENTOOLKIT:
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.gentoolkitmod.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'gentoolkitmod', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.groupadd. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/groupadd.py", line 33, in __virtual__
if __grains__['kernel'] in ('Linux', 'OpenBSD', 'NetBSD'):
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.groupadd.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'groupadd', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.grub_legacy. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/grub_legacy.py", line 23, in __virtual__
if os.path.exists(_detect_conf()):
File "/usr/lib/python2.7/site-packages/salt/utils/decorators/__init__.py", line 185, in _memoize
cache[args_] = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/salt/modules/grub_legacy.py", line 34, in _detect_conf
if __grains__['os_family'] == 'RedHat':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.grub_legacy.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'grub_legacy', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.kmod. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/kmod.py", line 23, in __virtual__
return __grains__['kernel'] == 'Linux'
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.kmod.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'kmod', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.layman. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/layman.py", line 15, in __virtual__
if __grains__['os'] == 'Gentoo' and salt.utils.path.which('layman'):
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.layman.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'layman', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.linux_ip. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/linux_ip.py", line 25, in __virtual__
if __grains__['os_family'] == 'RedHat':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.linux_ip.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'linux_ip', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.linux_sysctl. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/linux_sysctl.py", line 35, in __virtual__
if __grains__['kernel'] != 'Linux':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.linux_sysctl.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'linux_sysctl', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.logadm. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/logadm.py", line 56, in __virtual__
if 'Solaris' in __grains__['os_family']:
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.logadm.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'logadm', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.mac_sysctl. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/mac_sysctl.py", line 23, in __virtual__
if __grains__['os'] == 'MacOS':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.mac_sysctl.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'mac_sysctl', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.mac_xattr. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/mac_xattr.py", line 31, in __virtual__
if __grains__['os'] in ['MacOS', 'Darwin']:
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.mac_xattr.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'mac_xattr', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.makeconf. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/makeconf.py", line 18, in __virtual__
if __grains__['os'] == 'Gentoo':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.makeconf.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'makeconf', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.mdadm. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/mdadm.py", line 36, in __virtual__
if __grains__['kernel'] != 'Linux':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.mdadm.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'mdadm', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.netbsd_sysctl. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/netbsd_sysctl.py", line 24, in __virtual__
if __grains__['os'] == 'NetBSD':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.netbsd_sysctl.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'netbsd_sysctl', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.netbsdservice. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/netbsdservice.py", line 31, in __virtual__
if __grains__['os'] == 'NetBSD' and os.path.exists('/etc/rc.subr'):
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.netbsdservice.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'netbsdservice', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.nspawn. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/nspawn.py", line 60, in __virtual__
if __grains__['kernel'] == 'Linux' \
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.nspawn.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'nspawn', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.openbsd_sysctl. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/openbsd_sysctl.py", line 23, in __virtual__
if __grains__['os'] == 'OpenBSD':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.openbsd_sysctl.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'openbsd_sysctl', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.openbsdpkg. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/openbsdpkg.py", line 51, in __virtual__
if __grains__['os'] == 'OpenBSD':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.openbsdpkg.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'openbsdpkg', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.openbsdrcctl. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/openbsdrcctl.py", line 27, in __virtual__
if __grains__['os'] == 'OpenBSD' and os.path.exists('/usr/sbin/rcctl'):
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.openbsdrcctl.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'openbsdrcctl', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.openbsdservice. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/openbsdservice.py", line 42, in __virtual__
if __grains__['os'] == 'OpenBSD' and os.path.exists('/etc/rc.d/rc.subr'):
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.openbsdservice.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'openbsdservice', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.pacman. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/pacman.py", line 43, in __virtual__
if __grains__['os_family'] == 'Arch':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.pacman.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'pacman', please fix this.
[DEBUG ] Failed to import module pip:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1534, in _load_module
mod = imp.load_module(mod_namespace, fn_, fpath, desc)
File "/usr/lib/python2.7/site-packages/salt/modules/pip.py", line 82, in <module>
import pkg_resources
ImportError: No module named pkg_resources
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.pkgin. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/pkgin.py", line 100, in __virtual__
if __grains__['os'] in supported and _check_pkgin():
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.pkgin.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'pkgin', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.pkgng. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/pkgng.py", line 70, in __virtual__
if __grains__['kernel'] == 'DragonFly':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.pkgng.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'pkgng', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.pkgutil. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/pkgutil.py", line 32, in __virtual__
if __grains__['os_family'] == 'Solaris':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.pkgutil.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'pkgutil', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.poudriere. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/poudriere.py", line 23, in __virtual__
if __grains__['os'] == 'FreeBSD' and salt.utils.path.which('poudriere'):
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.poudriere.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'poudriere', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.pw_group. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/pw_group.py", line 37, in __virtual__
if __grains__['kernel'] in ('FreeBSD', 'DragonFly'):
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.pw_group.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'pw_group', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.pw_user. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/pw_user.py", line 66, in __virtual__
if HAS_PWD and __grains__['kernel'] in ('FreeBSD', 'DragonFly'):
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.pw_user.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'pw_user', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.rbac_solaris. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/rbac_solaris.py", line 24, in __virtual__
if __grains__['kernel'] == 'SunOS' and salt.utils.path.which('profiles'):
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.rbac_solaris.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'rbac_solaris', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.rh_ip. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/rh_ip.py", line 42, in __virtual__
if __grains__['os_family'] == 'RedHat':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.rh_ip.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'rh_ip', please fix this.
[DEBUG ] LazyLoaded systemd.booted
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.selinux. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/selinux.py", line 54, in __virtual__
if __grains__['kernel'] == 'Linux':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.selinux.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'selinux', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.service. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/service.py", line 48, in __virtual__
if __grains__['kernel'] != 'Linux':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.service.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'service', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.smf. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/smf.py", line 30, in __virtual__
if 'Solaris' in __grains__['os_family']:
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.smf.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'smf', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.solaris_group. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/solaris_group.py", line 36, in __virtual__
if __grains__['kernel'] == 'SunOS':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.solaris_group.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'solaris_group', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.solaris_user. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/solaris_user.py", line 40, in __virtual__
if __grains__['kernel'] == 'SunOS' and HAS_PWD:
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.solaris_user.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'solaris_user', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.solarisips. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/solarisips.py", line 60, in __virtual__
if __grains__['os_family'] == 'Solaris' \
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.solarisips.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'solarisips', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.solarispkg. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/solarispkg.py", line 35, in __virtual__
if __grains__['os_family'] == 'Solaris' and float(__grains__['kernelrelease']) <= 5.10:
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.solarispkg.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'solarispkg', please fix this.
[DEBUG ] Error loading module.swarm: __init__ failed
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1591, in _load_module
module_init(self.opts)
File "/usr/lib/python2.7/site-packages/salt/modules/swarm.py", line 54, in __init__
__context__['server_name'] = __grains__['id']
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'id'
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.systemd. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/systemd.py", line 58, in __virtual__
if __grains__['kernel'] == 'Linux' \
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.systemd.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'systemd', please fix this.
[DEBUG ] You should upgrade pyOpenSSL to at least 0.14.1 to enable the use of X509 extensions in the tls module
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.useradd. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/useradd.py", line 43, in __virtual__
if HAS_PWD and __grains__['kernel'] in ('Linux', 'OpenBSD', 'NetBSD', 'AIX'):
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.useradd.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'useradd', please fix this.
[DEBUG ] DSC: Only available on Windows systems
[DEBUG ] Module PSGet: Only available on Windows systems
[DEBUG ] LazyLoaded platform.is_windows
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.xapi. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/xapi.py", line 70, in __virtual__
if _check_xenapi() is not False:
File "/usr/lib/python2.7/site-packages/salt/modules/xapi.py", line 52, in _check_xenapi
if __grains__['os'] == 'Debian':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.xapi.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'xapi', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.xbpspkg. Module will not be loaded: u'os'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/xbpspkg.py", line 37, in __virtual__
if __grains__['os'] in ('Void') and _check_xbps():
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os'
[WARNING ] salt.loaded.int.module.xbpspkg.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'xbpspkg', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.zoneadm. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/zoneadm.py", line 64, in __virtual__
if _is_globalzone() and salt.utils.path.which('zoneadm'):
File "/usr/lib/python2.7/site-packages/salt/utils/decorators/__init__.py", line 185, in _memoize
cache[args_] = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/salt/modules/zoneadm.py", line 40, in _is_globalzone
if not __grains__['kernel'] == 'SunOS':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.zoneadm.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'zoneadm', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.zonecfg. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1810, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/site-packages/salt/modules/zonecfg.py", line 104, in __virtual__
if _is_globalzone() and salt.utils.path.which('zonecfg'):
File "/usr/lib/python2.7/site-packages/salt/utils/decorators/__init__.py", line 185, in _memoize
cache[args_] = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/salt/modules/zonecfg.py", line 87, in _is_globalzone
if not __grains__['kernel'] == 'SunOS':
File "/usr/lib/python2.7/site-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.zonecfg.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'zonecfg', please fix this.
[DEBUG ] Could not LazyLoad nagios.list_plugins: 'nagios' __virtual__ returned False: The nagios execution module cannot be loaded: nagios-plugins are not installed.
[DEBUG ] Could not LazyLoad sseapi.get_load: 'sseapi.get_load' is not available.
[WARNING ] Returner unavailable: u'sseapi.get_load'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/client/__init__.py", line 1179, in get_iter_returns
if self.returners['{0}.get_load'.format(self.opts['master_job_cache'])](jid) == {}:
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1175, in __getitem__
func = super(LazyLoader, self).__getitem__(item)
File "/usr/lib/python2.7/site-packages/salt/utils/lazy.py", line 108, in __getitem__
raise KeyError(key)
KeyError: u'sseapi.get_load'
[DEBUG ] get_iter_returns for jid 20190402235703375388 sent to set(['linux-client.ozone.IBM.cloud']) will timeout at 23:57:09.320600
[DEBUG ] jid 20190402235703375388 return from linux-client.ozone.IBM.cloud
[DEBUG ] return event: {u'linux-client.ozone.IBM.cloud': {u'jid': u'20190402235703375388', u'retcode': 254, u'ret': u"'ibm_inventory.get' is not available.", u'out': u'nested'}}
[DEBUG ] LazyLoaded nested.output
linux-client.ozone.IBM.cloud:
'ibm_inventory.get' is not available.
[DEBUG ] jid 20190402235703375388 found all minions set([u'linux-client.ozone.IBM.cloud'])
ERROR: Minions returned with non-zero exit code
The returner thing at the very bottom makes me think this may be something related to the Saltstack Enterprise bits which I also just installed. @cro
Poking around, I can load the grans just fine from python
>>> import salt.config
>>> import salt.loader
>>> __opts__ = salt.config.minion_config('/etc/salt/minion')
>>> __grains__ = salt.loader.grains(__opts__)
>>> __utils__ = salt.loader.utils(__opts__)
>>> from pprint import pprint
>>> pprint(__grains__)
{u'SSDs': [u'xvda', u'xvdb'],
u'biosreleasedate': u'11/09/2018',
u'biosversion': u'4.7.5-1.21',
u'cloud_vector': u'lab',
u'cpu_flags': [u'fpu',
u'vme',
u'de',
u'pse',
u'tsc',
u'msr',
<snip>
did you check that there was an os_family
in the __grains__
object?
u'zfs_feature_flags': False,
u'zfs_support': False,
u'zmqversion': u'4.1.4'}
>>> pprint(__grains__['os_family'])
u'RedHat'
>>>
can you share your configuration as well? I was not able to previously replicate this with @weixp 's configurations.
I am seeing the same issue under 2019.2.0.
Salt Version:
Salt: 2019.2.0
Dependency Versions:
cffi: Not Installed
cherrypy: unknown
dateutil: 2.6.1
docker-py: Not Installed
gitdb: 2.0.3
gitpython: 2.1.8
ioflo: Not Installed
Jinja2: 2.10
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: Not Installed
Mako: 1.0.7
msgpack-pure: Not Installed
msgpack-python: 0.5.6
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 2.7.15rc1 (default, Nov 12 2018, 14:31:15)
python-gnupg: 0.4.1
PyYAML: 3.12
PyZMQ: 16.0.2
RAET: Not Installed
smmap: 2.0.3
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.2.5
System Versions:
dist: Ubuntu 18.04 bionic
locale: ANSI_X3.4-1968
machine: x86_64
release: 4.15.0-48-generic
system: Linux
version: Ubuntu 18.04 bionic
test.ping output
root@0714347864ee:/var/log/salt# salt -l debug aws-cache test.ping
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/master.d/elasticsearch.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/elasticsearch.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/reactor.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/reactor.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/roots.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/roots.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/settings.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/settings.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: 0714347864ee
[DEBUG ] Missing configuration file: /root/.saltrc
[DEBUG ] Configuration file path: /etc/salt/master
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/master.d/elasticsearch.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/elasticsearch.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/reactor.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/reactor.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/roots.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/roots.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/settings.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/settings.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: 0714347864ee
[DEBUG ] Missing configuration file: /root/.saltrc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Popen(['git', 'version'], cwd=/var/log/salt, universal_newlines=False, shell=None)
[DEBUG ] Popen(['git', 'version'], cwd=/var/log/salt, universal_newlines=False, shell=None)
[DEBUG ] Initializing new AsyncZeroMQReqChannel for (u'/srv/nfs/pki', u'0714347864ee_master', u'tcp://127.0.0.1:4506', u'clear')
[DEBUG ] Connecting the Minion to the Master URI (for the return server): tcp://127.0.0.1:4506
[DEBUG ] Trying to connect to: tcp://127.0.0.1:4506
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] Closing AsyncZeroMQReqChannel instance
[DEBUG ] LazyLoaded elasticsearch.get_load
[DEBUG ] LazyLoaded config.option
[INFO ] Using default for elasticsearch create_index
[INFO ] Using default for elasticsearch index_date
[INFO ] Using default for elasticsearch master_event_doc_type
[INFO ] Using default for elasticsearch states_order_output
[INFO ] Using default for elasticsearch functions_blacklist
[INFO ] Using default for elasticsearch master_job_cache_doc_type
[INFO ] Using default for elasticsearch debug_returner_payload
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.aix_group. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1831, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/dist-packages/salt/modules/aix_group.py", line 33, in __virtual__
if __grains__['kernel'] == 'AIX':
File "/usr/lib/python2.7/dist-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.aix_group.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'aix_group', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.aix_shadow. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1831, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/dist-packages/salt/modules/aix_shadow.py", line 26, in __virtual__
if __grains__['kernel'] == 'AIX':
File "/usr/lib/python2.7/dist-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.aix_shadow.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'aix_shadow', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.aixpkg. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1831, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/dist-packages/salt/modules/aixpkg.py", line 36, in __virtual__
if __grains__['os_family'] == 'AIX':
File "/usr/lib/python2.7/dist-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.aixpkg.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'aixpkg', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.apache. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1831, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/dist-packages/salt/modules/apache.py", line 45, in __virtual__
cmd = _detect_os()
File "/usr/lib/python2.7/dist-packages/salt/modules/apache.py", line 56, in _detect_os
os_family = __grains__['os_family']
File "/usr/lib/python2.7/dist-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.apache.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'apache', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.bridge. Module will not be loaded: u'kernel'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1831, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/dist-packages/salt/modules/bridge.py", line 32, in __virtual__
cur_os = __grains__['kernel']
File "/usr/lib/python2.7/dist-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'kernel'
[WARNING ] salt.loaded.int.module.bridge.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'bridge', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.deb_apache. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1831, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/dist-packages/salt/modules/deb_apache.py", line 30, in __virtual__
cmd = _detect_os()
File "/usr/lib/python2.7/dist-packages/salt/modules/deb_apache.py", line 41, in _detect_os
if __grains__['os_family'] == 'RedHat':
File "/usr/lib/python2.7/dist-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.deb_apache.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'deb_apache', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.debconfmod. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1831, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/dist-packages/salt/modules/debconfmod.py", line 33, in __virtual__
if __grains__['os_family'] != 'Debian':
File "/usr/lib/python2.7/dist-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.debconfmod.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'debconfmod', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.debian_ip. Module will not be loaded: u'os_family'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1831, in _process_virtual
virtual = getattr(mod, virtual_func)()
File "/usr/lib/python2.7/dist-packages/salt/modules/debian_ip.py", line 52, in __virtual__
if __grains__['os_family'] == 'Debian':
File "/usr/lib/python2.7/dist-packages/salt/utils/context.py", line 236, in __getitem__
return self._dict()[key]
KeyError: u'os_family'
[WARNING ] salt.loaded.int.module.debian_ip.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'debian_ip', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.debian_service. Module will not be loaded: u'os'
...
...
...
...
...
[DEBUG ] Could not LazyLoad elasticsearch.document_get: 'elasticsearch' __virtual__ returned False: Cannot load module elasticsearch: elasticsearch libraries not found
[WARNING ] Returner unavailable: 'elasticsearch.document_get'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/client/__init__.py", line 1074, in get_iter_returns
if self.returners['{0}.get_load'.format(self.opts['master_job_cache'])](jid) == {}:
File "/usr/lib/python2.7/dist-packages/salt/returners/elasticsearch_return.py", line 430, in get_load
data = __salt__['elasticsearch.document_get'](index=index,
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 108, in __getitem__
raise KeyError(key)
KeyError: 'elasticsearch.document_get'
[DEBUG ] get_iter_returns for jid 20190618150414214343 sent to set(['aws-cache']) will timeout at 15:05:16.488658
[DEBUG ] jid 20190618150414214343 return from aws-cache
[DEBUG ] return event: {u'aws-cache': {u'jid': u'20190618150414214343', u'retcode': 0, u'ret': True}}
[DEBUG ] LazyLoaded nested.output
aws-cache:
True
[DEBUG ] jid 20190618150414214343 found all minions set([u'aws-cache'])
[DEBUG ] Closing IPCMessageSubscriber instance
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
I just did an os upgrade (ubuntu 19.04 -> 20.04) and it looks like "grains" is only half-populated which gives the above errors. Some "system" grains made it in and all of my custom grains are in.
# salt-call --versions-report
/usr/lib/python3/dist-packages/salt/ext/tornado/httputil.py:107: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
class HTTPHeaders(collections.MutableMapping):
Salt Version:
Salt: 3000.1
Dependency Versions:
cffi: Not Installed
cherrypy: Not Installed
dateutil: 2.7.3
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 2.10.1
libgit2: Not Installed
M2Crypto: Not Installed
Mako: 1.1.0
msgpack-pure: Not Installed
msgpack-python: 0.6.2
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 3.8.2 (default, Mar 13 2020, 10:14:16)
python-gnupg: 0.4.5
PyYAML: 5.3.1
PyZMQ: 18.1.1
smmap: Not Installed
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.3.2
System Versions:
dist: ubuntu 20.04 focal
locale: utf-8
machine: x86_64
release: 5.4.0-26-generic
system: Linux
version: Ubuntu 20.04 focal
root@testdt:~#
Landed here when googling for fixes.
everything was working fine. but out of nowhere I am getting it in 3000.3:
salt-run saltutil.sync_all ⚡ ✔ 0.20
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.aix_group. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.aix_group.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'aix_group', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.aix_shadow. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.aix_shadow.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'aix_shadow', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.aixpkg. Module will not be loaded: u'os_family'
[WARNING ] salt.loaded.int.module.aixpkg.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'aixpkg', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.apache. Module will not be loaded: u'os_family'
[WARNING ] salt.loaded.int.module.apache.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'apache', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.bridge. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.bridge.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'bridge', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.deb_apache. Module will not be loaded: u'os_family'
[WARNING ] salt.loaded.int.module.deb_apache.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'deb_apache', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.debconfmod. Module will not be loaded: u'os_family'
[WARNING ] salt.loaded.int.module.debconfmod.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'debconfmod', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.debian_ip. Module will not be loaded: u'os_family'
[WARNING ] salt.loaded.int.module.debian_ip.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'debian_ip', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.debian_service. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.debian_service.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'debian_service', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.dpkg_lowpkg. Module will not be loaded: u'os_family'
[WARNING ] salt.loaded.int.module.dpkg_lowpkg.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'dpkg_lowpkg', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.eix. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.eix.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'eix', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.eselect. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.eselect.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'eselect', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.freebsd_sysctl. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.freebsd_sysctl.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'freebsd_sysctl', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.freebsd_update. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.freebsd_update.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'freebsd_update', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.freebsdjail. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.freebsdjail.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'freebsdjail', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.freebsdkmod. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.freebsdkmod.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'freebsdkmod', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.freebsdpkg. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.freebsdpkg.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'freebsdpkg', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.freebsdports. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.freebsdports.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'freebsdports', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.freebsdservice. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.freebsdservice.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'freebsdservice', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.gentoo_service. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.gentoo_service.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'gentoo_service', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.gentoolkitmod. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.gentoolkitmod.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'gentoolkitmod', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.groupadd. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.groupadd.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'groupadd', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.grub_legacy. Module will not be loaded: u'os_family'
[WARNING ] salt.loaded.int.module.grub_legacy.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'grub_legacy', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.kmod. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.kmod.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'kmod', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.layman. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.layman.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'layman', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.linux_ip. Module will not be loaded: u'os_family'
[WARNING ] salt.loaded.int.module.linux_ip.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'linux_ip', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.linux_sysctl. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.linux_sysctl.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'linux_sysctl', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.logadm. Module will not be loaded: u'os_family'
[WARNING ] salt.loaded.int.module.logadm.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'logadm', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.mac_sysctl. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.mac_sysctl.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'mac_sysctl', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.mac_xattr. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.mac_xattr.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'mac_xattr', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.makeconf. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.makeconf.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'makeconf', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.mdadm_raid. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.mdadm_raid.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'mdadm_raid', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.netbsd_sysctl. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.netbsd_sysctl.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'netbsd_sysctl', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.netbsdservice. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.netbsdservice.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'netbsdservice', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.nilrt_ip. Module will not be loaded: u'os_family'
[WARNING ] salt.loaded.int.module.nilrt_ip.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'nilrt_ip', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.nspawn. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.nspawn.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'nspawn', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.openbsd_sysctl. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.openbsd_sysctl.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'openbsd_sysctl', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.openbsdpkg. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.openbsdpkg.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'openbsdpkg', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.openbsdrcctl_service. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.openbsdrcctl_service.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'openbsdrcctl_service', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.openbsdservice. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.openbsdservice.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'openbsdservice', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.pacmanpkg. Module will not be loaded: u'os_family'
[WARNING ] salt.loaded.int.module.pacmanpkg.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'pacmanpkg', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.pf. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.pf.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'pf', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.pkgin. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.pkgin.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'pkgin', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.pkgng. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.pkgng.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'pkgng', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.pkgutil. Module will not be loaded: u'os_family'
[WARNING ] salt.loaded.int.module.pkgutil.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'pkgutil', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.poudriere. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.poudriere.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'poudriere', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.pw_group. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.pw_group.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'pw_group', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.pw_user. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.pw_user.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'pw_user', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.rbac_solaris. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.rbac_solaris.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'rbac_solaris', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.rh_ip. Module will not be loaded: u'os_family'
[WARNING ] salt.loaded.int.module.rh_ip.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'rh_ip', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.service. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.service.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'service', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.smf_service. Module will not be loaded: u'os_family'
[WARNING ] salt.loaded.int.module.smf_service.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'smf_service', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.solaris_group. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.solaris_group.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'solaris_group', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.solaris_user. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.solaris_user.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'solaris_user', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.solarisipspkg. Module will not be loaded: u'os_family'
[WARNING ] salt.loaded.int.module.solarisipspkg.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'solarisipspkg', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.solarispkg. Module will not be loaded: u'os_family'
[WARNING ] salt.loaded.int.module.solarispkg.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'solarispkg', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.suse_apache. Module will not be loaded: u'os_family'
[WARNING ] salt.loaded.int.module.suse_apache.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'suse_apache', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.systemd_service. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.systemd_service.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'systemd_service', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.useradd. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.useradd.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'useradd', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.vmctl. Module will not be loaded: 'os'
[WARNING ] salt.loaded.int.module.vmctl.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'vmctl', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.xapi_virt. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.xapi_virt.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'xapi_virt', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.xbpspkg. Module will not be loaded: u'os'
[WARNING ] salt.loaded.int.module.xbpspkg.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'xbpspkg', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.zoneadm. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.zoneadm.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'zoneadm', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.zonecfg. Module will not be loaded: u'kernel'
[WARNING ] salt.loaded.int.module.zonecfg.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'zonecfg', please fix this.
cache:
clouds:
engines:
executors:
fileserver:
grains:
modules:
output:
pillar:
proxymodules:
queues:
renderers:
returners:
runners:
sdb:
serializers:
states:
thorium:
tokens:
tops:
utils:
wheel:
first I tried to run an orchestration
these errors showed up and it continues to showing up in every salt-run
there is nothing logged in master with service salt-master stop; salt-master -l debug
Description of Issue/Question
when i turn on the master_job_cache, there will be a lot of errors and warnings,but the command salt "*" test.ping still works,it seems the errors does not affect anytings,and the data still goes into mysql.
Setup
(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).) maser config file interface: 0.0.0.0 log_level: debug job_cache: True auto_accept: True file_roots: base:
MySQL
mysql.host: 'xxx.xxx.xxx.xxx' mysql.user: 'salt' mysql.pass: 'salt' mysql.db: 'salt' mysql.port: 3306
Master Job Cache
master_job_cache: mysql
Steps to Reproduce Issue
(Include debug logs if possible and relevant.)
Versions Report
(Provided by running
salt --versions-report
. Please also mention any differences in master/minion versions.)[root@localhost salt]# salt --versions-report Salt Version: Salt: 2017.7.2
Dependency Versions: cffi: Not Installed cherrypy: Not Installed dateutil: Not Installed docker-py: Not Installed gitdb: Not Installed gitpython: Not Installed ioflo: Not Installed Jinja2: 2.7.2 libgit2: Not Installed libnacl: Not Installed M2Crypto: Not Installed Mako: Not Installed msgpack-pure: Not Installed msgpack-python: 0.4.6 mysql-python: Not Installed pycparser: Not Installed pycrypto: 2.6.1 pycryptodome: Not Installed pygit2: Not Installed Python: 2.7.5 (default, Nov 6 2016, 00:28:07) python-gnupg: Not Installed PyYAML: 3.11 PyZMQ: 15.3.0 RAET: Not Installed smmap: Not Installed timelib: Not Installed Tornado: 4.2.1 ZMQ: 4.1.4
System Versions: dist: centos 7.3.1611 Core locale: UTF-8 machine: x86_64 release: 3.10.0-514.el7.x86_64 system: Linux version: CentOS Linux 7.3.1611 Core test2.log