CommitAll failing for "Device Group and Template Admin" due to variable-reference being pushed instead of variable-value

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


  1. Include Device and Network Templates while pushing variable to the firewall.
image.png
  1. 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

https://docs.paloaltonetworks.com/vm-series/9-1/vm-series-deployment/set-up-the-vm-series-firewall-on-nsx/set-up-the-vm-series-firewall-on-vmware-nsx/register-the-vm-series-firewall-as-a-service-on-the-nsx-manager/create-templates-and-device-groups-on-panorama



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000kG0KCAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail