From f66f08ff9cd34a48362c16519924eda7d2c2f9eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dulko?= Date: Thu, 12 Apr 2018 10:29:59 +0200 Subject: [PATCH] Install client from pip if not in LIBS_FROM_GIT It shouldn't be a requirement to put python-octaviaclient into LIBS_FROM_GIT in local.conf. This commit makes Octavia's DevStack plugin install it from pip if it's not present in LIBS_FROM_GIT. Story: 2001830 Task: 12587 Change-Id: I37014a766e27f6117c96aef976fa1e0b5a9ca031 --- devstack/plugin.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index cba0058f0e..35c3913c1a 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -24,6 +24,8 @@ function octaviaclient_install { if use_library_from_git "python-octaviaclient"; then git_clone_by_name "python-octaviaclient" setup_dev_lib "python-octaviaclient" + else + pip_install_gr python-octaviaclient fi }