[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
This commit is contained in:
yatin 2017-06-18 00:30:15 +05:30
parent a1c017d750
commit 4b9e8db8a5
1 changed files with 2 additions and 0 deletions

View File

@ -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"