cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
720
Views
0
Helpful
2
Replies

Issue using commit-queue prune feature with JSON RPC

imrbaig
Cisco Employee
Cisco Employee
trying to use commit-queue prune feature as JSON RPC request, working for all devices as below:

{
"jsonrpc": "2.0",
"id": 10,
"method": "run_action",
"params": {
"path": "/ncs:devices/commit-queue/prune",
"th": 1,

"params": {}

}
}

 
 
 
doesn't work for selected device

{
"jsonrpc": "2.0",
"id": 10,
"method": "run_action",
"params": {
"path": "/ncs:devices/commit-queue/prune",
"th": 1,

"params": {
"device":["ios01"]
}

}
}
1 Accepted Solution

Accepted Solutions

imrbaig
Cisco Employee
Cisco Employee

It happened in dev environment. We cleared the commit queue and things were ok from that point on. 

View solution in original post

2 Replies 2

imrbaig
Cisco Employee
Cisco Employee

Clearing all existing items from queue resolved the issue.

imrbaig
Cisco Employee
Cisco Employee

It happened in dev environment. We cleared the commit queue and things were ok from that point on. 

Getting Started

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:

Recognize Your Peers