openstack-helm/tools
jlego229-kim 62b12e3af5 Fix an error while getting Pod's nodeName when setting up VMs with vbmc
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
2019-07-12 14:13:15 +09:00
..
deployment Fix an error while getting Pod's nodeName when setting up VMs with vbmc 2019-07-12 14:13:15 +09:00
gate Add heat to compute kit and apparmor jobs 2019-04-11 20:46:10 +00:00
images Support the Mimic release for Ceph 2019-01-03 16:26:40 -06:00
overrides [neutron] Bring in L2 gateway support 2019-07-01 15:25:45 +04:00
pull-images.sh Docs: Updated developer documentation to use -infra repo 2017-12-06 14:52:16 -06:00