Created on
08-19-2025
12:12 AM
Edited on
09-02-2025
02:12 AM
By
Jean-Philippe_P
Description |
This article describes how to fix an issue where the user encounters the error message 'Fail(errno=170):Package copy failed’ during a FortiManager ADOM (Administrative Domain) upgrade. |
Scope |
FortiManager. |
Solution |
ADOM upgrade can fail with the error as in the image below:
Error: Fail(errno=170):Package copy failed. object: router_bgp template. detail: failed to copy BGP_TEST
Further details can be obtained through the debug steps as per the following KB article: Technical Tip: How to upgrade an ADOM on FortiManager.
FortiManager Debug commands:
diagnose debug reset diagnose debug enable
For FortiManager v7.4 and above, use the following troubleshooting commands:
diagnose debug reset diagnose debug enable diagnose debug service dvmdb 255
Below are the details of the error:
__copy_pkg_:d_parent=0, s_oid=6128, name="BGP_TEST" [cate: 550] copy template setting.router_bgp(soid=6129) to dparent=6128, [cate: 240] copy router bgp.(soid=6132) to dparent=6128, __do_cdb_node_attr_check error:router bgp.router-id 1.1.1.$(LAST_OCTET) --> commit [cate: 240] copy router bgp.(soid=6132) to dparent=6128, fail: err=-999,invalid ip - prop[router-id]: ip4any(1.1.1.) invalid ip address
Add a default value for the metadata variable 'LAST_OCTET', and ADOM can be upgraded successfully.
Related article: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.