- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Episode Transcript:
John:
Olivier:
Hello John, thank you for having me back in PANCast™.
Today I wanted to share with our audience my troubleshooting method to resolve commit issues.
Disclaimer: I resolve a lot of issues with that, however, it may fail in some corner cases.
John:
Olivier:
So as I said today, we are going to discuss commit issues. That can be a commit change on the firewall, or on a Panorama. But this is also the case for HA configuration synchronization issues or for when you are trying to push a config from Panorama to a managed device.
You can also use this method to troubleshoot content update installation issues, because the content installation involves a commit operation.
In all those situations, performing the checks I will share will help you to narrow down the issue, if it does not resolve it.
John:
Olivier:
The first thing to check is the change you are going to commit.
You can review the changes for any error : is it a first time change or it is an update of an existing object?
If it is the first time you are implementing the change, refer to the Documentation to make sure all the steps are correct.
If it is an update of an existing object, you can revert the change and clone the object to update the value on the cloned object. Also if you are doing multiple changes, you will need to troubleshoot by checking individual change to narrow down to the change causing the issue.
Also one quick check is to make a “blank” commit on the firewall, so you know that you are working from the running configuration, which should be a safe point.
Finally, last point I think to note: since PAN-OS 10.1, and the replayDB introduction, make sure if you want to restart a process to commit the whole configuration before. So you won’t get any weird configuration appearing suddenly.
John:
Ok, so we tried all your troubleshooting actions, but the commit issue persists.
What's next?
Olivier:
The next thing to do is to review the error message, that may sound silly, but yes, the error message may indicate clues related to the commit failure.
So when you have a commit failure, the first thing to review is the error message, and the change you are trying to commit. Are they related or not? For instance, you do add a security policy named “new_rule”, and the commit error message indicates an error with something else, then you can suspect the issue is not related to the security policy “new_rule”. If you are still not convinced, you can even delete the newly created security policy, and perform a commit.
One thing to mention is that you should review the commit error on the device performing the actual commit, that means if you are deploying something from Panorama, the managed device is the device performing the commit.
Unfortunately, in some cases the commit error may not contain enough information to resolve the issue.
John:
Olivier:
In case the error message is too generic, and you need more information, you will have to connect to the device through SSH for the command line interface.
Then display the logs of the process ms or configd, depending on the PAN-OS version your device is running on, while committing a change.
To do so,
Now, the game is to see what is happening in the logs, so finding the error in the logs can be something straightforward, but it also may require you to see other logs.
So in case you don’t see immediately the error in the log, you will need to see the first process sending a commit failure message and perform the same procedure for that specific process.
John:
Ok got it.
So what are the takeaways for today?
Olivier:
So the key takeaways for today :
Finally, the last point about ReplayDB, make sure that there is no pending commit if you have to restart the device or a process.
John:
Thank you Olivier, great info as always. PANCasters, remember to head to live.paloaltonetworks.com for the transcript and additional info.
Related Content: