How to resolve commit issues due to configuration lock on SRX clusters managed by JUNOS Space

Resolve commit issues due to configuration lock on SRX clusters managed by JUNOS Space.

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:

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.

See related KB articles that discuss other causes:

  • KB27800 – [SRX] How to resolve “error: remote lock-configuration failed on node” in SRX chassis cluster.
  • KB30517 – Commit fails after adding CRM on SRX3400 and SRX3600

This issue was fixed under PR1134072. The fix is available in Junos versions 12.1X46-D50, 12.1X47-D40, 12.3X48-D30, 15.1X49-D40 and later.

Since the user is unable to make any further configuration changes, the least disruptive workaround involves Junos configuration files.

To manually resolve the issue:
1.Save the current configuration to a file:

2.FTP the file config_1234 to a PC.

3.Using a text editor, open file config_1234 and delete “commit synchronize” from under the system hierarchy. Then save the file.

4.FTP the modified file config_1234 back to the SRX.

5.From the shell mode, gzip the file config_1234:

6.Copy the configuration archive to the JUNOS configuration file:

7.Re-initialize the management daemon:

The active configuration on the SRX now should be the modified configuration and the user will be able to make configuration changes and commit.

About the author

James Palmer

Leave a Comment