Skip to content

gracefully exit out of error condition when retrieving device ip address #673

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

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

Conversation

lyndonsiao
Copy link
Contributor

- What I did
fixes an issue where fast reboot fails when an interface ip has been removed

- How I did it
added code to catch exception when fast reboot script retrieves an interface ip that has been removed

- How to verify it
remove an interface ip address using ifconfig and issue fast reboot

- Previous command output (if the output of a command-line utility has changed)
admin@sonic:~$ sudo fast-reboot -y
Failed to run fast-reboot-dump.py. Exit code: 2

- New command output (if the output of a command-line utility has changed)
admin@sonic:~$ sudo fast-reboot -y

-->

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