Description

When the em0 interface flaps on the primary Routing Engine (RE) in MX Series routers, it can trigger a primary role switchover followed by an auto commit to sync the new primary RE's configuration to the previous primary RE. This event results in the " UI_EPHEMERAL_COMMIT: User 'root' has requested commit on 'junos-analytics' ephemeral database " syslog message.

This article clarifies that the message is for information purposes only and it can be safely ignored.

Symptoms

If the em0 interface flaps on the primary RE, an RE role switchover occurs and the following log messages can be seen from the RE:

MX# run show log messages | match root | last

Aug 24 17:33:41.425  router-re0 mgd[14894]: UI_EPHEMERAL_COMMIT: User 'root' has requested commit on 'junos-analytics' ephemeral database
Aug 24 17:33:42.135  router-re0 mgd[14920]: UI_EPHEMERAL_COMMIT: User 'root' has requested commit on 'junos-analytics' ephemeral database
Aug 24 17:33:43.284  router-re0 mgd[14962]: UI_EPHEMERAL_COMMIT: User 'root' has requested commit on 'junos-analytics' ephemeral database
Aug 24 17:33:44.943  router-re0 mgd[15007]: UI_EPHEMERAL_COMMIT: User 'root' has requested commit on 'junos-analytics' ephemeral database

Solution

This is expected behavior when the em0 interface flaps. The flap will trigger a primary role switchover on the RE followed by an automatic configuration sync from the new primary RE to the new backup RE.

Example

{MASTER}[edit]
MX # show logical-systems
Aug 24 17:33:07
r1   <<<  commit no-sync before em0 flap

{BACKUP}[edit]
MX # show logical-systems
Aug 24 17:32:56 <<<RE1 does not have such configuration</span>.
 
MX > start shell
MX :~ # ifconfig em0 down
MX :~ # <<< This emulates em0 interface flap.
 
MX # run show log messages | match root | last
Aug 24 17:33:41.425  router-re0 mgd[14894]: UI_EPHEMERAL_COMMIT: User 'root' has requested commit on 'junos-analytics' ephemeral database
Aug 24 17:33:42.135  router-re0 mgd[14920]: UI_EPHEMERAL_COMMIT: User 'root' has requested commit on 'junos-analytics' ephemeral database
Aug 24 17:33:43.284  router-re0 mgd[14962]: UI_EPHEMERAL_COMMIT: User 'root' has requested commit on 'junos-analytics' ephemeral database
Aug 24 17:33:44.943  router-re0 mgd[15007]: UI_EPHEMERAL_COMMIT: User 'root' has requested commit on 'junos-analytics' ephemeral database <<< RE switchover happened and the above log messages can be seen. This indicates a commit sync from RE1(new primary RE) to RE0(new backup RE).
 
{BACKUP}[edit]
MX # show logical-systems | display set
Aug 24 17:34:55

{BACKUP}[edit]
MX # <<< After em0 flap and RE role switchover, RE1's configuration is synced to RE0. We do not see logical-system r1 anymore from RE0.

This is expected behavior. The log messages are informational and only indicate the commit action after configuration sync between the two REs. No action is required.