FortiManager
FortiManager supports network operations use cases for centralized management, best practices compliance, and workflow automation to provide better protection against breaches.
danielzhong
Staff
Staff
Article Id 418327
Description

This article describes the troubleshooting steps when facing the following ADOM upgrade error:

 

Fail (errno=33): duplicate

Scope FortiManager, ADOM upgrade (from v7.2 to v7.4).
Solution

When performing FortiManager ADOM upgrade from v7.2 to v7.4, the ADOM upgrade failed and reported the error:

 

Fail (errno=33):duplicate  

 

error1.png

 

error2.png

 

Troubleshoot steps for the issue:

  1. To get the details on what triggers the error during the ADOM upgrade, enable the FortiManager diagnose commands and redo the ADOM upgrade.

 

diagnose debug reset
diagnose debug timestamp enable
diagnose debug service cdb 255 <----- Use in FortiManager v7.2.x and lower.

diagnose debug service dvmdb 255 <----- Use in FortiManager v7.4.x and higher.
diagnose debug enable

 

  1. When the ADOM upgrade failed, check the output from the debugs.

    It shows the following debug output:

     

copy fsp managed-switch.GMI-Napoleon-424E-Distrib-Bott(soid=8996) to dparent=8992,  fail: err=33,duplicate

 

error3.png

 

It reports an error when copying the managed FortiSwitches.

It is known that when there are multiple FortiSwitches, if the first 16 characters of FortiSwitch names are the same, FortiManager will report an error during the ADOM upgrade.

 

Such as, the FortiSwitches 'FortiSwitches-HubOffice-01' and 'FortiSwitches-HubOffice-02' are considered duplicates by the FortiManager, since the first 16 characters of the names are the same. 

The reason is that the FortiSwitch name limit has been changed to 16 characters on the FortiManager to follow FortiOS behavior at v7.4 ADOM. If the FortiSwitch name exceeded 16 characters, the extract characters will be removed during the ADOM upgrade.

 

  1. Go to FortiManager GUI -> Policy & Object -> Advanced -> CLI Configurations-> FSP -> managed-switch.

     

 

error4.png

 

Update the value of switch-id to limit to 16 characters and with different values.

After that, the ADOM upgrade from v7.2 to v7.4 was successful.