-
Notifications
You must be signed in to change notification settings - Fork 5.6k
win_pkg: 2016.11.4 regression - not loading tls module ??? #40947
Copy link
Copy link
Closed
Labels
cannot-reproducecannot be replicated with info/context providedcannot be replicated with info/context providedpending-discussionThe issue or pull request needs more discussion before it can be closed or mergedThe issue or pull request needs more discussion before it can be closed or merged
Milestone
Description
Description of Issue/Question
Setup
2016.11.4 master on centos 6 and 2016.11.4 minion on win 10 x64
Steps to Reproduce Issue
c:\salt\salt-call pkg.install <mypackage>
-> error
[ERROR ] Failed to import module tls, this is due most likely to a syntax error:
Versions Report
Salt Version:
Salt: 2016.11.4
Dependency Versions:
cffi: 1.10.0
cherrypy: unknown
dateutil: 2.5.3
docker-py: Not Installed
gitdb: 0.6.4
gitpython: 2.0.8
ioflo: 1.5.5
Jinja2: 2.9.4
libgit2: Not Installed
libnacl: 1.4.5
M2Crypto: Not Installed
Mako: 1.0.4
msgpack-pure: Not Installed
msgpack-python: 0.4.8
mysql-python: Not Installed
pycparser: 2.17
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:24:40) [MSC v.1500 64 bit (AMD64)]
python-gnupg: 0.3.8
PyYAML: 3.11
PyZMQ: 16.0.1
RAET: Not Installed
smmap: 0.9.0
timelib: 0.2.4
Tornado: 4.4.1
ZMQ: 4.1.6
System Versions:
dist:
machine: AMD64
release: 10
system: Windows
version: 10 10.0.14393 Multiprocessor Free
Full error log and stack trace is like this:
C:\salt>salt-call pkg.install adobeair,itunes
[ERROR ] Failed to import module tls, this is due most likely to a syntax error:
Traceback (most recent call last):
File "C:\salt\bin\lib\site-packages\salt\loader.py", line 1333, in _load_module
mod = imp.load_module(mod_namespace, fn_, fpath, desc)
File "C:\salt\bin\lib\site-packages\salt\modules\tls.py", line 122, in <module>
import OpenSSL
File "C:\salt\bin\lib\site-packages\OpenSSL\__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "C:\salt\bin\lib\site-packages\OpenSSL\rand.py", line 12, in <module>
from OpenSSL._util import (
File "C:\salt\bin\lib\site-packages\OpenSSL\_util.py", line 6, in <module>
from cryptography.hazmat.bindings.openssl.binding import Binding
File "C:\salt\bin\lib\site-packages\cryptography\hazmat\bindings\openssl\binding.py", line 141, in <module>
Binding.init_static_locks()
File "C:\salt\bin\lib\site-packages\cryptography\hazmat\bindings\openssl\binding.py", line 122, in init_static_locks
cls._ensure_ffi_initialized()
File "C:\salt\bin\lib\site-packages\cryptography\hazmat\bindings\openssl\binding.py", line 109, in _ensure_ffi_initialized
cls.lib = build_conditional_library(lib, CONDITIONAL_NAMES)
File "C:\salt\bin\lib\site-packages\cryptography\hazmat\bindings\openssl\binding.py", line 69, in build_conditional_library
if not getattr(lib, condition):
AttributeError: cffi library '_openssl' has no function, constant or global variable named 'Cryptography_HAS_EVP_PKEY_DHX'
[ERROR ] Failed to import module x509, this is due most likely to a syntax error:
Traceback (most recent call last):
File "C:\salt\bin\lib\site-packages\salt\loader.py", line 1333, in _load_module
mod = imp.load_module(mod_namespace, fn_, fpath, desc)
File "C:\salt\bin\lib\site-packages\salt\modules\x509.py", line 42, in <module>
import OpenSSL
File "C:\salt\bin\lib\site-packages\OpenSSL\__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "C:\salt\bin\lib\site-packages\OpenSSL\rand.py", line 12, in <module>
from OpenSSL._util import (
File "C:\salt\bin\lib\site-packages\OpenSSL\_util.py", line 6, in <module>
from cryptography.hazmat.bindings.openssl.binding import Binding
File "C:\salt\bin\lib\site-packages\cryptography\hazmat\bindings\openssl\binding.py", line 141, in <module>
Binding.init_static_locks()
File "C:\salt\bin\lib\site-packages\cryptography\hazmat\bindings\openssl\binding.py", line 122, in init_static_locks
cls._ensure_ffi_initialized()
File "C:\salt\bin\lib\site-packages\cryptography\hazmat\bindings\openssl\binding.py", line 109, in _ensure_ffi_initialized
cls.lib = build_conditional_library(lib, CONDITIONAL_NAMES)
File "C:\salt\bin\lib\site-packages\cryptography\hazmat\bindings\openssl\binding.py", line 69, in build_conditional_library
if not getattr(lib, condition):
AttributeError: cffi library '_openssl' has no function, constant or global variable named 'Cryptography_HAS_EVP_PKEY_DHX'
Version 25.0.0.134 is current; no actions to take
done
local:
----------
adobeair:
----------
current:
25.0.0.134
itunes:
----------
new:
12.6.0.100
old:
12.5.3.17
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cannot-reproducecannot be replicated with info/context providedcannot be replicated with info/context providedpending-discussionThe issue or pull request needs more discussion before it can be closed or mergedThe issue or pull request needs more discussion before it can be closed or merged