Description

This article details the steps to perform when you encounter the "/etc/config//junos-defaults.conf:46:(1) error recovery ignores input until this point: }" error message when executing a configuration commit.

Symptoms

After making configuration changes on a QFX device, you may observe that the commit check succeeds, but the commit fails with the error message "/etc/config//junos-defaults.conf:46:(1) error recovery ignores input until this point: }".

Further, you may or may not see a spike in the mgd process.

 

Example

Device#commit check
configuration check succeeds

Device # commit and-quit
/etc/config//junos-defaults.conf:14:(6) syntax error: groups
[edit]
'groups {'
syntax error
/etc/config//junos-defaults.conf:46:(1) error recovery ignores input until this point: }
[edit]
'}'
error recovery ignores input until this point

 

MGD Process CPU Utilization

Device> show system processes extensive no-forwarding |match mgd
45164 root 88 0 477M 35328K CPU0 0 26.5H 54.05% mgd
45645 root 87 0 477M 35016K RUN 1 25.6H 52.10% mgd
46392 root 87 0 477M 35016K RUN 1 24.3H 51.07% mgd
54168 root 87 0 477M 35488K RUN 1 808:17 50.39% mgd

Solution

To resolve the error, perform the following steps:

 

Step 1

  1. If the utilization stays high consistently, manually end the MGD processes to bring down the CPU utilization.

>start shell user root >> the PIDs are taken from the example provided in the Symptom section
kill -9 45164
kill -9 45645
kill -9 46392
kill -9 54168
  1. Check whether the utilization is reducing, and then proceed with committing the changes.

If the errors persist or mgd spike is not seen with this commit errors, proceed with Step 2.

 

Step 2

  1. Re-initialize the mgd process by issuing the following shell command:
% mgd -I
  1. Proceed with committing the changes, and then verify that the commit is successful.

If the above step does not solve the issue, contact Support for a detailed analysis.

Modification History

2023-06-15: For some cases, mgd spike may not be seen, added those details