Azure Monitor pods CrashLoopBackOff with iptables
Julien Taveau
0
Reputation points
Hi,
I added a new node to my Arc enabled K8s cluster, the ama-* pods seems not to work, and are in CrashLoopBackOff
state.
ama-metrics-node
kubectl logs ama-metrics-node-cg6t5 -n kube-system -c arc-msi-adapter
MICROSOFT SOFTWARE LICENSE TERMS
MICROSOFT Azure Arc for Kubernetes
__________________________________
This software is licensed to you as part of your or your company's subscription license for Microsoft Azure Services. You may only use the software with Microsoft Azure Services and subject to the terms and conditions of the agreement under which you obtained Microsoft Azure Services. If you do not have an active subscription license for Microsoft Azure Services, you may not use the software. Microsoft Azure Legal Information: https://azure.microsoft.com/en-us/support/legal/
F0728 13:22:06.491091 1 main.go:61] error modifying iptable rules: error adding rules to custom chain: running [/usr/sbin/iptables -t nat -N aad-metadata --wait]: exit status 4: iptables v1.8.10 (nf_tables): Could not fetch rule set generation id: Invalid argument
ama-logs
kubectl logs ama-logs-l2zxd -n kube-system -c addon-token-adapter
MICROSOFT SOFTWARE LICENSE TERMS
MICROSOFT Azure Arc for Kubernetes
__________________________________
This software is licensed to you as part of your or your company's subscription license for Microsoft Azure Services. You may only use the software with Microsoft Azure Services and subject to the terms and conditions of the agreement under which you obtained Microsoft Azure Services. If you do not have an active subscription license for Microsoft Azure Services, you may not use the software. Microsoft Azure Legal Information: https://azure.microsoft.com/en-us/support/legal/
F0728 13:31:13.090395 1 main.go:61] error modifying iptable rules: error adding rules to custom chain: running [/usr/sbin/iptables -t nat -N aad-metadata --wait]: exit status 4: iptables v1.8.10 (nf_tables): Could not fetch rule set generation id: Invalid argument
ama-logs-rs
kubectl logs ama-logs-rs-657758c54c-qc8dl -n kube-system -c addon-token-adapter
MICROSOFT SOFTWARE LICENSE TERMS
MICROSOFT Azure Arc for Kubernetes
__________________________________
This software is licensed to you as part of your or your company's subscription license for Microsoft Azure Services. You may only use the software with Microsoft Azure Services and subject to the terms and conditions of the agreement under which you obtained Microsoft Azure Services. If you do not have an active subscription license for Microsoft Azure Services, you may not use the software. Microsoft Azure Legal Information: https://azure.microsoft.com/en-us/support/legal/
F0728 13:36:16.298418 1 main.go:61] error modifying iptable rules: error adding rules to custom chain: running [/usr/sbin/iptables -t nat -N aad-metadata --wait]: exit status 4: iptables v1.8.10 (nf_tables): Could not fetch rule set generation id: Invalid argument
I also had an issue with svclb-traefik
, blacklisting nf_tables
solved the issue.
Could you help me, please?
Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
Sign in to answer