Merge "Ignore required_services for multinode topology"

This commit is contained in:
Jenkins 2016-11-04 12:51:22 +00:00 committed by Gerrit Code Review
commit f1b57087d5

View File

@ -428,6 +428,8 @@ function setup_virtualbmc {
# install_ironic() - Install the things!
function install_ironic {
# NOTE(vsaienko) do not check required_services on subnode
if [[ "$HOST_TOPOLOGY_ROLE" != "subnode" ]]; then
# make sure all needed service were enabled
local req_services="key"
if [[ "$VIRT_DRIVER" == "ironic" ]]; then
@ -438,6 +440,7 @@ function install_ironic {
die $LINENO "$srv should be enabled for Ironic."
fi
done
fi
if use_library_from_git "ironic-lib"; then
git_clone_by_name "ironic-lib"