This article describes a specific issue where users are unable to commit any configuration changes on SRX clusters that are being managed by JUNOS Space. A workaround and permanent fix are also provided.
On SRX clusters that are managed using JUNOS Space, users may encounter an issue where any configuration changes fail at commit with an error similar to the following:
user@fw01# commit node0: node1: error: configuration database locked by: root terminal (pid 2144) on since 2014-07-23 09:56:23 EST exclusive Users currently editing the configuration: root (pid 2144) on since 2014-07-23 09:56:23 EST exclusive node0: error: remote lock-configuration failed on node1 note: consider using 'commit synchronize force' to terminate remote edit sessions and force the commit
Even after attempting a "commit synchronize force", the commit fails. The user is unable to rollback any changes either.
An SRX cluster acts like one virtual chassis with 2 REs (Routing-Engines). At any given time, one RE is primary and the other RE is standby. When Junos Space is used to manage such a cluster, it views the SRX cluster exactly as intended and automatically configures the statement ‘set system commit synchronize’ so that any configuration changes can be synchronized between the 2 REs. However, this command is not supported on the SRX Series (either High-End or Branch). Therefore, in any subsequent configuration changes, the SRX tries to synchronize the configuration between the RE on node0 and the RE on node1 but fails. Due to this, the user is unable to commit any new configuration changes or delete the command ‘set system commit synchronize’ either. This was not an issue in JUNOS OS versions 11.4 and earlier since the SRX ignored the configuration statement. However, a change was made and the SRX tries to take action on the configured statement, causing the issue.
user@fw01> edit user@fw01# save config_1234
config_1234
commit synchronize
user@fw01> start shell user root Password: root@fw01% gzip config_1234
root@fw01% cp config_1234.gzip juniper.conf.gz
root@fw01% mgd -I