Skip to content

Instantly share code, notes, and snippets.

# epoch 0 starts
I0307 22:28:20.091076 1 agent.go:139] Envoy starting: [-c /etc/envoy/envoy-rev0.json --restart-epoch 0 --drain-time-s 30 --parent-shutdown-time-s 45 --service-cluster istio-proxy --service-node 10.0.0.143]
[2017-03-07 22:28:20.135][18][warning][main] initializing epoch 0 (hot restart version=4.2490504)
[2017-03-07 22:28:20.138][18][warning][main] starting main dispatch loop
# epoch 1 starts
I0307 22:28:20.493637 1 agent.go:139] Envoy starting: [-c /etc/envoy/envoy-rev1.json --restart-epoch 1 --drain-time-s 30 --parent-shutdown-time-s 45 --service-cluster istio-proxy --service-node 10.0.0.143]
[2017-03-07 22:28:20.499][21][warning][main] initializing epoch 1 (hot restart version=4.2490504)
[2017-03-07 22:28:20.499][18][warning][main] shutting down admin due to child startup
[2017-03-07 22:28:20.499][18][warning][main] terminating parent process
@kyessenov
kyessenov / envoy.log
Created March 10, 2017 20:03
infinite initialization phase in epoch 5274
I0310 12:18:13.777397 1 agent.go:139] Envoy starting: [-c /etc/envoy/envoy-rev5272.json --restart-epoch 5272 --drain-time-s 30 --parent-shutdown-time-s 45 --service-cluster istio-proxy --service-node 10.12.2.216]
unable to initialize hot restart: previous envoy process is still initializing
I0310 12:18:13.814495 1 agent.go:187] Envoy epoch 5272 terminated: exit status 1
[2017-03-10 12:18:13.822][19787][warning][main] all clusters initialized. initializing init manager
[2017-03-10 12:18:13.836][19787][warning][main] all dependencies initialized. starting workers
[2017-03-10 12:18:13.842][19784][warning][main] closing and draining listeners
I0310 12:18:14.042515 1 controller.go:144] Event add: key "default/route-rule-default-route2"
W0310 12:18:14.045220 1 config.go:309] Unsupported outbound protocol HTTPS for port 443
W0310 12:18:14.046334 1 config.go:176] TCP and HTTP services on same port not supported
W0310 12:18:14.046451 1 config.go:177] Omitting tcp service &{[{outboun
{
"listeners": [
{
"port": 80,
"filters": [
{
"type": "read",
"name": "http_connection_manager",
"config": {
"codec_type": "auto",
Url=http://localhost:5000/stats
ClientRequest=0
StatusCode=200
cluster.cds.lb_healthy_panic: 0
cluster.cds.lb_local_cluster_not_ok: 0
cluster.cds.lb_recalculate_zone_structures: 0
cluster.cds.lb_zone_cluster_too_small: 0
cluster.cds.lb_zone_no_capacity_left: 0
cluster.cds.lb_zone_number_differs: 0
cluster.cds.lb_zone_routing_all_directly: 0
This file has been truncated, but you can view the full file.
HELLO
I0314 21:46:05.928609 1 root.go:50] Root flags: &cmd.Flags{Kubeconfig:"", Namespace:"default"}
I0314 21:46:05.971766 1 client.go:169] Resource already exists: "istio-config.istio.io"
I0314 21:46:05.971802 1 client.go:193] Checking for TPR resources
I0314 21:46:05.974659 1 watcher.go:60] Local instance address: map[string]bool{"10.12.1.26":true}
{
"listeners": [
{
"port": 5001,
"filters": [],
[2017-03-15 04:30:39.095][21][debug][upstream] cds: starting request
[2017-03-15 04:30:39.095][21][debug][router] [C0][S226375851332206] cluster 'cds' match for URL '/v1/clusters/istio-proxy/10.12.1.83'
[2017-03-15 04:30:39.095][21][debug][router] [C0][S226375851332206] ':method':'GET'
[2017-03-15 04:30:39.095][21][debug][router] [C0][S226375851332206] ':path':'/v1/clusters/istio-proxy/10.12.1.83'
[2017-03-15 04:30:39.095][21][debug][router] [C0][S226375851332206] ':authority':'cds'
[2017-03-15 04:30:39.095][21][debug][router] [C0][S226375851332206] 'x-envoy-internal':'true'
[2017-03-15 04:30:39.095][21][debug][router] [C0][S226375851332206] 'x-forwarded-for':'10.12.1.83'
[2017-03-15 04:30:39.095][21][debug][router] [C0][S226375851332206] 'x-envoy-expected-rq-timeout-ms':'1000'
[2017-03-15 04:30:39.095][21][debug][router] [C0][S226375851332206] ':scheme':'http'
[2017-03-15 04:30:39.095][21][debug][pool] [C11] using existing connection
#0 0x00007f6886f7d428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007f6886f7d428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007f6886f7f02a in __GI_abort () at abort.c:89
#2 0x000000000077442c in Stats::RawStatData::initialize (this=0x7f6886d11c20,
name="cluster.out:a.default.svc.cluster.local:http.lb_healthy_panic") at external/envoy_git/source/common/stats/stats_impl.cc:29
#3 0x00000000007fa230 in Server::HotRestartImpl::alloc (this=0x1f1d370,
name="cluster.out:a.default.svc.cluster.local:http.lb_healthy_panic") at external/envoy_git/source/exe/hot_re
@kyessenov
kyessenov / gist:04e8dca3f5b176683fa219d3dca27cf3
Created April 8, 2017 20:08
broken config in the child stops parent initialization
[2017-04-08 18:36:59.465][16][warning][main] initializing epoch 0 (hot restart version=7.2490552)
[2017-04-08 18:36:59.468][16][warning][main] starting main dispatch loop
[2017-04-08 18:36:59.469][16][warning][main] all clusters initialized. initializing init manager
[2017-04-08 18:36:59.469][16][warning][main] all dependencies initialized. starting workers
# Attempt 1 to start with a broken config
I0408 18:37:00.217785 1 watcher.go:164] Envoy command: [-c /etc/envoy/envoy-rev1.json --restart-epoch 1 --drain-time-s 2 --parent-shutdown-time-s 3 --service-cluster istio-proxy --service-node ingress]
[2017-04-08 18:37:00.222][21][warning][main] initializing epoch 1 (hot restart version=7.2490552)
[2017-04-08 18:37:00.223][16][warning][main] shutting down admin due to child startup
[2017-04-21 20:34:09.274][14][warning][main] all clusters initialized. initializing init manager
[2017-04-21 20:34:09.354][14][warning][main] all dependencies initialized. starting workers
I0421 20:34:10.257873 1 controller.go:149] Event update: key "istio-test-9mwvt/b-3622046605-ss43z"
I0421 20:34:10.258831 1 controller.go:149] Event update: key "istio-test-9mwvt/b"
[2017-04-21 20:34:10.346][14][critical][assert] assert failure: rc != -1: external/envoy_git/source/exe/hot_restart.cc:294
I0421 20:34:10.649755 1 agent.go:173] Epoch 0 exited normally
I0421 20:34:11.656743 1 controller.go:149] Event update: key "is
This file has been truncated, but you can view the full file.
____Loading complete. Analyzing...
____Found 1 target...
____Building...
Target //test/integration:integration up-to-date:
bazel-bin/test/integration/integration.a
bazel-bin/test/integration/integration
____Elapsed time: 0.321s, Critical Path: 0.06s
____Running command line: bazel-bin/test/integration/integration -logtostderr -tag kuat_20170421_132142 -auth disable -verbose
I0421 13:39:51.280653 7231 driver.go:136]