CommitAll failing for "Device Group and Template Admin" due to variable-reference being pushed instead of variable-value
3679
Created On 01/03/23 02:48 AM - Last Modified 08/17/23 18:11 PM
Symptom
Panorama Commit fails with error:
Validation Error: rulebase -> nat -> rules -> Test -> source-translation -> dynamic-ip-and-port -> interface-address -> ip '$INT-Trust-InterfaceIP' is not a valid reference
rulebase -> nat -> rules -> Test -> source-translation -> dynamic-ip-and-port -> interface-address -> ip is invalid vsys1
Error: nat rule 'Test' invalid interface address $INT-Trust-InterfaceIP Error: Failed to parse nat policy (Module: device) client device phase 1 failure Commit failed
Environment
- Panorama
- PAN-OS 10.2.x
- Commit
Cause
- The issue will cause if variables are pushed to the firewall
Resolution
- Include Device and Network Templates while pushing variable to the firewall.
- Commit should succeed without errors
Additional Information
- The variables are only to be used inside the template/template stack portion of configuration and not inside DG. Address objects need to be used inside DG. The resolution logic will only kick in when you do a template push or DG include template push. But still it is strongly advised not to use it as we dont know what issue we can end up with.
-
Create Template(s), Template Stack(s), and Device Group(s) on Panorama