summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Shchelokovskyy <pshchelokovskyy@mirantis.com>2017-03-02 12:02:00 +0200
committerPavlo Shchelokovskyy <pshchelokovskyy@mirantis.com>2017-03-24 17:54:16 +0200
commitfdd01ca736877aa1a877ae4035ae41bb5f241311 (patch)
treef32c5f1f0539d3d3dddcb315afc2034524d62ad2
parent7e350c869a085a8f56a1faf6050b14d22c816adf (diff)
downloadironic-stable/mitaka.tar.gz
Pin version of virtualbmc in devstack pluginmitaka-eol5.1.3stable/mitaka
Virtualbmc is absent from global requirements and upper constraints, but it depends on pyghmi which is in those requirements. With new releases of virtualbmc it might lead to newer version of virtualbmc installed together with old, unsupported by it version of pyghmi, breaking vbmc functionality. Until virtualbmc is introduced into g-r and u-c, let's pin the version of installed virtualbmc to the latest one that existed at the time when the stable branch was created (0.0.4 for stable/mitaka). Change-Id: Ic964f0dda043f927547962dd8fd78cb11b4f7064
-rw-r--r--devstack/lib/ironic5
1 files changed, 4 insertions, 1 deletions
diff --git a/devstack/lib/ironic b/devstack/lib/ironic
index 1ebe6f886..943ab76f5 100644
--- a/devstack/lib/ironic
+++ b/devstack/lib/ironic
@@ -249,7 +249,10 @@ function install_ironic {
fi
if is_deployed_by_ipmitool && [[ "$IRONIC_IS_HARDWARE" == "False" ]]; then
- pip_install "virtualbmc"
+ # NOTE(pas-ha) as virtualbmc is not in the global requiremets
+ # and upper constraints, but depends on pyghmi which is in gr and uc,
+ # we better pin the version for now
+ pip_install "virtualbmc==0.0.4"
if [[ ! -d $(dirname $IRONIC_VBMC_CONFIG_FILE) ]]; then
mkdir -p $(dirname $IRONIC_VBMC_CONFIG_FILE)