Tutorial: Clearing Commits

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.
Community Team Member

Clearing commits is often an overlooked feature but can be very useful at times.  Imagine you want to add an additional change but already scheduled a commit.  You can easily cancel the commit, add your change and re-commit, preventing you from doing unncessary commits.  Or imagine that a commit hangs for whatever reason (not that it ever happens ...) and you would like to abort/flush it.

 

For whatever reason you might need to do it, it came up as a discussion in our discussion board a while ago.  A user was wondering how clearing commit queues worked and if it was even possible to clear commits prior to PAN-OS 7.1 seeing that commit queues was added as a new feature in PAN-OS 7.1.

 

In this video I explain how clearing commits work and how you can even clear a running commit.  The video discusses pre and post PAN-OS 7.1 examples.

 

 

 

Thanks for reading/watching. 

As always, we welcome feedback and comments below.

 

Cheers!

-Kiwi

4 Comments
L2 Linker

Videos are great, but include the CLI/Step-by-Step

L3 Networker

Thanks but how do you clear commits from Panorama? There is no "Stop Job" button on the right.

L0 Member

This is showing only if the Job is in process of commuting. What about a commit that failed with warning and revert didn't work? how can we clear the commit or job ID? 

 

Enqueued Dequeued ID Type Status Result Completed
------------------------------------------------------------------------------------------------------------------------------
 978461 Commit FIN FAIL 16:17:11

 

Any thought on this ?

Hi @Soufi ,

Commit that is failed is already in completed state, so you cannot clear it. In nutshell commit is the process of replacing the running config with the candidate config. If the commit has failed running config is reverted to the previous successful running config.

 

To understand why commit has failed you can  see the details either via CLI:

> show jobs all ----> get the id of the failed commit

> show job id <id>  ---> show details for this commit

 

or via GUI - Tasks

 

I would suggest you to create new post and use @ mentioning to assist you  with the troubleshooting.

  • 27866 Views
  • 4 comments
  • 3 Likes
Register or Sign-in
Labels
Top Liked Authors