diff --git a/neutron/templates/bin/_neutron-openvswitch-agent-init.sh.tpl b/neutron/templates/bin/_neutron-openvswitch-agent-init.sh.tpl index 23158aabde..e150bfb63e 100644 --- a/neutron/templates/bin/_neutron-openvswitch-agent-init.sh.tpl +++ b/neutron/templates/bin/_neutron-openvswitch-agent-init.sh.tpl @@ -20,14 +20,20 @@ set -ex chown neutron: /run/openvswitch/db.sock -# ensure we can talk to openvswitch or bail early -# this is until we can setup a proper dependency -# on deaemonsets - note that a show is not sufficient -# here, we need to communicate with both the db and vswitchd -# which means we need to do a create action -# -# see https://github.com/att-comdev/openstack-helm/issues/88 -timeout 3m neutron-sanity-check --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini --ovsdb_native --nokeepalived_ipv6_support +# FIXME(portdirect): There is a neutron bug in Queens that needs resolved +# for now, if we cannot even get the version of neutron-sanity-check, skip +# this validation. +# see: https://bugs.launchpad.net/neutron/+bug/1769868 +if neutron-sanity-check --version >/dev/null 2>/dev/null; then + # ensure we can talk to openvswitch or bail early + # this is until we can setup a proper dependency + # on deaemonsets - note that a show is not sufficient + # here, we need to communicate with both the db and vswitchd + # which means we need to do a create action + # + # see https://github.com/att-comdev/openstack-helm/issues/88 + timeout 3m neutron-sanity-check --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini --ovsdb_native --nokeepalived_ipv6_support +fi # handle any bridge mappings {{- range $bridge, $port := .Values.network.auto_bridge_add }}