Welcome to the Linux Foundation Forum!
LFS258 Lab 11.1 - Linkerd InitContainers wont work
Mattie112
Posts: 6
(Possibly related to: https://forum.linuxfoundation.org/discussion/871946/lfs258-lab-10-3-ubuntu-pod-no-connectivity)
Lab 11.1:
student@cp:(⎈|default):~$ kubectl -n linkerd get pods NAME READY STATUS RESTARTS AGE linkerd-destination-7cf8694d-cbknl 4/4 Running 0 10m linkerd-heartbeat-29918055-wbtnq 1/1 Running 0 95s linkerd-identity-77cd9c9867-dfkt6 2/2 Running 0 10m linkerd-proxy-injector-76685b79f7-rwxlq 0/2 Init:1/2 4 (34s ago) 10m
It seems the InitContainers won't work properly thus the main service refuses to start
student@cp:(⎈|default):~$ kubectl -n linkerd logs pods/linkerd-proxy-injector-76685b79f7-rwxlq linkerd-proxy
[..]
[ 81.244542s] WARN ThreadId(01) watch{port=8443}: linkerd_app_inbound::policy::api: Unexpected policy controller response; retrying with a backoff grpc.status=Deadline expired before operation could complete grpc.message="initial item not received within timeout"
[ 81.337762s] WARN ThreadId(01) watch{port=9995}: linkerd_app_inbound::policy::api: Unexpected policy controller response; retrying with a backoff grpc.status=Deadline expired before operation could complete grpc.message="initial item not received within timeout"
[ 83.350080s] WARN ThreadId(01) watch{port=4191}: linkerd_app_inbound::policy::api: Unexpected policy controller response; retrying with a backoff grpc.status=Deadline expired before operation could complete grpc.message="initial item not received within timeout"
[ 90.008169s] WARN ThreadId(01) linkerd_app: Waiting for identity to be initialized...
[ 90.336129s] WARN ThreadId(01) dst:controller{addr=linkerd-dst-headless.linkerd.svc.cluster.local:8086}: linkerd_app_core::control::balance: Failed to resolve control-plane component error=failed SRV and A record lookups: failed to resolve SRV record: request timed out; failed to resolve A record: request timed out error.sources=[failed to resolve A record: request timed out, request timed out]
[ 90.343293s] WARN ThreadId(01) policy:controller{addr=linkerd-policy.linkerd.svc.cluster.local:8090}: linkerd_app_core::control::balance: Failed to resolve control-plane component error=failed SRV and A record lookups: failed to resolve SRV record: request timed out; failed to resolve A record: request timed out error.sources=[failed to resolve A record: request timed out, request timed out]
[ 105.009068s] WARN ThreadId(01) linkerd_app: Waiting for identity to be initialized...
[ 110.008907s] INFO ThreadId(02) identity:identity{server.addr=linkerd-identity-headless.linkerd.svc.cluster.local:8080}:controller{addr=linkerd-identity-headless.linkerd.svc.cluster.local:8080}: linkerd_proxy_balance_queue::worker: Unavailable; entering failfast timeout=30.0
[ 110.009016s] ERROR ThreadId(02) identity:identity{server.addr=linkerd-identity-headless.linkerd.svc.cluster.local:8080}: linkerd_proxy_identity_client::certify: Failed to obtain identity error=code: 'Unknown error', message: "controller linkerd-identity-headless.linkerd.svc.cluster.local:8080: service in fail-fast", source: ControlError { addr: Name(NameAddr { name: Name("linkerd-identity-headless.linkerd.svc.cluster.local."), port: 8080 }), source: FailFastError(()) } error.sources=[controller linkerd-identity-headless.linkerd.svc.cluster.local:8080: service in fail-fast, service in fail-fast]
[ 119.846457s] INFO ThreadId(01) linkerd_proxy::signal: received SIGTERM, starting shutdown
[ 119.846479s] INFO ThreadId(01) linkerd2_proxy: Received shutdown signal
[ 120.010010s] WARN ThreadId(01) linkerd_app: Waiting for identity to be initialized...
[ 120.759073s] WARN ThreadId(01) policy:controller{addr=linkerd-policy.linkerd.svc.cluster.local:8090}: linkerd_app_core::control::balance: Failed to resolve control-plane component error=failed SRV and A record lookups: failed to resolve SRV record: request timed out; failed to resolve A record: request timed out error.sources=[failed to resolve A record: request timed out, request timed out]
[ 120.759135s] WARN ThreadId(01) dst:controller{addr=linkerd-dst-headless.linkerd.svc.cluster.local:8086}: linkerd_app_core::control::balance: Failed to resolve control-plane component error=failed SRV and A record lookups: failed to resolve SRV record: request timed out; failed to resolve A record: request timed out error.sources=[failed to resolve A record: request timed out, request timed out]
Starting a new lab fixed the issue for me.
0
Categories
- All Categories
- 179 LFX Mentorship
- 179 LFX Mentorship: Linux Kernel
- 778 Linux Foundation IT Professional Programs
- 384 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 76 DevOps IT Professional Program - Discontinued
- 8 DevOps & GitOps IT Professional Program
- 104 Cloud Native Developer IT Professional Program
- 7.7K Training Courses & Learning Paths
- 22 AI & ML Training
- 2 Blockchain & Decentralized Identity Training
- 57 Cloud & Containers Training
- 7 Cybersecurity Training
- 5 DevOps & Site-Reliability Training
- 4 Linux Kernel Development Training
- 3 Networking Training
- 2 Open Source Best Practice Training
- 12 System Administration Training
- 1 System Engineering Training
- 6 Web & Application Development Training
- 799 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 97 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 92 Storage
- 776 Linux Distributions
- 83 Debian
- 68 Fedora
- 25 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 32 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 474 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 104 Linux Security
- 79 Network Management
- 102 System Management
- 47 Web Management
- 195 Mobile Computing
- 32 Android
- 147 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 409 Off Topic
- 129 Introductions
- 36 Study Material
- 1.1K Programming and Development
- 312 Kernel Development
- 740 Software Development
- 1K Software
- 421 Applications
- 183 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)