-
Notifications
You must be signed in to change notification settings - Fork 91
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 exos_config:save_when when a stopped process is present #110
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need a changelog fragment.
Please also observe the failed sanity tests (https://app.shippable.com/github/ansible-collections/community.network/runs/543/1/tests). |
CC @hlrichardson @rdvencioneck @LindsayHill @bigmstone @ujwalkomarla you are listed as authors/maintainers of this module. Please check this change. |
When a process is created, and then terminated but not deleted, the save config prompt will change. This module expected the old prompt, which never arrived, so the save will run into a timeout. This is how the special prompt looks: > * Slot-1 HOSTNAMEHERE.1 # save > The configuration file primary.cfg already exists. > Some process has been terminated/stopped. If you save the configuration > then that process's configuration will be lost. > Do you want to continue? (y/N)
Backport to stable-1: 💚 backport PR created✅ Backport PR branch: Backported as #343 🤖 @patchback |
Backport to stable-3: 💚 backport PR created✅ Backport PR branch: Backported as #345 🤖 @patchback |
Backport to stable-2: 💚 backport PR created✅ Backport PR branch: Backported as #344 🤖 @patchback |
When a process is created, and then terminated but not deleted, the save config prompt will change. This module expected the old prompt, which never arrived, so the save will run into a timeout. This is how the special prompt looks: > * Slot-1 HOSTNAMEHERE.1 # save > The configuration file primary.cfg already exists. > Some process has been terminated/stopped. If you save the configuration > then that process's configuration will be lost. > Do you want to continue? (y/N) (cherry picked from commit ac1351a)
When a process is created, and then terminated but not deleted, the save config prompt will change. This module expected the old prompt, which never arrived, so the save will run into a timeout. This is how the special prompt looks: > * Slot-1 HOSTNAMEHERE.1 # save > The configuration file primary.cfg already exists. > Some process has been terminated/stopped. If you save the configuration > then that process's configuration will be lost. > Do you want to continue? (y/N) (cherry picked from commit ac1351a)
When a process is created, and then terminated but not deleted, the save config prompt will change. This module expected the old prompt, which never arrived, so the save will run into a timeout. This is how the special prompt looks: > * Slot-1 HOSTNAMEHERE.1 # save > The configuration file primary.cfg already exists. > Some process has been terminated/stopped. If you save the configuration > then that process's configuration will be lost. > Do you want to continue? (y/N) (cherry picked from commit ac1351a)
) When a process is created, and then terminated but not deleted, the save config prompt will change. This module expected the old prompt, which never arrived, so the save will run into a timeout. This is how the special prompt looks: > * Slot-1 HOSTNAMEHERE.1 # save > The configuration file primary.cfg already exists. > Some process has been terminated/stopped. If you save the configuration > then that process's configuration will be lost. > Do you want to continue? (y/N) (cherry picked from commit ac1351a) Co-authored-by: uedvt359 <[email protected]>
) When a process is created, and then terminated but not deleted, the save config prompt will change. This module expected the old prompt, which never arrived, so the save will run into a timeout. This is how the special prompt looks: > * Slot-1 HOSTNAMEHERE.1 # save > The configuration file primary.cfg already exists. > Some process has been terminated/stopped. If you save the configuration > then that process's configuration will be lost. > Do you want to continue? (y/N) (cherry picked from commit ac1351a) Co-authored-by: uedvt359 <[email protected]>
) When a process is created, and then terminated but not deleted, the save config prompt will change. This module expected the old prompt, which never arrived, so the save will run into a timeout. This is how the special prompt looks: > * Slot-1 HOSTNAMEHERE.1 # save > The configuration file primary.cfg already exists. > Some process has been terminated/stopped. If you save the configuration > then that process's configuration will be lost. > Do you want to continue? (y/N) (cherry picked from commit ac1351a) Co-authored-by: uedvt359 <[email protected]>
thank you for your contribution @uedvt359 |
SUMMARY
NOTE: This is distinct from Bug #109, which I filed earler!
When a stopped process exists on the Switch, the prompt for the
save
command changes. This trips upsave_when
, which does not recognize the prompt and it runs into a timeout.commit message:
ISSUE TYPE
COMPONENT NAME
exos_config
ADDITIONAL INFORMATION