On 24 November 2016 at 23:50, <[email protected]> wrote:

> When Exception in setup_interface, there was a error :ovn-k8s-cni-overlay
> | ERR | Unexpected exception not all arguments converted during string
> formatting
>
> commit 5ad1515fbcd8f30302597affd24de5b09a686533
> Author: Zhou Huijing <[email protected]>
> Date:   Fri Nov 25 15:17:53 2016 +0800
>
> <
> https://github.com/openvswitch/ovn-kubernetes/blob/master/bin/ovn-k8s-cni-
> overlay
> >:<when Exception,the log is missing a parameter>
>
> Signed-off-by: Zhou Huijing <[email protected]>
>

Please submit a github pull request to the ovn-kubernetes branch directly.
Thanks!



>
> diff --git a/bin/ovn-k8s-cni-overlay b/bin/ovn-k8s-cni-overlay
> index 5562c8d..03d6fcc 100755
> --- a/bin/ovn-k8s-cni-overlay
> +++ b/bin/ovn-k8s-cni-overlay
> @@ -133,7 +133,7 @@ def setup_interface(pid, container_id, cni_ifname,
> mac_address,
>
>          return veth_outside
>      except Exception as e:
> -        vlog.warn("Failed to setup veth pair for pod" % str(e))
> +        vlog.warn("Failed to setup veth pair for pod:%s" % str(e))
>          command = "ip link delete %s" % (veth_outside)
>          call_popen(shlex.split(command))
>          raise OVNCNIException(100, "veth setup failure")
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to