Calico-VPP pod claims IPv6 address of node but uses IPv4 address instead
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- kubernetes
- Domain
- devops, networking
Research direction
Start with the kubeadm configuration, the Installation's nodeAddressAutodetectionV6 setting, and the generated calico-vpp-nohuge.yaml manifest. Reproduce the deployment and inspect the uplink with ip a; done means the Calico-VPP pod is created while the node retains IPv6 connectivity and kubectl remains reachable.
Written by the indexing model from the issue text.
Description
Environment
- Calico/VPP version: 3.26.0
- Kubernetes version: 1.28.3
- Deployment type: On-prem VM
- Network configuration: Calico / want to do SRv6 but haven't gotten there yet
- Containerd - 1.7.8
Issue description
I'm setting up an IPv6 cluster. Each node in the cluster has two interfaces within ESXi. One interface is an ipv4 interface for OOBM, and the other serves as the main interface for kubernetes and is the uplink interface for vpp. Whenever I run "kubectl create -f calico-vpp.yaml", my node loses its IPv6 address (as the documentation states). I would expect this to be hitless if I understand the documentation properly, however anything trying to reach that IP is met with no response. As a result, all kubectl commands stop working since the API was using that address.
I have used nerdctl to exec into the container, and when executing "ip a", the uplink interface I configured shows no IPv6 address...only link local. Surprisingly the IPv4 address and interface is listed in the container, and the node has not lost that IP at all.
Is this a bug or am I doing something wrong?
To Reproduce
Steps to reproduce the behavior:
- Init kubernetes using kubeadm yaml file below:
---
apiVersion: kubeadm.k8s.io/v1beta3
kind: InitConfiguration
localAPIEndpoint:
advertiseAddress: "::"
bindPort: 6443
nodeRegistration:
criSocket: unix:///var/run/containerd/containerd.sock
kubeletExtraArgs:
node-ip: "{{ ipv6_node_ip}}"
---
apiVersion: kubeadm.k8s.io/v1beta3
kind: ClusterConfiguration
controlPlaneEndpoint: "{{ ipv6_node_ip}}"
apiServer:
extraArgs:
oidc-issuer-url: https://werwerr.me
oidc-client-id: ASF4Os1wJysH6uWvJV9PvyNiph4y4O84tGCHj1FZEE8
networking:
serviceSubnet: "{{ ipv6_services_subnet }}/108"
podSubnet: "{{ ipv6_pod_subnet }}64"
- kubectl edit node {{ node_name }}
- remove taint
- kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.26.3/manifests/tigera-operator.yaml
- using kubectl create calico from following yaml file:
---
apiVersion: operator.tigera.io/v1
kind: Installation
metadata:
name: default
spec:
calicoNetwork:
linuxDataplane: VPP
nodeAddressAutodetectionV4: {}
nodeAddressAutodetectionV6:
interface: {{ uplink interface }}
---
apiVersion: operator.tigera.io/v1
kind: APIServer
metadata:
name: default
spec: {}
- curl -o calico-vpp.yaml https://raw.githubusercontent.com/projectcalico/vpp-dataplane/v3.26.0/yaml/generated/calico-vpp-nohuge.yaml
- edit calico-vpp.yaml to reflect proper ipv6 services subnet, and proper uplink interface and apply via kubectl create
Expected behavior
calico-vpp pod would successfully be created, and I would be able to maintain ipv6 connectivity
- Dominant language
- Go
- Stars
- 173
- Forks
- 48
- Avg merge
- 15h 53m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from projectcalico/vpp-dataplane
-
fail to install Calico with the VPP data plane on an EKS cluster with the DPDK driverMay be free again @onong claimed this 437 days ago, and no pull request is open. Open
projectcalico/vpp-dataplane#762 · 2 comments · 2 reactions · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
projectcalico/vpp-dataplane#701 · 7 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
projectcalico/vpp-dataplane#700 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
projectcalico/vpp-dataplane#693 · 3 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 28/100
projectcalico/vpp-dataplane#692 ·
All issues in projectcalico/vpp-dataplane
Similar issues
-
bug raised-by:verifier to:worker
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
medici-finance/assay#7835 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
golang-malawi/qatarina#496 ·
Maintainers usually reply within 2 days
-
hive size:simple
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
documentation stage:review
Difficulty 1/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
wso2/identity-customer-data-service#430 ·
Maintainers usually reply within 1 day