Description | This article describes how to successfully fix automation-stitches not running on downstream devices. |
Scope | FortiGate. |
Solution |
On a Security Fabric topology, the automation-stitch created on the Fabric Root is synchronized and will run on all the downstream devices.
There are situations in which that is not happening. Here is an example of an automation-stitch that will add an IP to a block list:
config system automation-action
The option 'execute-security-fabric' is enabled, meaning that this should be executed on the Fabric devices and not only on the Fabric Root. Upon running the stitch the object was not added to the downstream devices.
For troubleshooting, the 'diag debug app autod -1' should be run on both devices.
FortiGate-101F # diagnose debug application autod -1 FortiGate-101F # __cli_script_close()-121: cli script: ======= end of #1, 2024-12-24 02:39:37 ======
======= end of #1, 2024-12-24 02:39:37 ======
FortiGate-61F # diagnose debug application autod -1 FortiGate-61F # diagnose debug enable FortiGate-61F # pid:231-__handle_msg()-414: Subscriber:4 received package. pubid:0 pkgid:374 pkg_index:191
On the downstream device the message 'Failed to allocate ctx for relayed' is being thrown. This means that the script is not on the downstream devices.
Comparing the security fabric config on the downstream devices, the "configuration-sync" option is set to local.
config system csf
The 'configuration-sync' option was changed from 'local' to 'default' on the downstream device and the script was run again.
FortiGate-61F # diagnose debug application autod -1 FortiGate-61F # diagnose debug enable FortiGate-61F # __action_cli_script_open()-186: cli script action:IPblocked is called. svc ctx:0x9dbbc00 __cli_script_close()-121: cli script: ======= end of #1, 2024-12-24 03:35:43 ======
======= end of #1, 2024-12-24 03:35:43 ======
The same error is no longer seen in the debug, and if the banned list is checked on the downstream device, the object was created successfully.
|
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.