How to configure internet access if VPP uses non-default interface?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- kubernetes, ubuntu
- Domain
- networking
Research direction
Start with the Calico VPP deployment configuration in calico-vpp-nohuge.yaml and reproduce the failure using the documented bond0/eno2 setup. Check the networking path used when vpp_dataplane_interface is eno2, then verify completion by running kubectl exec dnsutils -- ping -c 4 8.8.8.8 successfully.
Written by the indexing model from the issue text.
Description
Environment
- Calico/VPP version: v0.17.0-calicov3.20.2.
- Kubernetes version: 1.21.1 .
- Deployment type: bare-metal on
equinix.metal, host nodes OS isUbuntu 20.04 LTS. - Network configuration:
- master node:
- default interface + ip -
bond0+139.178.65.125. - VPP interface + ip -
eno2+10.0.0.1/30.
- default interface + ip -
- worker node:
- default interface + ip -
bond0+139.178.65.127. - VPP interface + ip -
eno2+10.0.0.2/30.
- default interface + ip -
- master node:
Issue description
Pods are unable to ping internet when VPP uses non-default interface.
To Reproduce
Steps to reproduce the behavior:
- Start 2 bare-metal nodes with the following interfaces configured:
bond0- bond interface, has access to the internet.eno2- simple interface, has access to theeno2on the other node.
- Setup additional IP addresses:
- master node -
10.0.0.1/30 dev eno2. - worker node -
10.0.0.2/30 dev eno2.
- master node -
- Create kubernetes cluster.
- Edit Calico
calico-vpp-nohuge.yamldeployment:
vpp_dataplane_interface: eno2
- Start Calico with the modified deployment.
- Run
kubectl apply -f https://k8s.io/examples/admin/dns/dnsutils.yaml. - Run
kubectl exec dnsutils -- ping -c 4 8.8.8.8. pingfails.
Expected behavior
dnsutils pod should be able to access internet.
- 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