Calico node failed to start due to no such file or directory name="/usr/local/bin/felix-plugins/felix-api-proxy"
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- go, kubernetes
- Domain
- networking
Research direction
Start in node/pkg/allocateip/allocateip.go at loadFelixEnvConfig and trace the DataplaneDriver validation through param_types.go and config_params.go. Reproduce with the v3.23 operator and custom-resources manifests, then determine why the configured felix-api-proxy path is absent. Done means Calico node starts successfully with the reported Kubernetes and VXLAN setup.
Written by the indexing model from the issue text.
Description
Environment
- Calico/VPP version: both v3.23 and v3.24
- Kubernetes version: 1.24
- Deployment type: bare-metal...
- Network configuration: Calico /VXLAN enabled
Issue description
2022-12-23 07:54:43.193 [WARNING][32] tunnel-ip-allocator/param_types.go 294: Path lookup failed error=exec: "/usr/local/bin/felix-plugins/felix-api-proxy": stat /usr/local/bin/felix-plugins/felix-api-proxy: no such file or directory name="/usr/local/bin/felix-plugins/felix-api-proxy"
2022-12-23 07:54:43.193 [ERROR][32] tunnel-ip-allocator/param_types.go 299: Executable missing
2022-12-23 07:54:43.193 [ERROR][32] tunnel-ip-allocator/config_params.go 559: Invalid (required) config value. error=Failed to parse config parameter DataplaneDriver; value "/usr/local/bin/felix-plugins/felix-api-proxy": missing file source=environment variable
2022-12-23 07:54:43.193 [PANIC][32] tunnel-ip-allocator/allocateip.go 776: Failed to parse Felix environments error=Failed to parse config parameter DataplaneDriver; value "/usr/local/bin/felix-plugins/felix-api-proxy": missing file
panic: (*logrus.Entry) 0xc00041f650
goroutine 1 [running]:
github.com/sirupsen/logrus.(*Entry).log(0xc0010ffe18, 0x0, {0xc0008fe480, 0x22})
/go/pkg/mod/github.com/sirupsen/[email protected]/entry.go:259 +0x24f
github.com/sirupsen/logrus.(*Entry).Log(0xc00041f5e0, 0x0, {0xc0010ffe18, 0x2a423c0, 0xc000489810})
/go/pkg/mod/github.com/sirupsen/[email protected]/entry.go:293 +0x4f
github.com/sirupsen/logrus.(*Entry).Panic(...)
/go/pkg/mod/github.com/sirupsen/[email protected]/entry.go:331
github.com/projectcalico/calico/node/pkg/allocateip.loadFelixEnvConfig()
/go/src/github.com/projectcalico/calico/node/pkg/allocateip/allocateip.go:776 +0xa5
github.com/projectcalico/calico/node/pkg/allocateip.Run(0xc000914420)
/go/src/github.com/projectcalico/calico/node/pkg/allocateip/allocateip.go:68 +0x7b
main.main()
/go/src/github.com/projectcalico/calico/node/cmd/calico-node/main.go:169 +0x518
Calico node failed to start
To Reproduce
Steps to reproduce the behavior:
- kubectl apply -f https://projectcalico.docs.tigera.io/archive/v3.23/manifests/tigera-operator.yaml
- Download and edit file with custom cidr https://projectcalico.docs.tigera.io/archive/v3.23/manifests/custom-resources.yaml
- kubectl apply -f custom-resources.yaml
Expected behavior
Calico node successfully to start
Additional context
Add any other useful information about the problem or your deployment here.
- 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