Amazon-vpc-cni-k8s: Make errors (more) actionable: "add cmd: failed to assign an IP address to container"

Created on 22 Jun 2018  路  2Comments  路  Source: aws/amazon-vpc-cni-k8s

Hi,

I've got some pods in this state and while I'm investigating right now the root cause, I'd wish this error would be more actionable. What failed that made it impossible to assign an IP address? Was some pool exhausted? Some syscall failed? Some api call failed?

Most helpful comment

Logging has been improved

All 2 comments

@discordianfish ipamD as described in the proposal-design is responsible assigning IP address to a Pod. /var/log/aws-routed-eni/ipamd.log.xxxx contains more detail why it failed on IP address assignment.

troubleshooting CNI provides tips on how to avoid IP address assignment failure.

Logging has been improved

Was this page helpful?
0 / 5 - 0 ratings