From 4b9e8db8a5fe2897227b89b0758a16bfb48758f6 Mon Sep 17 00:00:00 2001 From: yatin Date: Sun, 18 Jun 2017 00:30:15 +0530 Subject: [PATCH] [Fix ironic gate] Use IP_VERSION=4 in devstack local.conf Ironic to work with magnum, requires devstack to be configured with IP_VERSION=4. Change-Id: I263373db15bff77405d7509e0d1f94316c4f0cfd --- magnum/tests/contrib/gate_hook.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/magnum/tests/contrib/gate_hook.sh b/magnum/tests/contrib/gate_hook.sh index 9410e2cc29..3abdbec07d 100755 --- a/magnum/tests/contrib/gate_hook.sh +++ b/magnum/tests/contrib/gate_hook.sh @@ -53,6 +53,8 @@ elif [ "${coe}${special}" = "k8s-ironic" ]; then export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ironic git://git.openstack.org/openstack/ironic" export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_DEPLOY_DRIVER=pxe_ipmitool" + # NOTE(ykarel) Ironic to work with magnum, requires devstack to be configured with IP_VERSION=4 + export DEVSTACK_LOCAL_CONFIG+=$'\n'"IP_VERSION=4" export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_BAREMETAL_BASIC_OPS=True" export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_LOG_DIR=/opt/stack/new/ironic-bm-logs" export DEVSTACK_LOCAL_CONFIG+=$'\n'"DEFAULT_INSTANCE_TYPE=baremetal"