istio: [Ambient] ztunnel, istio-cni-node - Readiness probe failed: HTTP probe failed with statuscode: 503

Is this the right place to submit this?

  • This is not a security vulnerability or a crashing bug
  • This is not a question about how to use Istio

Bug Description

These pods of ztunnel and istio-cni-node have failed the readiness probe, even though the pod state is Running.

Version

$ istioctl version -i kube-system
client version: 1.24-alpha.a0f07792c2ad2ececa27b5e1a212248b4305208c
control plane version: 1.24-alpha.a0f07792c2ad2ececa27b5e1a212248b4305208c
data plane version: 1.24-alpha.a0f07792c2ad2ececa27b5e1a212248b4305208c (8 proxies)

Additional Information

istio-cni-node logs

2024-08-02T05:07:02.643861Z	info	cni-agent	CNI logging level: debug
2024-08-02T05:07:02.643908Z	info	cni-agent	CNI install configuration:
CNINetDir: /etc/cni/net.d
MountedCNINetDir: /host/etc/cni/net.d
CNIConfName:
ChainedCNIPlugin: true
PluginLogLevel: debug
KubeconfigFilename: ZZZ-istio-cni-kubeconfig
KubeconfigMode: 0600
KubeCAFile:
SkipTLSVerify: false
ExcludeNamespaces:
K8sServiceProtocol:
K8sServiceHost: 10.100.0.1
K8sServicePort: 443
K8sNodeName: istio-ambient-develop
CNIBinSourceDir: /opt/cni/bin
CNIBinTargetDirs: /host/opt/cni/bin
MonitoringPort: 15015
LogUDSAddress: /var/run/istio-cni/log.sock
CNIEventAddress: /var/run/istio-cni/pluginevent.sock
ZtunnelUDSAddress: /var/run/ztunnel/ztunnel.sock
AmbientEnabled: true
AmbientDNSCapture: true
AmbientIPv6: true
2024-08-02T05:07:02.643920Z	info	cni-agent	CNI race repair configuration:
Enabled: true
NodeName: istio-ambient-develop
LabelKey: cni.istio.io/uninitialized
LabelValue: true
DeletePods: true
LabelPods: false
SidecarAnnotation: sidecar.istio.io/status
InitContainerName: istio-validation
InitTerminationMsg:
InitExitCode: 126
LabelSelectors:
FieldSelectors:
2024-08-02T05:07:02.644064Z	debug	monitoring	MeterProvider created	Resource=service.name=unknown_service:install-cni,telemetry.sdk.language=go,telemetry.sdk.name=opentelemetry,telemetry.sdk.version=1.28.0 Readers=[0xc0002dce10] Views=1
2024-08-02T05:07:02.644093Z	debug	monitoring	Meter created	Name=istio Version= SchemaURL=
2024-08-02T05:07:02.644363Z	debug	cni-agent	starting UDS server for CNI plugin logs
2024-08-02T05:07:02.644467Z	info	cni-agent	Starting ambient node agent with inpod redirect mode
2024-08-02T05:07:02.647463Z	debug	cni-agent	creating ipsets in the node netns
2024-08-02T05:07:02.647980Z	info	ControlZ available at 127.0.0.1:9876
2024-08-02T05:07:02.655368Z	debug	did not find (or cannot use) iptables binary, error was %!w(<nil>): {DetectedBinary:iptables-nft DetectedSaveBinary:iptables-nft-save DetectedRestoreBinary:iptables-nft-restore Version:1.8.10 Legacy:false ExistingRules:false}
2024-08-02T05:07:02.705997Z	debug	found existing rules for iptables-legacy-save
2024-08-02T05:07:02.706044Z	debug	cni-agent	found iptables binary: {DetectedBinary:iptables-legacy DetectedSaveBinary:iptables-legacy-save DetectedRestoreBinary:iptables-legacy-restore Version:1.8.10 Legacy:true ExistingRules:true}
2024-08-02T05:07:02.709697Z	debug	did not find (or cannot use) iptables binary, error was %!w(<nil>): {DetectedBinary:ip6tables-nft DetectedSaveBinary:ip6tables-nft-save DetectedRestoreBinary:ip6tables-nft-restore Version:1.8.10 Legacy:false ExistingRules:false}
2024-08-02T05:07:02.713101Z	debug	found existing rules for ip6tables-legacy-save
2024-08-02T05:07:02.713128Z	debug	cni-agent	found iptables v6 binary: {DetectedBinary:iptables-legacy DetectedSaveBinary:iptables-legacy-save DetectedRestoreBinary:iptables-legacy-restore Version:1.8.10 Legacy:true ExistingRules:true}
2024-08-02T05:07:02.713135Z	debug	cni-agent	Attempting to delete hostside iptables rules (if they exist)
2024-08-02T05:07:02.713181Z	debug	running with lock
2024-08-02T05:07:02.713193Z	info	Running command (with wait lock): iptables-legacy -t nat -D POSTROUTING -j ISTIO_POSTRT --wait=30
2024-08-02T05:07:02.715867Z	debug	running with lock
2024-08-02T05:07:02.715885Z	info	Running command (with wait lock): iptables-legacy -t nat -F ISTIO_POSTRT --wait=30
2024-08-02T05:07:02.718640Z	debug	running with lock
2024-08-02T05:07:02.718654Z	info	Running command (with wait lock): iptables-legacy -t nat -X ISTIO_POSTRT --wait=30
2024-08-02T05:07:02.721360Z	debug	running with lock
2024-08-02T05:07:02.721384Z	info	Running command (with wait lock): ip6tables-legacy -t nat -D POSTROUTING -j ISTIO_POSTRT --wait=30
2024-08-02T05:07:02.722557Z	debug	running with lock
2024-08-02T05:07:02.722573Z	info	Running command (with wait lock): ip6tables-legacy -t nat -F ISTIO_POSTRT --wait=30
2024-08-02T05:07:02.723527Z	debug	running with lock
2024-08-02T05:07:02.723541Z	info	Running command (with wait lock): ip6tables-legacy -t nat -X ISTIO_POSTRT --wait=30
2024-08-02T05:07:02.724422Z	info	cni-agent	configuring host-level iptables rules (healthchecks, etc)
2024-08-02T05:07:02.724444Z	info	cni-agent	Adding host netnamespace iptables rules
2024-08-02T05:07:02.724461Z	info	cni-agent	Running iptables-legacy-restore with the following input:
* nat
-N ISTIO_POSTRT
-A POSTROUTING -j ISTIO_POSTRT
-A ISTIO_POSTRT -m owner --socket-exists -p tcp -m set --match-set istio-inpod-probes-v4 dst -j SNAT --to-source 169.254.7.127
COMMIT	component=host
2024-08-02T05:07:02.724503Z	debug	running with lock
2024-08-02T05:07:02.724512Z	info	Running command (with wait lock): iptables-legacy-restore --noflush -v --wait=30
2024-08-02T05:07:02.730592Z	info	cni-agent	Running ip6tables-legacy-restore with the following input:
* nat
-N ISTIO_POSTRT
-A POSTROUTING -j ISTIO_POSTRT
-A ISTIO_POSTRT -m owner --socket-exists -p tcp -m set --match-set istio-inpod-probes-v6 dst -j SNAT --to-source fd16:9254:7127:1337:ffff:ffff:ffff:ffff
COMMIT	component=host
2024-08-02T05:07:02.730769Z	debug	running with lock
2024-08-02T05:07:02.730785Z	info	Running command (with wait lock): ip6tables-legacy-restore --noflush -v --wait=30
2024-08-02T05:07:02.732595Z	info	cni-agent	starting listener for CNI plugin events at /var/run/istio-cni/pluginevent.sock
2024-08-02T05:07:02.732792Z	info	cni-agent	CNI ambient server starting
2024-08-02T05:07:02.732907Z	info	cluster "" kube client started
2024-08-02T05:07:02.833089Z	info	cni-agent	CNI ambient server kubeclient started
2024-08-02T05:07:02.944429Z	debug	cni-agent	error processing entry: 726226 stat 726226/ns/net: no such file or directory
2024-08-02T05:07:02.944450Z	debug	cni-agent	error processing entry: 726246 stat 726246/ns/net: no such file or directory
2024-08-02T05:07:02.944477Z	debug	cni-agent	error processing entry: 726247 stat 726247/ns/net: no such file or directory
2024-08-02T05:07:02.948143Z	debug	cni-agent	error processing entry: 726540 stat 726540/ns/net: no such file or directory
2024-08-02T05:07:02.954326Z	info	cni-agent	CNI ambient server marking ready
2024-08-02T05:07:02.954345Z	debug	cni-agent	starting ztunnel server
2024-08-02T05:07:02.954371Z	debug	sync complete	name=informer attempt=1 time=5.57µs
2024-08-02T05:07:02.954385Z	info	cni-agent	Ambient node agent started, starting installer...
2024-08-02T05:07:02.954392Z	info	cni-agent	starting CNI sidecar repair controller
2024-08-02T05:07:02.954418Z	debug	cni-agent	accepting conn
2024-08-02T05:07:02.954485Z	debug	cni-agent	accepting unix conn
2024-08-02T05:07:02.954575Z	info	controllers	starting	controller=ambient
2024-08-02T05:07:02.955595Z	info	cluster "" kube client started
2024-08-02T05:07:02.955662Z	debug	waiting for sync...	name=repair controller attempt=1 time=500ns
2024-08-02T05:07:02.956146Z	debug	controllers	synced	controller=ambient
2024-08-02T05:07:02.958115Z	debug	waiting for sync...	name=repair controller attempt=2 time=2.45963ms
2024-08-02T05:07:02.962584Z	debug	waiting for sync...	name=repair controller attempt=3 time=6.930077ms
2024-08-02T05:07:02.971471Z	debug	waiting for sync...	name=repair controller attempt=4 time=15.808069ms
2024-08-02T05:07:02.987823Z	debug	sync complete	name=repair controller attempt=5 time=32.161134ms
2024-08-02T05:07:02.987873Z	info	controllers	starting	controller=repair pods
2024-08-02T05:07:02.988517Z	debug	controllers	synced	controller=repair pods
2024-08-02T05:07:03.010011Z	debug	cni-agent	accepted conn
2024-08-02T05:07:03.010049Z	debug	cni-agent	connection accepted
2024-08-02T05:07:03.010073Z	debug	cni-agent	accepting conn
2024-08-02T05:07:03.010090Z	debug	cni-agent	handling conn
2024-08-02T05:07:03.010126Z	debug	cni-agent	ztunnel connected
2024-08-02T05:07:03.010277Z	info	cni-agent	received hello from ztunnel	version=V1
2024-08-02T05:07:03.010299Z	debug	cni-agent	sending snapshot to ztunnel
2024-08-02T05:07:03.023909Z	debug	cni-agent	snaptshot sent to ztunnel
2024-08-02T05:07:03.056341Z	info	cni-agent	initialization complete, watching node CNI dir
2024-08-02T05:07:03.086556Z	info	cni-agent	Copied istio-cni to /host/opt/cni/bin
2024-08-02T05:07:03.087273Z	debug	cni-agent	no preexisting kubeconfig at /host/etc/cni/net.d/ZZZ-istio-cni-kubeconfig, assuming we need to create one
2024-08-02T05:07:03.087332Z	info	cni-agent	kubeconfig either does not exist or is out of date, writing a new one
2024-08-02T05:07:03.087499Z	info	cni-agent	wrote kubeconfig file /host/etc/cni/net.d/ZZZ-istio-cni-kubeconfig with:
apiVersion: v1
clusters:
- cluster:
    certificate-authority: REDACTED
    certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURCVENDQWUyZ0F3SUJBZ0lJR3lzcy9sQlVKWjh3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TkRBM01qSXdOalE0TkRKYUZ3MHpOREEzTWpBd05qVXpOREphTUJVeApFekFSQmdOVkJBTVRDbXQxWW1WeWJtVjBaWE13Z2dFaU1BMEdDU3FHU0liM0RRRUJBUVVBQTRJQkR3QXdnZ0VLCkFvSUJBUURJOWVSRlhaM2FQRGdJcWtMYit2N3R3MTZWd2lBOUtOVzZSeHZ6TWx5V3NaQXl1eHV2SGt5cTRvYUUKS2RvY25ORERnay9hclQvWkhqTUhVYllOZlpUUFFqczEzSXRSWG1tNXZ1R0g1ZFhIenVpUzdvNXRBTE5CdDMwdwo4dU8rVTl2cWQxK2cyN2NNNTR6M0VicHdjWEQ2MTUzSjdFUlJpRXIvWGhvdEhWQThhUE5Ta2xLTlhudjdFVG9FCisxNjV5d3JVcDRiZExXN1E3TTk1eWZhRlBOMG9hb3B1VWRVSldpZ3VKVVRnNmJYSnhQV2MyYlN3SG45Nk54ZUkKaFR6K3lQOWllYnNubUN5aXVUQ3Q2T0JENFQ3NVZOdXBOYmFpOHZjY2FSM043ZFZqL1JZenhSemlqTDVGV3QvOQp0NFpqUDVDdDBJeHhvcEo5d3pwZmt1TXk5cnI1QWdNQkFBR2pXVEJYTUE0R0ExVWREd0VCL3dRRUF3SUNwREFQCkJnTlZIUk1CQWY4RUJUQURBUUgvTUIwR0ExVWREZ1FXQkJSaUhCRE9yY29rNE8waUt3YlVRVGdDVnF6QWd6QVYKQmdOVkhSRUVEakFNZ2dwcmRXSmxjbTVsZEdWek1BMEdDU3FHU0liM0RRRUJDd1VBQTRJQkFRQ2M3SE9hWXpTcAphSHgwTzlYTUJDV1BXdDYyR1hLZzUySk9Sd2hHalFEb0hzRWdKb0UwVGEybCtkajEyNDZVZUhVOU56dk15U0JrCnJibUhUaW1nZFMzd2g2VGcvdStMOHJBMVR6cjhuUHZEVWVwSVgrUmUrVmJObWFieXpYclZuenJjZ2JlMG1SNVkKTDVJd1ppdE0zV1RGWnArQUNRRXZhS2JkTkN5YlFVdmJhWE5XTXBDUjBVUnBjU3ZWc0VTaFBZWkFDN3VtRVM4dwo4VlV0NktIYjczOUtCT1EvckJvRWhxZTlJWmVmNnNrWWwwQlRIcW5jYVNJQTNaQmJDTWVxbTFsbDNkWDR0MnRVCnpaVjd3dE9UMmdyV1NLa1lZa05VRFRqelg3R0dvS0x1VENieDU3U2tQcGwyMEF1Q2RUN3YxZUg5ZGdLa1FveTEKL1haQnJPRnlxc3NmCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
    server: https://10.100.0.1:443
  name: local
contexts:
- context:
    cluster: local
    user: istio-cni
  name: istio-cni-context
current-context: istio-cni-context
kind: Config
preferences: {}
users:
- name: istio-cni
  user:
    token: REDACTED
2024-08-02T05:07:03.087727Z	info	cni-agent	configuration requires updates, (re)writing CNI config file at "": CNI config file "" preempted by "/host/etc/cni/net.d/10-calico.conflist"
2024-08-02T05:07:03.087961Z	debug	cni-agent	CNI config file /host/etc/cni/net.d/10-calico.conflist exists, proceeding
2024-08-02T05:07:03.089062Z	info	cni-agent	created CNI config /host/etc/cni/net.d/10-calico.conflist
2024-08-02T05:07:03.089079Z	debug	cni-agent	CNI config: {
  "cniVersion": "0.3.1",
  "name": "k8s-pod-network",
  "plugins": [
    {
      "datastore_type": "kubernetes",
      "ipam": {
        "type": "calico-ipam"
      },
      "kubernetes": {
        "kubeconfig": "/etc/cni/net.d/calico-kubeconfig"
      },
      "log_file_path": "/var/log/calico/cni/cni.log",
      "log_level": "info",
      "mtu": 0,
      "nodename": "istio-ambient-develop",
      "policy": {
        "type": "k8s"
      },
      "type": "calico"
    },
    {
      "capabilities": {
        "portMappings": true
      },
      "snat": true,
      "type": "portmap"
    },
    {
      "capabilities": {
        "bandwidth": true
      },
      "type": "bandwidth"
    },
    {
      "ambient_enabled": true,
      "cni_event_address": "/var/run/istio-cni/pluginevent.sock",
      "dns": {},
      "ipam": {},
      "kubernetes": {
        "exclude_namespaces": [
          ""
        ],
        "kubeconfig": "/etc/cni/net.d/ZZZ-istio-cni-kubeconfig"
      },
      "log_uds_address": "/var/run/istio-cni/log.sock",
      "name": "istio-cni",
      "plugin_log_level": "debug",
      "type": "istio-cni"
    }
  ]
}
2024-08-02T05:07:03.089085Z	info	cni-agent	initial installation complete, start watching for re-installation
2024-08-02T05:07:03.154604Z	debug	cni-agent	accepting unix conn
2024-08-02T05:07:03.564043Z	debug	cni-agent	skipped deleting from mesh for pod, pod not in mesh	ns=kube-system name=istio-cni-node-f4tlb
2024-08-02T05:07:04.011369Z	debug	monitoring	ManualReader collection	Data=&{service.name=unknown_service:install-cni,telemetry.sdk.language=go,telemetry.sdk.name=opentelemetry,telemetry.sdk.version=1.28.0 [{{istio  } [{nodeagent_reconcile_events_total The total number of node agent reconcile events. 1 {[{{{[{type {4 0 add <nil>}}]}} 2024-08-02 05:07:02.644279842 +0000 UTC m=+0.050165728 2024-08-02 05:07:04.011348467 +0000 UTC m=+1.417234352 83 []} {{{[{type {4 0 update <nil>}}]}} 2024-08-02 05:07:02.644279842 +0000 UTC m=+0.050165728 2024-08-02 05:07:04.011348467 +0000 UTC m=+1.417234352 84 []} {{{[{type {4 0 delete <nil>}}]}} 2024-08-02 05:07:02.644279842 +0000 UTC m=+0.050165728 2024-08-02 05:07:04.011348467 +0000 UTC m=+1.417234352 1 []}] CumulativeTemporality true}} {ztunnel_connected number of connections to ztunnel 1 {[{{{[]}} 2024-08-02 05:07:02.644312154 +0000 UTC m=+0.050198038 2024-08-02 05:07:04.011355137 +0000 UTC m=+1.417241022 1 []}]}} {istio_cni_installs_total Total number of CNI plugins installed by the Istio CNI installer 1 {[{{{[{result {4 0 SUCCESS <nil>}}]}} 2024-08-02 05:07:02.644317453 +0000 UTC m=+0.050203339 2024-08-02 05:07:04.011357517 +0000 UTC m=+1.417243402 1 []}] CumulativeTemporality true}} {istio_cni_install_ready Whether the CNI plugin installation is ready or not 1 {[{{{[]}} 2024-08-02 05:07:02.644322274 +0000 UTC m=+0.050208148 2024-08-02 05:07:04.011358417 +0000 UTC m=+1.417244292 1 []}]}}]}]}
2024-08-02T05:07:04.011566Z	debug	monitoring	Prometheus exporter export	Data={service.name=unknown_service:install-cni,telemetry.sdk.language=go,telemetry.sdk.name=opentelemetry,telemetry.sdk.version=1.28.0 [{{istio  } [{nodeagent_reconcile_events_total The total number of node agent reconcile events. 1 {[{{{[{type {4 0 add <nil>}}]}} 2024-08-02 05:07:02.644279842 +0000 UTC m=+0.050165728 2024-08-02 05:07:04.011348467 +0000 UTC m=+1.417234352 83 []} {{{[{type {4 0 update <nil>}}]}} 2024-08-02 05:07:02.644279842 +0000 UTC m=+0.050165728 2024-08-02 05:07:04.011348467 +0000 UTC m=+1.417234352 84 []} {{{[{type {4 0 delete <nil>}}]}} 2024-08-02 05:07:02.644279842 +0000 UTC m=+0.050165728 2024-08-02 05:07:04.011348467 +0000 UTC m=+1.417234352 1 []}] CumulativeTemporality true}} {ztunnel_connected number of connections to ztunnel 1 {[{{{[]}} 2024-08-02 05:07:02.644312154 +0000 UTC m=+0.050198038 2024-08-02 05:07:04.011355137 +0000 UTC m=+1.417241022 1 []}]}} {istio_cni_installs_total Total number of CNI plugins installed by the Istio CNI installer 1 {[{{{[{result {4 0 SUCCESS <nil>}}]}} 2024-08-02 05:07:02.644317453 +0000 UTC m=+0.050203339 2024-08-02 05:07:04.011357517 +0000 UTC m=+1.417243402 1 []}] CumulativeTemporality true}} {istio_cni_install_ready Whether the CNI plugin installation is ready or not 1 {[{{{[]}} 2024-08-02 05:07:02.644322274 +0000 UTC m=+0.050208148 2024-08-02 05:07:04.011358417 +0000 UTC m=+1.417244292 1 []}]}}]}]}
2024-08-02T05:07:12.159223Z	debug	monitoring	ManualReader collection	Data=&{service.name=unknown_service:install-cni,telemetry.sdk.language=go,telemetry.sdk.name=opentelemetry,telemetry.sdk.version=1.28.0 [{{istio  } [{nodeagent_reconcile_events_total The total number of node agent reconcile events. 1 {[{{{[{type {4 0 delete <nil>}}]}} 2024-08-02 05:07:02.644279842 +0000 UTC m=+0.050165728 2024-08-02 05:07:12.159211305 +0000 UTC m=+9.565097180 1 []} {{{[{type {4 0 add <nil>}}]}} 2024-08-02 05:07:02.644279842 +0000 UTC m=+0.050165728 2024-08-02 05:07:12.159211305 +0000 UTC m=+9.565097180 83 []} {{{[{type {4 0 update <nil>}}]}} 2024-08-02 05:07:02.644279842 +0000 UTC m=+0.050165728 2024-08-02 05:07:12.159211305 +0000 UTC m=+9.565097180 84 []}] CumulativeTemporality true}} {ztunnel_connected number of connections to ztunnel 1 {[{{{[]}} 2024-08-02 05:07:02.644312154 +0000 UTC m=+0.050198038 2024-08-02 05:07:12.159214865 +0000 UTC m=+9.565100740 1 []}]}} {istio_cni_installs_total Total number of CNI plugins installed by the Istio CNI installer 1 {[{{{[{result {4 0 SUCCESS <nil>}}]}} 2024-08-02 05:07:02.644317453 +0000 UTC m=+0.050203339 2024-08-02 05:07:12.159215905 +0000 UTC m=+9.565101780 1 []}] CumulativeTemporality true}} {istio_cni_install_ready Whether the CNI plugin installation is ready or not 1 {[{{{[]}} 2024-08-02 05:07:02.644322274 +0000 UTC m=+0.050208148 2024-08-02 05:07:12.159216725 +0000 UTC m=+9.565102600 1 []}]}}]}]}
2024-08-02T05:07:12.159328Z	debug	monitoring	Prometheus exporter export	Data={service.name=unknown_service:install-cni,telemetry.sdk.language=go,telemetry.sdk.name=opentelemetry,telemetry.sdk.version=1.28.0 [{{istio  } [{nodeagent_reconcile_events_total The total number of node agent reconcile events. 1 {[{{{[{type {4 0 delete <nil>}}]}} 2024-08-02 05:07:02.644279842 +0000 UTC m=+0.050165728 2024-08-02 05:07:12.159211305 +0000 UTC m=+9.565097180 1 []} {{{[{type {4 0 add <nil>}}]}} 2024-08-02 05:07:02.644279842 +0000 UTC m=+0.050165728 2024-08-02 05:07:12.159211305 +0000 UTC m=+9.565097180 83 []} {{{[{type {4 0 update <nil>}}]}} 2024-08-02 05:07:02.644279842 +0000 UTC m=+0.050165728 2024-08-02 05:07:12.159211305 +0000 UTC m=+9.565097180 84 []}] CumulativeTemporality true}} {ztunnel_connected number of connections to ztunnel 1 {[{{{[]}} 2024-08-02 05:07:02.644312154 +0000 UTC m=+0.050198038 2024-08-02 05:07:12.159214865 +0000 UTC m=+9.565100740 1 []}]}} {istio_cni_installs_total Total number of CNI plugins installed by the Istio CNI installer 1 {[{{{[{result {4 0 SUCCESS <nil>}}]}} 2024-08-02 05:07:02.644317453 +0000 UTC m=+0.050203339 2024-08-02 05:07:12.159215905 +0000 UTC m=+9.565101780 1 []}] CumulativeTemporality true}} {istio_cni_install_ready Whether the CNI plugin installation is ready or not 1 {[{{{[]}} 2024-08-02 05:07:02.644322274 +0000 UTC m=+0.050208148 2024-08-02 05:07:12.159216725 +0000 UTC m=+9.565102600 1 []}]}}]}]}

ztunnel logs

2024-08-02T05:07:55.371641Z	info	ztunnel	version: version.BuildInfo{Version:"d80323823cfd3afb3304c642682684c6752dda2d", GitRevision:"d80323823cfd3afb3304c642682684c6752dda2d", RustVersion:"1.80.0", BuildProfile:"release", BuildStatus:"Clean", GitTag:"1.23.0-alpha.0-18-gd803238", IstioVersion:"unknown"}
2024-08-02T05:07:55.371816Z	info	ztunnel	running with config: proxy: true
dnsProxy: true
windowSize: 4194304
connectionWindowSize: 4194304
frameSize: 1048576
poolMaxStreamsPerConn: 100
poolUnusedReleaseTimeout:
  secs: 300
  nanos: 0
socks5Addr: null
adminAddr: !Localhost
- true
- 15000
statsAddr: !SocketAddr '[::]:15020'
readinessAddr: !SocketAddr '[::]:15021'
inboundAddr: '[::]:15008'
inboundPlaintextAddr: '[::]:15006'
outboundAddr: '[::]:15001'
dnsProxyAddr: !Localhost
- true
- 15053
illegalPorts:
- 15008
- 15006
- 15001
network: ''
localNode: istio-ambient-develop
proxyMode: Shared
localIp: 10.100.99.127
clusterId: Kubernetes
clusterDomain: cluster.local
caAddress: https://istiod.kube-system.svc:15012
caRootCert: !File ./var/run/secrets/istio/root-cert.pem
xdsAddress: https://istiod.kube-system.svc:15012
xdsRootCert: !File ./var/run/secrets/istio/root-cert.pem
secretTtl:
  secs: 86400
  nanos: 0
xdsOnDemand: false
fakeCa: false
fakeSelfInbound: false
selfTerminationDeadline:
  secs: 25
  nanos: 0
proxyMetadata:
  ISTIO_VERSION: 1.24-alpha.a0f07792c2ad2ececa27b5e1a212248b4305208c
  CLUSTER_ID: Kubernetes
  ENABLE_HBONE: 'true'
numWorkerThreads: 2
requireOriginalSource: null
proxyArgs: proxy ztunnel
dnsResolverCfg:
  domain: null
  search:
  - kube-system.svc.cluster.local
  - svc.cluster.local
  - cluster.local
  - ap-northeast-1.compute.internal
  name_servers:
  - socket_addr: 10.100.0.10:53
    protocol: udp
    tls_dns_name: null
    trust_negative_responses: false
    bind_addr: null
  - socket_addr: 10.100.0.10:53
    protocol: tcp
    tls_dns_name: null
    trust_negative_responses: false
    bind_addr: null
dnsResolverOpts:
  ndots: 5
  timeout:
    secs: 5
    nanos: 0
  attempts: 2
  rotate: false
  check_names: true
  edns0: false
  validate: false
  ip_strategy: Ipv4thenIpv6
  cache_size: 4096
  use_hosts_file: true
  positive_min_ttl: null
  negative_min_ttl: null
  positive_max_ttl: null
  negative_max_ttl: null
  num_concurrent_reqs: 2
  preserve_intermediates: true
  try_tcp_on_error: false
  server_ordering_strategy: QueryStatistics
  recursion_desired: true
  authentic_data: false
  shuffle_dns_servers: false
inpodUds: /var/run/ztunnel/ztunnel.sock
inpodPortReuse: true
packetMark: 1337
2024-08-02T05:07:55.372207Z	info	hyper_util	listener established	address=[::]:15021 component="readiness"
2024-08-02T05:07:55.372363Z	info	app	shared proxy mode - in-pod mode enabled
2024-08-02T05:07:55.372426Z	info	hyper_util	listener established	address=127.0.0.1:15000 component="admin"
2024-08-02T05:07:55.372454Z	info	hyper_util	listener established	address=[::]:15020 component="stats"
2024-08-02T05:07:55.372458Z	info	readiness	Task 'dns proxy' complete (1.267202ms), still awaiting 3 tasks
2024-08-02T05:07:55.372460Z	info	readiness	Task 'proxy' complete (1.269733ms), still awaiting 2 tasks
2024-08-02T05:07:55.385849Z	info	xds::client:xds{id=1}	Stream established
2024-08-02T05:07:55.387063Z	info	xds::client:xds{id=1}	received response	type_url="type.googleapis.com/istio.workload.Address" size=337 removes=0
2024-08-02T05:07:55.388141Z	info	xds::client:xds{id=1}	received response	type_url="type.googleapis.com/istio.security.Authorization" size=0 removes=0
2024-08-02T05:07:55.388173Z	info	readiness	Task 'state manager' complete (16.981908ms), still awaiting 1 tasks
2024-08-02T05:07:55.388229Z	info	inpod::workloadmanager	handling new stream
2024-08-02T05:07:55.487007Z	info	inpod::statemanager	pod received snapshot sent
2024-08-02T05:07:55.487022Z	info	readiness	Task 'workload proxy manager' complete (115.83058ms), marking server ready
2024-08-02T05:07:56.066412Z	info	xds::client:xds{id=1}	received response	type_url="type.googleapis.com/istio.workload.Address" size=338 removes=0
2024-08-02T05:07:56.068919Z	info	xds::client:xds{id=1}	received response	type_url="type.googleapis.com/istio.security.Authorization" size=0 removes=0

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 32 (26 by maintainers)

Most upvoted comments

Cannot assign address is fixed in 1.23.1 which is out in a few hours

Great to hear. Thanks!

Seeing the same thing on this issue with Talos v1.7.6 running Cilium 1.16.1 as the primary CNI. For me it looks like a race condition if the whole cluster is cold started and if I kubectl restart -n istio-system daemonset ztunnel it comes up clean and appears quite functional.