When adding many interfaces and committing, the error "Phase 2 commit failed: Error: Error pre-installing config" is displayed.

When adding many interfaces and committing, the error "Phase 2 commit failed: Error: Error pre-installing config" is displayed.

609
Created On 03/26/25 00:24 AM - Last Modified 10/15/25 22:58 PM


Symptom


When adding many interfaces and committing, the error "Phase 2 commit failed: Error: Error pre-installing config" is displayed.

# commit

Commit job 8 is in progress. Use Ctrl+C to return to command prompt
..............98%...........100%
Phase 2 commit failed: Error: Error pre-installing config
failed to handle CONFIG_COMMIT
(Module: device)
Configuration committed successfully
Local configuration size: 541 KB
Predefined configuration size: 17 MB
Merged configuration size(local, panorama pushed, predefined): 21 MB
Maximum recommended merged configuration size: 55 MB (38% configured)

Error: Error pre-installing config
failed to handle CONFIG_COMMIT
(Module: device)



Environment


  • PA-Series Next-Generation Firewall
  • PAN-OS 11.1


Cause


This can be caused by an allocation failure due to insufficient memory for the interface.

Allocation errors are reported in pan_comm_0.log.
> tail follow yes mp-log pan_comm_0.log
2025-03-25 00:27:04.319 -0700  pan_comm_cfg_callback(pan_host_sysd.c:3214): cfg called on sysd object (cfgpush.*.*.cfg), phase2
2025-03-25 00:27:04.348 -0700 Error:  pan_alloc_nofree(pan_alloc.c:1046): allocated 100659072 of 100662968 bytes. cannot provide 20480 more
2025-03-25 00:27:04.348 -0700 Error:  pan_ifconfig_d_pre_install(pan_if.c:1285): allocate counter for ethernet1/12 failed

2025-03-25 00:27:04.348 -0700 Error:  pan_netconfig_d_pre_install(pan_netconfig_d.c:247): error pre-installing interface config
2025-03-25 00:27:04.348 -0700 Error:  _handle_CONFIG_COMMIT(pan_host.c:688): pan_cfg_readin() failed
2025-03-25 00:27:04.348 -0700 Error:  pan_host_handle_msg(pan_host.c:1490): Error pre-installing config
failed to handle CONFIG_COMMIT
2025-03-25 00:27:04.348 -0700 Error:  pan_comm_handle_cfg(pan_host_sysd.c:1009): error in handling 2: Error pre-installing config
failed to handle CONFIG_COMMIT

2025-03-25 00:27:04.348 -0700 Error:  pan_comm_do_cfg_commit_dp(pan_host_sysd.c:1402): pan_comm_handle_cfg() failed
2025-03-25 00:27:04.348 -0700 Error:  pan_comm_cfg_callback(pan_host_sysd.c:3275): pan_comm_handle_cfg_phase2() failed
2025-03-25 00:27:04.348 -0700  pan_comm_cfg_callback(pan_host_sysd.c:3303): cfg callback returns -1, takes 0 sec



Resolution


Please check the maximum number of interfaces supported by the product on the following website.
https://www.paloaltonetworks.com/products/product-selection

If necessary, contact support with the latest tech-support file and details of the work you have performed.



Actions
  • Print
  • Copy Link

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