05-03-2021 04:06 AM - edited 05-03-2021 04:07 AM
Hi Team,
We are working with SD-WAN devices, when a template fails via commit-queue due to Vmanage busy with some other operation in progress. We wanted to retry the template apply. Is this possible?
Thanks in advance
Kiran Kumar
Solved! Go to Solution.
05-03-2021 11:08 AM
Good Q. I do not believe Commit Queues has a "retry" option for errors. The current possible options are:
The error option can be configured under /ncs:devices/global-settings/commit-queue/error-option
. Possible values are: continue-on-error, rollback-on-error and stop-on-error.
Unless the NED gives you any support, you would need to capture this error somewhere northbound and re-commit.
05-03-2021 11:57 AM
05-04-2021 07:16 AM
hi Kiran, please issue a TAC ticket for an enhancement request.
05-03-2021 11:08 AM
Good Q. I do not believe Commit Queues has a "retry" option for errors. The current possible options are:
The error option can be configured under /ncs:devices/global-settings/commit-queue/error-option
. Possible values are: continue-on-error, rollback-on-error and stop-on-error.
Unless the NED gives you any support, you would need to capture this error somewhere northbound and re-commit.
05-03-2021 11:57 AM
05-04-2021 07:05 AM
@vleijon for SD-WAN it's _transient_ error due to it's busy (working on other tasks) but for NSO it's _permanent_ error due to the device rejected
@rogaglia Can we request the NSO BU to add a new feature in commit-queues "retry-on-error", "max-attempts", This will give developer a choice for eg. SD-WAN devices or 3rd party device.
05-04-2021 07:16 AM
hi Kiran, please issue a TAC ticket for an enhancement request.
05-04-2021 07:26 AM
I think there is no interface for the commit queue to ask a device whether an error was transient or not, and so as far as I understand NSO takes a conservative simple approach, any error from the device is permanent, connection errors are transient. So maybe extending the NED API to be able to ask the NED if an error message is transient might be a way forward. A default implementation could just match patterns in a ned-setting
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide