Skip to content

Instantly share code, notes, and snippets.

View glennswest's full-sized avatar
🏠
Working from home

Glenn West glennswest

🏠
Working from home
View GitHub Profile
c:\bin\kubelet.exe --hostname-override="$Env:lhost" --v=6 `
--resolv-conf="" `
--log-dir /k/logs `
--enable-debugging-handlers `
--cluster-domain=cluster.local `
--hairpin-mode=promiscuous-bridge `
--image-pull-progress-deadline=20m `
--cgroups-per-qos=false `
--enforce-node-allocatable="" `
--pod-infra-container-image=mcr.microsoft.com/k8s/core/pause:1.2.0 `
@glennswest
glennswest / kubelet.log
Created August 26, 2019 15:16
Non Working Network
This file has been truncated, but you can view the full file.
I0826 14:03:07.186974 4320 kubelet_pods.go:1334] Generating status for "community-operators-77d99c4dff-gkqzp_openshift-marketplace(b565f105-c808-11e9-9a56-0050561f2626)"
W0826 14:03:07.187974 4320 pod_container_deletor.go:75] Container "8fed78fbeaeda42760d0861931eac8d63f12f3bfc159c47690432e39bab7fe54" not found in pod's containers
I0826 14:03:08.191921 4320 kubelet_pods.go:1334] Generating status for "community-operators-77d99c4dff-gkqzp_openshift-marketplace(b565f105-c808-11e9-9a56-0050561f2626)"
I0826 14:03:08.192931 4320 status_manager.go:364] Ignoring same status for pod "community-operators-77d99c4dff-gkqzp_openshift-marketplace(b565f105-c808-11e9-9a56-0050561f2626)", status: {Phase:Pending Conditions:[{Type:Initialized Status:True LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2019-08-26 13:52:14 -0700 PDT Reason: Message:} {Type:Ready Status:False LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2019-08-26 13:52:14 -0700 PDT Reason:ContainersNotReady Message:co
@glennswest
glennswest / kubeovn.log
Created August 26, 2019 15:15
Non-Working network
time="2019-08-26T13:20:24-07:00" level=info msg="Parsed config file C:\\cni\\ovn_k8s.conf"
time="2019-08-26T13:20:24-07:00" level=info msg="Parsed config: {Default:{MTU:0 ConntrackZone:0 EncapType: EncapIP:10.100.1.29 EncapPort:0 InactivityProbe:0 RawClusterSubnets: ClusterSubnets:[]} Logging:{File: Level:0} CNI:{ConfDir: Plugin: WinHNSNetworkID:} Kubernetes:{Kubeconfig: CACert:/etc/kubernetes/ca.crt APIServer:https://10.100.1.31:6443 Token:eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJ3aW5vcGVyYXRvciIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJvdm4tdG9rZW4td3FrZjUiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC5uYW1lIjoib3ZuIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQudWlkIjoiM2U4YWMzNzQtYzgwNC0xMWU5LThmMTItMDA1MDU2MWYzMDMwIiwic3ViIjoic3lzdGVtOnNlcnZpY2VhY2NvdW50Ondpbm9wZXJhdG9yOm92biJ9.E3i3qdg0oN5f7Z6s4qYMEUcYI5tPXHEAI3e1P-_snJdWqUOsaAaATCnqjqrNLMNLogaIp6jXLRqxmQVcXCN83
@glennswest
glennswest / kubelet.log
Created August 24, 2019 02:56
Failed ovn
I0824 02:48:41.912502 5840 kubelet_pods.go:1334] Generating status for "winpacman_winpacman(767475dc-c617-11e9-b5b8-0050561f2626)"
W0824 02:48:41.912502 5840 pod_container_deletor.go:75] Container "b3d0a1585a9be7ba2ebba2ce1a584d1c6c2a5f025b26fe7aa114f0cf62fa6229" not found in pod's containers
I0824 02:48:41.912502 5840 status_manager.go:364] Ignoring same status for pod "winpacman_winpacman(767475dc-c617-11e9-b5b8-0050561f2626)", status: {Phase:Pending Conditions:[{Type:Initialized Status:True LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2019-08-24 02:32:49 -0700 PDT Reason: Message:} {Type:Ready Status:False LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2019-08-24 02:32:49 -0700 PDT Reason:ContainersNotReady Message:containers with unready status: [winpacman]} {Type:ContainersReady Status:False LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2019-08-24 02:32:49 -0700 PDT Reason:ContainersNotReady Message:containers with unready status: [winpacman]} {
@glennswest
glennswest / winnodeman.log
Created August 8, 2019 23:12
WindowsNodeMan WIP Log
2019/08/08 22:45:07 Winnodemanager restarted - version: 9b046f7 - build Data: .20190727.014906
2019/08/08 22:45:07 restart_install: No Install pending
2019/08/08 22:45:07 InstallNode: &{%!s(*io.LimitedReader=&{0x11d7c120 27348}) <nil> %!s(*bufio.Reader=<nil>) %!s(bool=false) %!s(bool=true) {%!s(int32=0) %!s(uint32=0)} %!s(bool=false) %!s(bool=false) %!s(bool=false) %!s(func()=0x65d1d0)}
2019/08/08 22:45:07 DoInstall: winnode01
2019/08/08 22:45:07 Getting template: http://winoperatordata.apps.tiny.k.lo/templates/windefault.template
2019/08/08 22:45:07 Download File: http://winoperatordata.apps.tiny.k.lo/templates/windefault.template -> /Program Files/WindowsNodeManager/settings/template.json
2019/08/08 22:45:07 Template: {
"name": "win2019",
"version": "0.001",
"description": "Initial Version of Win2019",
@glennswest
glennswest / log419
Created August 7, 2019 18:52
ocp4.1.9 fail
DEBUG OpenShift Installer v4.1.9-201907311355-dirty
DEBUG Built from commit 7f8b6bc666e0e061d0f2809646dffb4e98d6f098
INFO Waiting up to 30m0s for the Kubernetes API at https://api.gw.lo:6443...
DEBUG Still waiting for the Kubernetes API: Get https://api.gw.lo:6443/version?timeout=32s: dial tcp: lookup api.gw.lo on 192.168.1.251:53: no such host
DEBUG Still waiting for the Kubernetes API: Get https://api.gw.lo:6443/version?timeout=32s: dial tcp: lookup api.gw.lo on 192.168.1.251:53: no such host
DEBUG Still waiting for the Kubernetes API: Get https://api.gw.lo:6443/version?timeout=32s: dial tcp 192.168.1.202:6443: connect: connection refused
DEBUG Still waiting for the Kubernetes API: Get https://api.gw.lo:6443/version?timeout=32s: dial tcp 192.168.1.202:6443: connect: connection refused
DEBUG Still waiting for the Kubernetes API: Get https://api.gw.lo:6443/version?timeout=32s: dial tcp 192.168.1.201:6443: connect: connection refused
DEBUG Still waiting for the Kubernetes API: Get https://api.gw.lo:644
@glennswest
glennswest / gist:f5ce724f316c386a236daec0001e8aa5
Created August 7, 2019 15:05
multus-dns-install fail with ovn
Glenns-MacBook-Pro-2:gw.lo gwest$ openshift-install version
openshift-install unreleased-master-1527-gdd407b0351339ec5fec540c82ecd556ec0dcb98c-dirty
built from commit dd407b0351339ec5fec540c82ecd556ec0dcb98c
release image registry.svc.ci.openshift.org/ocp/release@sha256:35438dd0ff22567df50be2ca51fdca0739bfbf652c6e18cc49e63acb7f1dfc76
Glenns-MacBook-Pro-2:gw.lo gwest$ ./clusteroperatorstatus.sh
apiVersion: v1
items:
- apiVersion: config.openshift.io/v1
kind: ClusterOperator
-- Logs begin at Mon 2019-06-17 05:16:41 UTC, end at Mon 2019-06-17 05:35:59 UTC. --
Jun 17 05:16:41 localhost kernel: Linux version 4.18.0-80.1.2.el8_0.x86_64 ([email protected]) (gcc version 8.2.1 20180905 (Red Hat 8.2.1-3) (GCC)) #1 SMP Sun Apr 28 09:21:22 UTC 2019
Jun 17 05:16:41 localhost kernel: Command line: BOOT_IMAGE=/ostree/rhcos-bf3b38268ddb2a2070dc587b361ce45c46a6f9e3606bbd3b5e15b2e6d3d47e5d/vmlinuz-4.18.0-80.1.2.el8_0.x86_64 console=tty0 console=ttyS0,115200n8 rootflags=defaults,prjquota rw ignition.firstboot rd.neednet=1 ip=ens192:dhcp root=UUID=797b1d43-ce56-4ab7-b984-253fbec76a04 ostree=/ostree/boot.0/rhcos/bf3b38268ddb2a2070dc587b361ce45c46a6f9e3606bbd3b5e15b2e6d3d47e5d/0 coreos.oem.id=metal ignition.platform.id=metal
Jun 17 05:16:41 localhost kernel: Disabled fast string operations
Jun 17 05:16:41 localhost kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Jun 17 05:16:41 localhost kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE
@glennswest
glennswest / openshift.log
Created June 16, 2019 02:30
MCO Failure
This file has been truncated, but you can view the full file.
-- Logs begin at Sat 2019-06-15 06:17:54 UTC, end at Sat 2019-06-15 18:04:50 UTC. --
Jun 15 14:18:23 bootstrap-0 chronyd[1298]: Selected source 10.100.0.1
Jun 15 14:18:23 bootstrap-0 chronyd[1298]: System clock TAI offset set to 37 seconds
Jun 15 14:18:23 bootstrap-0 chronyd[1298]: System clock wrong by -28828.951403 seconds, adjustment started
Jun 15 06:17:54 bootstrap-0 chronyd[1298]: System clock was stepped by -28828.951403 seconds
Jun 15 06:17:58 bootstrap-0 systemd[1]: Started Open Container Initiative Daemon.
Jun 15 06:17:58 bootstrap-0 hyperkube[1375]: Flag --runtime-request-timeout has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Jun 15 06:17:58 bootstrap-0 hyperkube[1375]: Flag --pod-manifest-path has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/ta
@glennswest
glennswest / bootkube.log
Last active June 14, 2019 00:54
bootstrap failure on bare metal
Jun 13 07:12:32 bootstrap-0 bootkube.sh[1612]: Pulling release image...
Jun 13 07:12:57 bootstrap-0 bootkube.sh[1612]: 9fba292d288217d67bcbe0c3cf85395daf87e7940e7b0cf334c7772037f64fb4
Jun 13 07:13:52 bootstrap-0 bootkube.sh[1612]: Rendering Cluster Version Operator Manifests...
Jun 13 07:13:53 bootstrap-0 bootkube.sh[1612]: Rendering cluster config manifests...
Jun 13 07:14:00 bootstrap-0 bootkube.sh[1612]: Writing asset: /assets/config-bootstrap/manifests/0000_10_config-operator_01_authentication.crd.yaml
Jun 13 07:14:00 bootstrap-0 bootkube.sh[1612]: Writing asset: /assets/config-bootstrap/manifests/0000_10_config-operator_01_console.crd.yaml
Jun 13 07:14:00 bootstrap-0 bootkube.sh[1612]: Writing asset: /assets/config-bootstrap/manifests/0000_10_config-operator_01_image.crd.yaml
Jun 13 07:14:00 bootstrap-0 bootkube.sh[1612]: Writing asset: /assets/config-bootstrap/manifests/0000_10_config-operator_01_network.crd.yaml
Jun 13 07:14:00 bootstrap-0 bootkube.sh[1612]: Writing asset: /assets/config-bootstrap/mani