无法将内容部署到 Firewall Panorama 从使用 XML API
7787
Created On 06/07/19 23:30 PM - Last Modified 03/28/25 23:54 PM
Symptom
- 无法从使用中部署内容 firewall Panorama XML API 。 运行 API 如下:
<request><batch><content><check></check></content></batch></request> <request><batch><content><download><file>panupv2-all-apps-8157-5479</file></download></content></batch></request> *wait 5 minutes* <request><batch><content><upload-install><file>panupv2-all-apps-8157-5479<devices>serial</devices></file></upload-install></content></batch></request>
- 将显示下一个警报:
<response status="error"> <msg> <line>Failed to schedule deployment job</line> </msg> </response>
Environment
- Panorama
- PAN-OS v8.1或更晚
Cause
- 在 PAN-OS 8.1 和以后,将触发新的内容验证。
- 可以使用"跳过内容有效性检查"标头禁用它。
Resolution
- 修改查询顺序, API 使内容版本在 XML 参数之间 <file></file> ""
- 序列号也应该 <devices></devices> 在""遵循标准" XML 之间
- 添加跳过内容有效性检查以绕过验证检查,例如下一个示例:
<request><batch><content><upload-install><skip-content-validity-check>是</skip-content-validity-check><file>泛2-所有内容-(版本</file><devices> S N )(/)</devices></upload-install></content></batch></request>