05-06-2019 08:33 AM
Hello
I'm facing a problem when I try to do a "package reload"
Error: Operation failed because: Cannot do data model upgrade when commit queue has items.
Any idea how can I resolve this problem ?
Thanks in advance
Solved! Go to Solution.
05-06-2019 01:57 PM
@igotni wrote:I'm facing a problem when I try to do a "package reload"
Error: Operation failed because: Cannot do data model upgrade when commit queue has items.
This means that there are pending items in the commit-queue, that have not yet completed.
You can either wait for them to be completed, or you can clear the items in the commit queue, using the action "devices commit-queue clear". Note that if you clear the queue items, NSO might get out-of-sync with the devices (since NSO will then have changes in it's CDB that have not been pushed to the devices).
/Ram
05-06-2019 01:55 PM
Hi, this error usually generate when you don't have all Software package. Could you provide the current version and new version, also the platform where you want to excecute the upgrade.
05-07-2019 12:33 AM
Thanks
05-06-2019 01:57 PM
@igotni wrote:I'm facing a problem when I try to do a "package reload"
Error: Operation failed because: Cannot do data model upgrade when commit queue has items.
This means that there are pending items in the commit-queue, that have not yet completed.
You can either wait for them to be completed, or you can clear the items in the commit queue, using the action "devices commit-queue clear". Note that if you clear the queue items, NSO might get out-of-sync with the devices (since NSO will then have changes in it's CDB that have not been pushed to the devices).
/Ram
05-07-2019 12:34 AM
Thanks
11-03-2022 08:22 AM
this got resolved by
packages reload max-wait-time 1 timeout-action kill
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community: