Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

network-slave: Retry ip rule add #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jandryuk
Copy link
Contributor

ip rule add has been seen to fail:
VM Network (1): network-slave: exception: "command: "ip rule add pref 104 iif brshared table rt-brbridged" FAILED." while processing RPC "configure"

It is unknown why this happened.

Instead of being fatal, retry and also print the error message. Have not re-triggered a failure with this change.

The iptables -w failures I was able to reason about. This one I don't know why it happened and don't have any clues to go on. So adding the retries may just keep failing. Shouldn't be worse than just failing once though?

Since I haven't re-triggered the failure, the retry logic is untested. If it did fail, we should get the error output which would help further investigation.

ip rule add has been seen to fail:
VM Network (1): network-slave: exception: "command: "ip rule add pref 104 iif brshared table rt-brbridged" FAILED." while processing RPC "configure"

It is unknown why this happened.

Instead of being fatal, retry and also print the error message.  Have not
re-triggered a failure with this change.

Signed-off-by: Jason Andryuk <[email protected]>
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.

1 participant