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

fix(azure): handle unexpected exceptions during obtain_lease() #6092

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

Conversation

KsenijaS
Copy link
Contributor

Proposed Commit Message

fix(azure): handle unexpected exceptions during obtain_lease()

During DHCP we have seen various errors arising due to network interfaces being renamed during discovery.
e.g. cloud-init unhandled exception: FileNotFoundError(2, ''No such file or directory'')'
Add a guard to catch any unexpected exception to avoid unexpected propagation of exception, e.g. FileNotFoundError.

Additional Context

Test Steps

Merge type

  • Squash merge using "Proposed Commit Message"
  • Rebase and merge unique commits. Requires commit messages per-commit each referencing the pull request number (#<PR_NUM>)

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