From d0f9a5ccdcf46f6a9d86caf9cf16a8cf478f1aef Mon Sep 17 00:00:00 2001 From: nmagnezi Date: Tue, 16 Jun 2015 14:03:28 +0300 Subject: [PATCH] Fix the devstack octavia plugin for non ubuntu distributions The plugin.sh script should refrain from using apt-get directly. By doing so, package installation (in our case qemu and kpartx) fails for non ubuntu distributions. This Fix uses the install_package wrapper function, which is part of devstack. Change-Id: Ie602fbb6f7a39ceff11354ee95d99fe1e267a4ed Closes-Bug: 1465618 --- devstack/plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index bbdd8eb2ef..54ee64bb9e 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -5,7 +5,7 @@ function octavia_install { setup_develop $OCTAVIA_DIR - sudo apt-get -y install qemu kpartx + install_package qemu kpartx git_clone https://git.openstack.org/openstack/diskimage-builder.git $DEST/diskimage-builder master git_clone https://git.openstack.org/openstack/tripleo-image-elements.git $DEST/tripleo-image-elements master sudo pip install -r $DEST/diskimage-builder/requirements.txt