Skip to content

Commit

Permalink
OVS local interface table mac_in_use row is lower case, but pod
Browse files Browse the repository at this point in the history
annotation store mac in Upper case.
  • Loading branch information
halfcrazy committed Apr 9, 2020
1 parent a4106b2 commit 7c6d678
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/images/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,7 @@ tcpdump(){
echo "pod mac address not ready"
exit 1
fi
mac=$(echo "$mac" | tr '[:upper:]' '[:lower:]')
ovnCni=$(kubectl get pod -n $KUBE_OVN_NS -o wide| grep kube-ovn-cni| grep " $nodeName " | awk '{print $1}')
if [ -z "$ovnCni" ]; then
Expand Down
1 change: 1 addition & 0 deletions dist/images/kubectl-ko
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ tcpdump(){
echo "pod mac address not ready"
exit 1
fi
mac=$(echo "$mac" | tr '[:upper:]' '[:lower:]')

ovnCni=$(kubectl get pod -n $KUBE_OVN_NS -o wide| grep kube-ovn-cni| grep " $nodeName " | awk '{print $1}')
if [ -z "$ovnCni" ]; then
Expand Down

0 comments on commit 7c6d678

Please sign in to comment.