Support Support Downloads Knowledge Base Apex Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[MX] Sampling process fails to turn on when a new inline-jflow configuration is committed

0

0

Article ID: KB34669 KB Last Updated: 29 Jun 2019Version: 1.0
Summary:

In a rare case, jlaunchd fails to turn on sampling process when a new configuration related to inline-jflow configuration is pushed. The commit completes but "show system process extensive" does not list sampling.

Symptoms:

The commit is successful, but the following error is reported in the log:

Apr  3 12:10:39  r1 mgd[57131]: %INTERACT-6-UI_COMMIT_PROGRESS: Commit operation in progress: cannot signal 'Traffic sampling control process', signal 1, no pid
Apr  3 12:10:39  r1 mgd[57131]: %INTERACT-6-UI_COMMIT_PROGRESS: Commit operation in progress:  notifying rmopd(25)

Also, 'show system process extensive' does not list the samplings.

Cause:

In a rare case, jlaunchd fails to turn on the sampling process when a new configuration related to inline-jflow configuration is pushed.

This can happen if multiple mgd sessions are running and the sampling is turned on for the first time.

Below is an example of the new inline-jlfow configuration which causes the issue:

[edit groups]
  ABC { ... }
  IFCS-SAMPLING {
      interfaces {
          <ae*> {
              unit <*> {
                  family mpls {
                      filter {
                          input MPLS-SAMPLE;
                          output MPLS-SAMPLE;
                      }
                  }
              }
          }
      }
  }
[edit chassis]
  apply-groups [ FPCS-SAMPLING-TABLE-SIZE FPCS-SAMPLING-INSTANCE ];
[edit]
  services {
      flow-monitoring {
          version-ipfix {
              template INLINE-FLOW-MPLS-TEMPL {
                  mpls-ipv4-template {
                      label-position [ 1 2 3 ];
                  }
              }
          }
      }
  }
[edit interfaces]
  apply-groups IFCS-SAMPLING;
[edit forwarding-options]
   sampling {
       instance {
           INLINE-FLOW {
               input {
                   rate 5000;
                   run-length 0;
                   max-packets-per-second 20000;
               }
               family mpls {
                   output {
                       flow-server 142.95.80.91 {
                           port 9996;
                           version-ipfix {
                               template {
                                   INLINE-FLOW-MPLS-TEMPL;
                               }
                           }
                       }
                       inline-jflow {
                           source-address 142.93.140.13;
                       }
                   }
               }
           }
       }
   }
[edit firewall]
    family mpls {
        filter MPLS-SAMPLE {
            term default {
                then {
                    count mpls-in;
                    sample;
                    accept;
                }
            }
        }
    }
Solution:

The issue is recovered by executing 'commit full'.

The following logs appear when the new process is initiated after the 'commit full'.

Apr  3 14:14:59  man50-br-cor-r2 mgd[56110]: %INTERACT-6-UI_COMMIT_PROGRESS: Commit operation in progress: cannot signal 'Traffic sampling control process', signal 1, no pid
Apr  3 14:14:59  man50-br-cor-r2 mgd[56110]: %INTERACT-6-UI_COMMIT_PROGRESS: Commit operation in progress: signaling 'Sampling route record process', pid 56606, signal 1, status 0 with notification errors disabled 

 
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search