From ab3982eb27a2dd844885d367feaa87e7e0db17d2 Mon Sep 17 00:00:00 2001 From: Vasyl Saienko Date: Fri, 21 Apr 2017 10:27:56 +0300 Subject: [PATCH] Ensure we install latest libivrt Recently infra team added UCA repositories and start installing libvirt from it Ia4434541c71f050fe1ffb54f4c4c1e302391d00b This patch ensures that libvirt-bin is installed later during stack.sh phase when new repos are added. Change-Id: Iab7bb24d0aa89cdbef40b2e60331976325a31cab --- devstack/files/debs/ironic | 2 +- devstack/plugin.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/devstack/files/debs/ironic b/devstack/files/debs/ironic index 8bb5deaa8e..adf37951d6 100644 --- a/devstack/files/debs/ironic +++ b/devstack/files/debs/ironic @@ -18,7 +18,7 @@ ipxe gnupg libguestfs0 libguestfs-tools -libvirt-bin +libvirt-bin # dist:xenial NOPRIME open-iscsi openssh-client pxelinux # dist:jessie,xenial diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 1c76a4acd0..7e1a4e4e49 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -19,6 +19,10 @@ if is_service_enabled ir-api ir-cond; then # their dependencies have been installed echo_summary "Installing Ironic" + if ! is_service_enabled nova; then + source $RC_DIR/lib/nova_plugins/functions-libvirt + install_libvirt + fi install_ironic install_ironicclient cleanup_ironic_config_files