Problem Recap: The Calico application in a Juju Kubernetes deployment was stuck in a “blocked” state due to a conflict with the ignore-loose-rpf configuration. The juju status command revealed units with the message “ignore-loose-rpf config is in conflict with rp_filter value.”
Guidance Instructions:
- Check Calico Node Status:
- Use
calicoctl node statusto inspect Calico node status. - Observe any errors related to BIRD socket connections.
- Download Calicoctl Binary:
- Download the
calicoctlbinary, make it executable, and move it to/usr/local/bin/.
- Verify Kubernetes Pods:
- Use
kubectl get pods -n kube-systemto ensure Calico components are running.
- Review Juju Status:
- Execute
juju statusto check the Juju status. - Observe the Calico application in a “blocked” state with the “ignore-loose-rpf config is in conflict with rp_filter value” message.
- Check Calico Charm Configuration:
- Use
juju config calicoto review the current Calico charm configuration. - Identify the
ignore-loose-rpfconfiguration set tofalse, causing the conflict.
- Update Configuration:
- Run
juju config calico ignore-loose-rpf=trueto setignore-loose-rpftotrue.
- Verify Resolved State:
- Execute
juju statusagain to confirm that the Calico application is now in an “active” and “ready” state.
Resolved State: The Calico charm in Juju Kubernetes should now be successfully unblocked and operating in an “active” and “ready” state.