Skip to content

Instantly share code, notes, and snippets.

@lucasponce
Created February 2, 2018 11:23
Show Gist options
  • Save lucasponce/28acb79f6f10fbefce32c9a0e53a8294 to your computer and use it in GitHub Desktop.
Save lucasponce/28acb79f6f10fbefce32c9a0e53a8294 to your computer and use it in GitHub Desktop.
Error installing preferences service
[lponce@attilan preferences]$ oc get pods -w
NAME READY STATUS RESTARTS AGE
customer-1565913741-prxzh 2/2 Running 0 9m
preferences-1101835085-2qbjl 1/2 ImagePullBackOff 0 4m
preferences-1101835085-2qbjl 1/2 ErrImagePull 0 6m
preferences-1101835085-2qbjl 1/2 ImagePullBackOff 0 6m
preferences-1101835085-2qbjl 1/2 ErrImagePull 0 11m
[lponce@attilan ~]$ oc logs pod/preferences-1101835085-2qbjl -c istio-proxy
ERROR: logging before flag.Parse: I0202 11:10:09.313341 1 main.go:70] Version root@cc5c34bbd1ee-0.4.0-24089ea97c8d244493c93b499a666ddf4010b547-dirty
ERROR: logging before flag.Parse: I0202 11:10:09.316678 1 main.go:121] Proxy availability zone: AvailabilityZone couldn't find the given cluster node
ERROR: logging before flag.Parse: I0202 11:10:09.316697 1 main.go:124] Proxy role: proxy.Node{Type:"sidecar", IPAddress:"172.17.0.12", ID:"preferences-1101835085-2qbjl.tutorial", Domain:"tutorial.svc.cluster.local"}
ERROR: logging before flag.Parse: I0202 11:10:09.316720 1 resolve.go:35] Attempting to lookup address: istio-mixer.istio-system
ERROR: logging before flag.Parse: I0202 11:10:09.317667 1 resolve.go:45] Addr resolved to: 172.30.114.101:9125
ERROR: logging before flag.Parse: I0202 11:10:09.317684 1 resolve.go:46] Finished lookup of address: istio-mixer.istio-system
ERROR: logging before flag.Parse: I0202 11:10:09.318259 1 main.go:184] Effective config: availabilityZone: AvailabilityZone couldn't find the given cluster node
binaryPath: /usr/local/bin/envoy
configPath: /etc/istio/proxy
connectTimeout: 10.000s
discoveryAddress: istio-pilot.istio-system:15003
discoveryRefreshDelay: 1.000s
drainDuration: 45.000s
parentShutdownDuration: 60.000s
proxyAdminPort: 15000
serviceCluster: preferences
statsdUdpAddress: 172.30.114.101:9125
zipkinAddress: zipkin.istio-system:9411
ERROR: logging before flag.Parse: I0202 11:10:09.318282 1 main.go:201] Monitored certs: []envoy.CertSource{envoy.CertSource{Directory:"/etc/certs/", Files:[]string{"cert-chain.pem", "key.pem", "root-cert.pem"}}}
ERROR: logging before flag.Parse: I0202 11:10:09.318497 1 agent.go:164] Starting proxy agent
ERROR: logging before flag.Parse: I0202 11:10:09.318620 1 agent.go:186] Received new config, resetting budget
ERROR: logging before flag.Parse: I0202 11:10:09.318629 1 agent.go:261] Reconciling configuration (budget 10)
ERROR: logging before flag.Parse: I0202 11:10:09.318677 1 agent.go:281] Epoch 0 starting
ERROR: logging before flag.Parse: I0202 11:10:09.318697 1 config.go:49] writing configuration to /etc/istio/proxy/envoy-rev0.json
{
"listeners": [],
"lds": {
"cluster": "lds",
"refresh_delay_ms": 1000
},
"admin": {
"access_log_path": "/dev/stdout",
"address": "tcp://127.0.0.1:15000"
},
"cluster_manager": {
"clusters": [
{
"name": "rds",
"connect_timeout_ms": 10000,
"type": "strict_dns",
"lb_type": "round_robin",
"hosts": [
{
"url": "tcp://istio-pilot.istio-system:15003"
}
]
},
{
"name": "lds",
"connect_timeout_ms": 10000,
"type": "strict_dns",
"lb_type": "round_robin",
"hosts": [
{
"url": "tcp://istio-pilot.istio-system:15003"
}
]
},
{
"name": "zipkin",
"connect_timeout_ms": 10000,
"type": "strict_dns",
"lb_type": "round_robin",
"hosts": [
{
"url": "tcp://zipkin.istio-system:9411"
}
]
}
],
"sds": {
"cluster": {
"name": "sds",
"connect_timeout_ms": 10000,
"type": "strict_dns",
"lb_type": "round_robin",
"hosts": [
{
"url": "tcp://istio-pilot.istio-system:15003"
}
]
},
"refresh_delay_ms": 1000
},
"cds": {
"cluster": {
"name": "cds",
"connect_timeout_ms": 10000,
"type": "strict_dns",
"lb_type": "round_robin",
"hosts": [
{
"url": "tcp://istio-pilot.istio-system:15003"
}
]
},
"refresh_delay_ms": 1000
}
},
"statsd_udp_ip_address": "172.30.114.101:9125",
"tracing": {
"http": {
"driver": {
"type": "zipkin",
"config": {
"collector_cluster": "zipkin",
"collector_endpoint": "/api/v1/spans"
}
}
}
}
}ERROR: logging before flag.Parse: I0202 11:10:09.319850 1 watcher.go:270] Envoy command: [-c /etc/istio/proxy/envoy-rev0.json --restart-epoch 0 --drain-time-s 45 --parent-shutdown-time-s 60 --service-cluster preferences --service-node sidecar~172.17.0.12~preferences-1101835085-2qbjl.tutorial~tutorial.svc.cluster.local --max-obj-name-len 189 --service-zone AvailabilityZone couldn't find the given cluster node]
[2018-02-02 11:10:09.328][13][warning][main] external/envoy/source/server/server.cc:157] initializing epoch 0 (hot restart version=9.200.16384.256)
[2018-02-02 11:10:09.502][13][warning][main] external/envoy/source/server/server.cc:344] starting main dispatch loop
[2018-02-02 11:10:10.751][13][warning][main] external/envoy/source/server/server.cc:328] all clusters initialized. initializing init manager
[2018-02-02 11:10:11.075][13][warning][config] external/envoy/source/server/listener_manager_impl.cc:448] all dependencies initialized. starting workers
[2018-02-02 11:11:11.022][13][warning][main] external/envoy/source/server/drain_manager_impl.cc:62] shutting down parent after drain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment