Skip to content

Instantly share code, notes, and snippets.

@ylhyh
ylhyh / old-ovn-controller.log
Last active April 4, 2019 02:03
OVS-Log-20190404
This file has been truncated, but you can view the full file.
2019-04-02T00:58:30.011Z|00001|vlog|INFO|opened log file C:\Program Files\Cloudbase Solutions\Open vSwitch\logs\ovn-controller.log
2019-04-02T00:58:30.020Z|00002|stream_windows|ERR|Could not connect to named pipe: 系统找不到指定的文件。
2019-04-02T00:58:30.020Z|00003|reconnect|INFO|unix:C:\ProgramData\openvswitch\/db.sock: connecting...
2019-04-02T00:58:30.021Z|00004|reconnect|INFO|unix:C:\ProgramData\openvswitch\/db.sock: connection attempt failed (No such file or directory)
2019-04-02T00:58:31.020Z|00005|reconnect|INFO|unix:C:\ProgramData\openvswitch\/db.sock: connecting...
2019-04-02T00:58:31.021Z|00006|reconnect|INFO|unix:C:\ProgramData\openvswitch\/db.sock: connected
2019-04-02T00:58:31.263Z|00007|main|INFO|OVN OVSDB remote not specified. Waiting...
2019-04-02T00:58:31.263Z|00008|main|INFO|OVN OVSDB remote not specified. Waiting...
2019-04-02T00:58:35.789Z|00009|main|INFO|OVN OVSDB remote not specified. Waiting...
@ylhyh
ylhyh / ovn-kubernetes.log
Created March 27, 2019 07:07
Part pod are not accessible
time="2019-03-27T10:24:37+08:00" level=info msg="Parsed config file D:/k8s/ovn_k8s.conf"
time="2019-03-27T10:24:37+08:00" level=info msg="Parsed config: {Default:{MTU:1500 ConntrackZone:64000 EncapType: EncapIP: InactivityProbe:100000} Logging:{File:D:/k8s/log/ovn-kubernetes.log Level:4} CNI:{ConfDir:D:/k8s/cni/net.d Plugin:ovn-k8s-cni-overlay.exe WinHNSNetworkID:} Kubernetes:{Kubeconfig: CACert:D:/k8s/pki/ca.crt APIServer:https://apiserver.q1lan.k8s:6443 Token:eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJrdWJlLXN5c3RlbSIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJvdm5rdWJlLXRva2VuLWZ3NmtnIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQubmFtZSI6Im92bmt1YmUiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiIyZmMxNTMxNi0zOWYwLTExZTktYTgwNi0wMDFkZDhiNzFjMDUiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6a3ViZS1zeXN0ZW06b3Zua3ViZSJ9.yVoQk2GNzg6M6ycAyvIFz4JRC-XCkPC-IzOo2PpFT5lTKJAr
@ylhyh
ylhyh / kubelet.log
Created March 25, 2019 11:59
kubelet.log,ovn-kubernetes.log
Log file created at: 2019/03/25 19:34:43
Running on machine: node009
Binary: Built with gc go1.11.5 for windows/amd64
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0325 19:34:42.924063 7528 server.go:407] Version: v1.13.3
I0325 19:34:42.939056 7528 service.go:60] Running kubelet as a Windows service!
I0325 19:34:42.939056 7528 plugins.go:103] No cloud provider specified.
I0325 19:34:42.940057 7528 service.go:70] Service running
I0325 19:34:42.945062 7528 certificate_store.go:130] Loading cert/key pair from "DE0325 19:35:59.164104 7528 docker_sandbox.go:697] ResolvConfPath is empty.
28 server.go:730] Kubelet needs to run as uid `0`. It is being run as -1
DEBU[0000] Default config: {MTU:1400 ConntrackZone:64000 EncapType:geneve EncapIP:172.16.126.216 InactivityProbe:100000}
DEBU[0000] Logging config: {File:D:/k8s/log/ovn-kubernetes.log Level:5}
DEBU[0000] CNI config: {ConfDir:D:/k8s/cni/net.d Plugin:ovn-k8s-cni-overlay WinHNSNetworkID:}
DEBU[0000] Kubernetes config: {Kubeconfig:D:/k8s/pki/admin.conf CACert:D:/k8s/pki/ca.crt APIServer:https://apiserver.q1lan.k8s:6443 Token:***}
DEBU[0000] OVN North config: {ClientAuth:0xc00007b680 ServerAuth:0xc00007b720}
DEBU[0000] OVN South config: {ClientAuth:0xc00007b7c0 ServerAuth:0xc00007b860}
INFO[0001] Node node009 ready for ovn initialization with subnet 10.112.11.0/24
DEBU[0001] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovs-vsctl.exe --timeout=15 set Open_vSwitch . external_ids:ovn-nb="tcp:172.16.126.237:6641"
DEBU[0001] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovs-vsctl.exe --timeout=15 set Op
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace ReflectCallGenericMethod
{
class Program
{
static void Main(string[] args)
@ylhyh
ylhyh / JavaScript AOP
Last active April 10, 2018 09:12 — forked from dkypooh/.js
meld aop
/** @license MIT License (c) copyright 2011-2013 original author or authors */
/**
* meld
* Aspect Oriented Programming for Javascript
*
* meld is part of the cujo.js family of libraries (http://cujojs.com/)
*
* Licensed under the MIT License at:
* http://www.opensource.org/licenses/mit-license.php