Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
IP-Reconciler Skips Next Pods if it Fails to Add IP to a Pod from the List
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- IP-Reconciler skips next pods if it fails to add IP to a pod from the list.
- Whereabout adds IPs to the pods like below:
Pod logs
xxxxxxxxxx2023-05-25T20:55:38.000Z DEBUG listing IP pools2023-05-25T20:55:38.300Z DEBUG Added IP 10.177.156.2 for pod ttmst417/ttmst417-mstore-02023-05-25T20:55:38.301Z DEBUG Added IP 10.177.156.66 for pod ttmst417/ttmst417-mstore-02023-05-25T20:55:38.301Z DEBUG Added IP 10.177.156.3 for pod ttmst417/ttmst417-mstore-1- But, if adding IP to any of the pod fails then it does not add IP any of the further(successor) pods from that set. In the traces shown below we can see that it was able to add IPs till pod
ttmst417-mstore-13and then it failed to add IP on podttmst417-mstore-14. - So, instead of continuing to add IPs on further(successor) pods (
mstore-15,mstore-16, etc), it jumped to next set of pods which isttmst417-mstore-2. Therefore, here it seems like it sorts with naming convention (alphanumeric) and hence, aftermstore-14failed, next sequence it found wasmstore-2
Pod logs
2023-05-25T20:55:38.301Z DEBUG Added IP 10.177.156.78 for pod ttmst417/ttmst417-mstore-122023-05-25T20:55:38.301Z DEBUG Added IP 10.177.156.15 for pod ttmst417/ttmst417-mstore-132023-05-25T20:55:38.301Z DEBUG Added IP 10.177.156.79 for pod ttmst417/ttmst417-mstore-132023-05-25T20:55:38.301Z ERROR could not parse network annotation for pod: ttmst417/ttmst417-mstore-14; error: unexpected end of JSON input <<==========2023-05-25T20:55:38.301Z DEBUG Added IP 10.177.156.4 for pod ttmst417/ttmst417-mstore-22023-05-25T20:55:38.301Z DEBUG Added IP 10.177.156.68 for pod ttmst417/ttmst417-mstore-22023-05-25T20:55:38.301Z DEBUG Added IP 10.177.156.5 for pod ttmst417/ttmst417-mstore-32023-05-25T20:55:38.301Z DEBUG Added IP 10.177.156.69 for pod ttmst417/ttmst417-mstore-32023-05-25T20:55:38.301Z DEBUG Added IP 10.177.156.7 for pod ttmst417/ttmst417-mstore-5Environment
- Platform9 Managed Kubernetes - v5.3 and Higher
Cause
This is known issue with ip-reconciler and is being discussed as per JIRA AIR-1079.
Resolution
- As a workaround restart the affected pod so that new IP is added to the pod.
- Upgrade to whereabouts version 0.4.11 as a permanent fix.
Additional Information
More details mentioned in the below function:
https://github.com/k8snetworkplumbingwg/whereabouts/blob/master/pkg/reconciler/wrappedPod.go#L57
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message