Fix OVS-DPDK readiness probe for OVS < v2.10.0
A recently introduced readiness probe for OVS with DPDK makes use of an OVSDB table entry 'dpdk_initialized' which does not exist in OVS versions preceeding v2.10.0. This patch changes the readiness probe to exit successfully if this table entry does not exit. Change-Id: I1776ac4bf736220267a49042f1b7092f3cf5ed16
This commit is contained in:
parent
ae8a6c5d50
commit
cd27f2714c
@ -32,7 +32,7 @@ exec:
|
||||
command:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- '/usr/bin/ovs-vsctl show && [ $(ovs-vsctl get Open_vSwitch . dpdk_initialized) == true ]'
|
||||
- '/usr/bin/ovs-vsctl show && ! /usr/bin/ovs-vsctl list Open_vSwitch | grep -q dpdk_initialized.*false'
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user