diff options
author | JingLu5 <lvjing5@huawei.com> | 2018-01-10 02:42:56 +0000 |
---|---|---|
committer | JingLu5 <lvjing5@huawei.com> | 2018-01-11 02:02:48 +0000 |
commit | efd9c7372f4abd5cd868039cd8673681e2f38043 (patch) | |
tree | 508d1a145ecbd3df73e7cbedb0ccc083c40bf174 /tools/yardstick-img-dpdk-finalize.sh | |
parent | c191b305790b4528868725db82d1af6c0d95e22b (diff) |
pyOpenSSL missing: cause 'git review' failed
JIRA: YARDSTICK-905
In the latest Yardstick container, when use git review to upload patches, an Attribute Error will cause failure.
root@a80081a4dccd:/home/opnfv/repos/yardstick# git review
Traceback (most recent call last):
File "/usr/bin/git-review", line 6, in <module>
from git_review.cmd import main
File "/usr/lib/python2.7/dist-packages/git_review/cmd.py", line 32, in <module>
import requests
File "/usr/local/lib/python2.7/dist-packages/requests/_init_.py", line 52, in <module>
from .packages.urllib3.contrib import pyopenssl
File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 46, in <module>
import OpenSSL.SSL
File "/usr/lib/python2.7/dist-packages/OpenSSL/_init_.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 118, in <module>
SSL_ST_INIT = _lib.SSL_ST_INIT
AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
pyOpenSSL is required.
Change-Id: I88a4916c9c2dfcdee45320f6b1a37eaae0803671
Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'tools/yardstick-img-dpdk-finalize.sh')
0 files changed, 0 insertions, 0 deletions