You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pretty self-explanatory, this happens against the current head of the master branch (81eb152).
Steps to Reproduce Issue
On a docker container, I installed the testing modules using pip install -r requirements/static/py2.7/linux.txt, which results in the following traceback on every salt-call:
% docker run --rm -it -v $PWD:/testing terminalmage/issues:56061 salt-call test.ping
[ERROR ] Failed to import grains esxi, this is due most likely to a syntax error:
Traceback (most recent call last):
File "/testing/salt/loader.py", line 1607, in _load_module
mod = imp.load_module(mod_namespace, fn_, fpath, desc)
File "/testing/salt/grains/esxi.py", line 16, in <module>
import salt.modules.vsphere
File "/testing/salt/modules/vsphere.py", line 222, in <module>
import jsonschema
File "/usr/lib/python2.7/site-packages/jsonschema/__init__.py", line 18, in <module>
from jsonschema.validators import (
File "/usr/lib/python2.7/site-packages/jsonschema/validators.py", line 170, in <module>
meta_schema=_utils.load_schema("draft3"),
File "/usr/lib/python2.7/site-packages/jsonschema/_utils.py", line 57, in load_schema
data = pkgutil.get_data('jsonschema', "schemas/{0}.json".format(name))
File "/usr/lib64/python2.7/pkgutil.py", line 578, in get_data
loader = get_loader(package)
File "/usr/lib64/python2.7/pkgutil.py", line 464, in get_loader
return find_loader(fullname)
File "/usr/lib64/python2.7/pkgutil.py", line 475, in find_loader
loader = importer.find_module(fullname)
TypeError: find_module() takes exactly 3 arguments (2 given)
local:
True
Versions Report
Salt Version:
Salt: 3000
Dependency Versions:
cffi: 1.12.2
cherrypy: 17.3.0
dateutil: 2.8.0
docker-py: 3.7.2
gitdb: 2.0.5
gitpython: 2.1.11
Jinja2: 2.10.1
libgit2: 0.28.2
M2Crypto: Not Installed
Mako: 1.1.0
msgpack-pure: Not Installed
msgpack-python: 0.5.6
mysql-python: Not Installed
pycparser: 2.19
pycrypto: 3.8.1
pycryptodome: Not Installed
pygit2: 0.28.2
Python: 2.7.5 (default, Jun 20 2019, 20:27:34)
python-gnupg: 0.4.4
PyYAML: 5.1.2
PyZMQ: 18.0.1
smmap: 2.0.5
timelib: 0.2.4
Tornado: 4.5.3
ZMQ: 4.3.1
System Versions:
dist: centos 7.6.1810 Core
locale: UTF-8
machine: x86_64
release: 5.4.15-arch1-1
system: Linux
version: CentOS Linux 7.6.1810 Core
The text was updated successfully, but these errors were encountered:
Description of Issue
Pretty self-explanatory, this happens against the current head of the master branch (81eb152).
Steps to Reproduce Issue
On a docker container, I installed the testing modules using
pip install -r requirements/static/py2.7/linux.txt
, which results in the following traceback on every salt-call:Versions Report
The text was updated successfully, but these errors were encountered: