Panorama Commit Error: “bad template push candidate on disk”
15421
Created On 04/21/20 02:47 AM - Last Modified 06/13/23 18:44 PM
Symptom
From Panorama when attempting to push the template to the firewall, "preview changes" displays below error message:
Bad template push candidate on disk.
Environment
- PAN-OS 8.1 and 9.0
- Any Palo Alto Firewall
- Any Panorama
Cause
This error is seen when template configuration is not on the disk and it happens if local commit is not done or it has failed. This can lead to situation where the candidate config will not pass the schema validation and error is reported.
Resolution
Follow the below steps to resolve the issue:
- Removed the firewall from the Template-Stack
- Commit on the Panorama.
- Re-added the Firewall to the same Template-Stack.
- Commit on the Panorama.
- Then pushed the Template to the firewalls.
Additional Information
If the above steps do not resolve the issue please contact Palo Alto Support.