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