Skip to content

Instantly share code, notes, and snippets.

import time
from machine import Pin
import micropython
import rp2
@rp2.asm_pio()
def measure_high_time():
wrap_target()
# x = 0xffffffff
[{bb-win {&ContainerStateWaiting{Reason:ContainerCreating,Message:,} nil nil} {nil nil nil} false 0 busybox }]
BestEffort}) to podStatusChannel
I0911 10:46:20.968261 6532 status_manager.go:158] Status Manager: syncing pod:
"ebdc5d8b-b5af-11e8-ad37-022eddedd7e8", with status: (1, {Pending [{Initialized True 0001-01-01 00:00:00 +0000 UTC
2018-09-11 10:46:20 +0000 UTC } {Ready False 0001-01-01 00:00:00 +0000 UTC 2018-09-11 10:46:20 +0000 UTC
ContainersNotReady containers with unready status: [bb-win]} {ContainersReady False 0001-01-01 00:00:00 +0000 UTC
0001-01-01 00:00:00 +0000 UTC ContainersNotReady containers with unready status: [bb-win]} {PodScheduled True
0001-01-01 00:00:00 +0000 UTC 2018-09-11 10:46:21 +0000 UTC }] 192.168.2.2 2018-09-11 10:46:20 +0000 UTC []
[{bb-win {&ContainerStateWaiting{Reason:ContainerCreating,Message:,} nil nil} {nil nil nil} false 0 busybox }]
BestEffort}) from podStatusChannel
$ kubectl get po -o yaml -n kube-system calico-node-c5d6k
apiVersion: v1
kind: Pod
metadata:
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ""
creationTimestamp: 2018-04-30T15:07:40Z
generateName: calico-node-
labels:
controller-revision-hash: "1035364446"
docker run --rm --user 1003:1003 -v ${PWD}:/code -v ${PWD}/proto:/src:rw \
calico/protoc:v0.1-amd64 \
--gogofaster_out=plugins=grpc:. \
felixbackend.proto
Unable to find image 'calico/protoc:v0.1-amd64' locally
v0.1-amd64: Pulling from calico/protoc
723254a2c089: Pulling fs layer
ubuntu@smc-kubeadm-node-425:~$ journalctl -u kubelet |grep server105-cali-ns-105-c779495b-8jgsc
Dec 07 11:57:19 smc-kubeadm-node-425 kubelet[4932]: I1207 11:57:19.868214 4932 reconciler.go:212] operationExecutor.VerifyControllerAttachedVolume started for volume "default-token-dgrvb" (UniqueName: "kubernetes.io/secret/c683c9f9-db45-11e7-b330-42010af00012-default-token-dgrvb") pod "server105-cali-ns-105-c779495b-8jgsc" (UID: "c683c9f9-db45-11e7-b330-42010af00012")
Dec 07 11:57:20 smc-kubeadm-node-425 kubelet[4932]: 2017-12-07 11:57:20.615 [INFO][30814] calico.go 68: Extracted identifiers EndpointIDs=&utils.WEPIdentifiers{Namespace:"cali-ns-105", WEPName:"", WorkloadEndpointIdentifiers:names.WorkloadEndpointIdentifiers{Node:"smc-kubeadm-node-425", Orchestrator:"k8s", Endpoint:"eth0", Workload:"", Pod:"server105-cali-ns-105-c779495b-8jgsc", ContainerID:"b741460e1042b422265cd1d9f74933106fafc120e0d47547d46ef493f29e657a"}}
Dec 07 11:57:20 smc-kubeadm-node-425 kubelet[4932]: 2017-12-07 11:57:20.616 [INFO][30814] u
_data/versions.yml
TestBase.batchnumber = 0
Unable to find image 'calico/go-build:v0.7' locally
v0.7: Pulling from calico/go-build
cfc728c1c558: Pulling fs layer
4f9d39540db5: Pulling fs layer
3a62b0235a60: Pulling fs layer
e64c614fb8fc: Pulling fs layer
028d597756bf: Pulling fs layer
3fa96bfc6500: Pulling fs layer
***** Start of errors in logs from /var/log/calico/felix/current on host1 *****
=== LOG 2017-06-06 09:20:15 ERROR [pid 314] ===
2017-06-06 09:20:15.949 [ERROR][314] ipsets.go 588: Failed to complete ipset restore, IP sets may be out-of-sync. closeErr=<nil> commitErr=<nil> family="inet6" flushErr=<nil> processErr=exit status 1 stderr="ipset v6.29: Error in line 4: Set cannot be destroyed: it is in use by a kernel component\n" stdout="" writeErr=<nil>
=== LOG 2017-06-06 09:20:15 ERROR [pid 314] ===
2017-06-06 09:20:15.949 [ERROR][314] ipsets.go 257: Failed to update IP sets. error=exit status 1 family="inet6"
****** End of errors in logs from /var/log/calico/felix/current on host1 ******