Description

Every time the switches get rebooted, they lose connectivity to Mist Cloud. Manual intervention is required and customer noticed the configuration fails to get applied.

Symptoms

Following logs are observed in the CLI at the time of the reboot:

Creating initial configuration: ...
[edit chassis fpc 0 pic 0 port 0 speed]
 'speed 1G'
   warning: 1g config will be applied to ports 0 to 3
 
mgd: error: Cannot read configuration: Database is already open
mgd: error: configuration check-out failed
Warning: Failed to commit active configuration.
Warning: Trying to commit recovery mode configuration.
[edit chassis fpc 0 pic 0 port 0 speed]
 'speed 1G'
   warning: 1g config will be applied to ports 0 to 3
 
mgd: error: Cannot read configuration: Database is already open
mgd: error: configuration check-out failed
Warning: Commit failed, activating partial configuration.
Warning: Edit the router configuration to fix these errors.
@ 1739886201 [2025-02-18 13:43:21 UTC] mgd done

Solution

This is behavior is due to a bug caused by specific configuration. Following PR has the fix:

https://prsearch.juniper.net/problemreport/PR1663590

Modification History

2025-02-21 : Article Created