What happened:
Route reconciliation fails with the error "expected to receive a single instance only" when multiple instance IDs are passed to describeInstanceBatcher.
What you expected to happen:
Route reconciliation should handle multiple instance IDs without failing.
How to reproduce it (as minimally and precisely as possible):
- Use AWS cloud-controller-manager with route-based pod networking.
- Ensure the route table contains routes pointing to multiple instances.
- Route reconciliation fails with:
"Couldn't reconcile node routes: error listing routes: expected to receive a single instance only, found N".
Anything else we need to know?:
The issue occurs because getInstancesByIDs passes multiple instance IDs to describeInstanceBatcher.DescribeInstances, while the batcher implementation expects exactly one instance ID per request.
Environment:
- Kubernetes version (use
kubectl version): v1.34.1 && v1.35.0
- Cloud provider or hardware configuration: aws ec2
- OS (e.g. from /etc/os-release): Amazon Linux 9 / RHEL9-based
- Kernel (e.g.
uname -a): 5.14.0-229.el9.x86_64
- Install tools: Deckhouse
- Others: simple-bridge CNI with route-based pod networking
/kind bug
What happened:
Route reconciliation fails with the error "expected to receive a single instance only" when multiple instance IDs are passed to describeInstanceBatcher.
What you expected to happen:
Route reconciliation should handle multiple instance IDs without failing.
How to reproduce it (as minimally and precisely as possible):
"Couldn't reconcile node routes: error listing routes: expected to receive a single instance only, found N".
Anything else we need to know?:
The issue occurs because
getInstancesByIDspasses multiple instance IDs todescribeInstanceBatcher.DescribeInstances, while the batcher implementation expects exactly one instance ID per request.Environment:
kubectl version): v1.34.1 && v1.35.0uname -a): 5.14.0-229.el9.x86_64/kind bug