Common Errors and Syntax Output

The following are common error scenarios and their syntax output for the
config.yml
file:
Incorrect Panorama Username / Password Defined
{"time": "2020-07-10T14:20:14.521390", "level": "error", "function_and_line":"app.py:run_tenant(531)", "tenant": "ONPREM", "msg": "PANW: Got fatal error verifyingMulti-tenant name tenant_bleh: URLError: code: 403 reason: Invalid Credential"} {"time": "2020-07-10T14:20:14.522531", "level": "error",
Incorrect Prisma SD-WAN Auth Token Defined
{"time": "2020-07-10T14:23:56.812693", "level": "info", "function_and_line":"app.py:onprem_app_run(1618)", "tenant": null, "msg": "ONPREM config: Loaded 0Container ENV configs: . Loaded 9 config.yml items: type, version, VPN_PSK,PANORAMA_PASSWORD, CGX_AUTH_TOKEN, PRISMA_ACCESS_API_URI, CONTROLLER,RUN_INTERVAL, SSL_VERIFY. (0 items in config.yml overridden by ENV configs: )"} {"time": "2020-07-10T14:23:57.485288", "level": "error", "function_and_line":"app.py:run_tenant(257)", "tenant": "ONPREM", "msg": "CNF: Invalid Prisma SD-WANAUTH_TOKEN, unable to retrieve TenantID. AUTH_TOKEN ID:daErzQiJmTvO2qEnqMYkAGLOQ8ZSldAOs2Ut0bnKC4CXOUqCyTMlvpcu1va0c0aByFy1y WuixykejSQcE2OigHetlJvqO1jexSx3GRQpbvmH9m86iGMkuSR9P1gtkNh"} {"time": "2020-07-10T14:23:57.485731", "level": "error", "function_and_line":"app.py:onprem_app_run(1735)", "tenant": "ONPREM", "msg": "Integration Run:Prisma Access Integration Did not complete its run, please check the log forerrors."}
Change to Config.yml Detected
"app.py:<module>(1872)", "tenant": null, "msg": "ONPREM configuration changed (wasd1ac4d247b08cc97b0a90733e2edbd21584bc0217d5dd3084d593469834b4145e59c9e9c372a3ec 9b983c70cef325480ade276c8640b67d83108cd6d6026ae8f, now3651dc2a89f3ae5e0090250010137351428de897b03fa20e0031abcfd7de1bb7d3cfaa879b4 5e647e8eaba9b16a02d290dbe15331cc5cf8f4a03092ffe56e761)."} {"time": "2020-07-10T14:22:25.284035", "level": "info", "function_and_line":"app.py:<module>(1879)", "tenant": null, "msg": "ONPREM configuration/config/config.yml found, loaded. (SHA512:3651dc2a89f3ae5e0090250010137351428de897b03fa20e0031abcfd7de1bb7d3cfaa879b45 e647e8eaba9b16a02d290dbe15331cc5cf8f4a03092ffe56e761)"}
Prisma Access Licensing Exceeded
{"time": "2020-08-18T20:11:18.519183", "level": "info", "function_and_line": "app.py:run_tenant(1310)", "tenant": "ONPREM", "msg": "PANW: Commit template topanorama: success (Job ID 6013 Code 19)"} {"time": "2020-08-18T20:11:28.822204", "level": "warn", "function_and_line": "app.py:run_tenant(1329)", "tenant": "ONPREM", "msg": "PANW: Commit template didnot succeed. Result: FAIL, Details: Partial changes to commit: changes to configuration byadministrators: cgxadmin, Changes to all device group configuration, Changes to templateconfiguration: (Remote_Network_Template), Changes to template-stack configuration: (Remote_Network_Template_Stack), Changes to all log collector configuration, Changes to alllog collector group configuration, Changes to all wildfire appliance configuration, Changes to allwildfire appliance cluster configuration, Changes to configuration in Panorama, Changes toshared configuration, The bandwidth you specified exceeds the total amount of licensedbandwidth (200 Mbps) by 200 Mbps.Reduce the amount of bandwidth,or purchase morelicensed bandwidth, and retry the operation., Failed plugin validation"} {"time": "2020-08-18T20:11:28.822759", "level": "info", "function_and_line": "app.py:run_tenant(1415)", "tenant": "ONPREM", "msg": "PANW: Commit template did notcomplete successfully. Skipping Prisma Access Commit."} root@ubuntu:/# CONTAINER
Config.yml Permissions on Linux
{"time": "2020-09-18T15:54:04.748577", "level": "info", "function_and_line":"app.py:onprem_app_run(1618)", "tenant": null, "msg": "ONPREM config: Loaded 0 Container ENV configs: . Loaded 6 config.yml items: type, version, VPN_PSK,PANORAMA_PASSWORD, CGX_AUTH_TOKEN, PRISMA_ACCESS_TENANT. (0 items inconfig.yml overridden by ENV configs: )"} {"time": "2020-09-18T15:54:04.750168", "level": "info", "function_and_line": "app.py:run_tenant(176)", "tenant": "ONPREM", "msg": "CNF: Config Change detected, forcingconfiguration on all objects."} {"time": "2020-09-18T15:54:09.035835", "level": "error", "function_and_line": "app.py:run_tenant(257)", "tenant": "ONPREM", "msg": "CNF: Invalid Prisma SD-WANAUTH_TOKEN, unable to retrieve TenantID. AUTH_TOKEN ID:cX8waUv7aRb4YFC0t2JbcqmyuWfCxLVQwcaxrewuf9LYxjokP5OfUzgwxF2B5TfvfS9qNGh 4y7mIw0iCdJ9BTkcxp8KxxnZnBnyuSOeBG5CMGoq8GFbJnSviqElPLh"} {"time": "2020-09-18T15:54:09.036236", "level": "error", "function_and_line": "app.py:onprem_app_run(1735)", "tenant": "ONPREM", "msg"peration., Failed plugin validation"}
Config.yml Syntax Incorrect
  • Space instead of an “underscore” between variable names.
  • Start of line not a variable and not commented out - commonly seen with word wrap.
{"time": "2020-09-18T15:54:04.748577", "level": "info", "function_and_line": "app.py:onprem_app_run(1618)", "tenant": null, "msg": "ONPREM config: Loaded 0Container ENV configs: . Loaded 6 config.yml items: type, version, VPN_PSK,PANORAMA_PASSWORD, CGX_AUTH_TOKEN, PRISMA_ACCESS_TENANT. (0 items inconfig.yml overridden by ENV configs: )"} {"time": "2020-09-18T15:54:04.750168", "level": "info", "function_and_line": "app.py:run_tenant(176)", "tenant": "ONPREM", "msg": "CNF: Config Change detected, forcingconfiguration on all objects."} {"time": "2020-09-18T15:54:09.035835", "level": "error", "function_and_line": "app.py:run_tenant(257)", "tenant": "ONPREM", "msg": "CNF: Invalid Prisma SD-WANAUTH_TOKEN, unable to retrieve TenantID. AUTH_TOKEN ID:cX8waUv7aRb4YFC0t2JbcqmyuWfCxLVQwcaxrewuf9LYxjokP5OfUzgwxF2B5TfvfS9qNGh4y 7mIw0iCdJ9BTkcxp8KxxnZnBnyuSOeBG5CMGoq8GFbJnSviqElPLh"}

Recommended For You