Currently, in the script which sets up VMs with vmbc instead of BM for ironic
practice,
There is an IF command checking if OVS_VSWITCHD pod is located in master
node or not.
To get the info about Pod's nodeName, command below has been used.
$ kubectl --namespace openstack get pod "${OVS_VSWITCHD_POD}" -o wide --no-headers | awk '{ print $NF }'
But this command sometimes cannot parse Pod's nodeName correctly becuase
new headers such as "NOMINATED NODE" and "READINESS GATE" are printed in the end "-o wide" option.
(in some version of k8s)
To avoid this problem and give more readability,
I suggest changing commands to use "-o json" option.
Change-Id: Ib81ae505ac8d04dae9af6326880e1fa17664ac0b