Skip to content

Comments

bridge: include attempted IP address in AddrAdd error message#1225

Merged
mlguerrero12 merged 1 commit intocontainernetworking:mainfrom
Amulyam24:bridge-error
Feb 19, 2026
Merged

bridge: include attempted IP address in AddrAdd error message#1225
mlguerrero12 merged 1 commit intocontainernetworking:mainfrom
Amulyam24:bridge-error

Conversation

@Amulyam24
Copy link
Contributor

@Amulyam24 Amulyam24 commented Jan 22, 2026

We recently encountered the error:

rpc error: code = Unknown desc = failed to setup network for sandbox "c44369cc2c061e4fe9943c27526025815413c7230642e1541aa23b408f4afdcd": plugin type="bridge" failed (add): failed to set bridge addr: could not add IP address to "cni0": permission denied

It turns out this was due to IPv6 being disabled on the host when the machine went down and was rebooted.

This PR includes the IP in the AddrAdd error message which could help debug better with any issues while adding the IP address to the bridge and improves the readability.

@Amulyam24 Amulyam24 force-pushed the bridge-error branch 2 times, most recently from 6621746 to 67d6c7f Compare February 17, 2026 10:24
@Amulyam24
Copy link
Contributor Author

/retest

@Amulyam24
Copy link
Contributor Author

Hi @mlguerrero12, I'm don't think the failure is related to my change, can you please retrigger the test?

This PR includes the IP in the `AddrAdd` error message which could help debug better with any issues while adding the IP address to the bridge and improves the readability.

Signed-off-by: Amulyam24 <amulmek1@in.ibm.com>
@Amulyam24
Copy link
Contributor Author

Thanks @mlguerrero12, all checks passed.

@mlguerrero12 mlguerrero12 merged commit adc3e6b into containernetworking:main Feb 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants