py3.5:Workaround fix for forcing virtualbmc installation with pip2
The IPMI commands fail for virtualbmc. This is a workaround fix to enforce virtualbmc to be installed in python2 as pyghmi is not ready for python3.5 yet. Related-Bug: 1696736 Change-Id: Ie4ca923ef0b8363d2f016ebc5be4b2512d3b9a1a
This commit is contained in:
parent
e003b071f3
commit
57e8186d30
@ -661,7 +661,10 @@ function setup_virtualbmc {
|
|||||||
git_clone_by_name "virtualbmc"
|
git_clone_by_name "virtualbmc"
|
||||||
setup_dev_lib "virtualbmc"
|
setup_dev_lib "virtualbmc"
|
||||||
else
|
else
|
||||||
pip_install_gr "virtualbmc"
|
# pyghmi is still not compatible with python3
|
||||||
|
# hence we need to install virtualbmc in python2
|
||||||
|
# environment else IPMI calls will fail at the gate.
|
||||||
|
USE_PYTHON3=False pip_install_gr "virtualbmc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -d $(dirname $IRONIC_VBMC_CONFIG_FILE) ]]; then
|
if [[ ! -d $(dirname $IRONIC_VBMC_CONFIG_FILE) ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user