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

This article provides troubleshooting steps to resolve unable with installing configurations to the managed FortiGate. The error is caused by misconfiguration in the template used by FortiManager.

Scope FortiManager.
Solution

The misconfiguration might have been overlooked when the user manages several devices and tries to provision new devices.

FortiManager has a feature called 'Add Model Device,' where provisioning templates, policy packages, and pre-run CLI templates can be assigned to the model to ease the process.

Metadata variables can be used to simplify the configuration. However, it can be easily overlooked when provisioning a new device.

 

After connecting the new FortiGate to the FortiManager, the onboarding process will halt due to the incomplete Auto-link process. The process failure might be due to the configuration installation failure.

 

BPicture1.png

 

The details of the failure can be found in the 'View Details' button. In this case, the failure is caused by the metadata misconfiguration, and the error message is as follows:

 

BPicture2.png

 

Template copy failed: - - (from Template Group <Name>) - (in system template <Name>),invalid value. detail: (from Template Group <Name>) (in Template <Name>) variable 'int_address_wan1' value is empty.

 

To resolve the issue, simply check the metadata configuration and ensure that it has the correct value for the device mapping and default value in case the object does not have per-device mapping.

 

To reconfigure the metadata, ensure it is enabled in the features visibility first by navigating to Policy & Objects -> Tools -> Feature Visibilities -> Advanced -> Enable Metadata variable and select OK.

 

Navigate to the Metadata page, Policy & Objects -> Advanced -> Metadata variables, select the variable. In this case, int_address_wan1 -> Edit.

 

BPicture3.png

Contributors