Skip to content

snmp and telemetry services are not delayed on fast-boot/warm-boot #5172

@stepanblyschak

Description

@stepanblyschak

Description
snmp and telemetry services are not delayed on fast-boot and warm-boot

Steps to reproduce the issue:

  1. sudo fast-reboot
  2. docker ps

Describe the results you received:
snmp and telemetry are started togather with other services

admin@r-anaconda-10:~$ docker ps
CONTAINER ID        IMAGE                                COMMAND                  CREATED             STATUS              PORTS               NAMES
c1539d7602f9        docker-sonic-telemetry:latest        "/usr/bin/supervisord"   16 hours ago        Up 38 seconds                           telemetry
913a354ee90c        docker-snmp-sv2:latest               "/usr/bin/supervisord"   16 hours ago        Up 32 seconds                           snmp
fff468dc705e        docker-sonic-mgmt-framework:latest   "/usr/bin/supervisord"   16 hours ago        Up 43 seconds                           mgmt-framework
b589b7912876        docker-lldp-sv2:latest               "/usr/bin/docker-lld…"   16 hours ago        Up 43 seconds                           lldp
c1d50a85e776        docker-router-advertiser:latest      "/usr/bin/supervisord"   16 hours ago        Up 43 seconds                           radv
92f0b9833fa1        docker-dhcp-relay:latest             "/usr/bin/docker_ini…"   16 hours ago        Up 43 seconds                           dhcp_relay
eb7ee84b2518        docker-platform-monitor:latest       "/usr/bin/docker_ini…"   16 hours ago        Up 43 seconds                           pmon
c730d3a7c74c        docker-syncd-mlnx:latest             "/usr/bin/supervisord"   16 hours ago        Up 45 seconds                           syncd
4c075b551347        docker-teamd:latest                  "/usr/bin/supervisord"   16 hours ago        Up 58 seconds                           teamd
6663e535ac05        docker-orchagent:latest              "/usr/bin/supervisord"   16 hours ago        Up 59 seconds                           swss
c631646063d4        docker-fpm-frr:latest                "/usr/bin/supervisord"   16 hours ago        Up About a minute                       bgp
7c5ce75ee689        docker-database:latest               "/usr/local/bin/dock…"   16 hours ago        Up About a minute                       database
admin@r-anaconda-10:~$ uptime
 15:26:29 up 1 min,  1 user,  load average: 3.95, 1.26, 0.45

Describe the results you expected:
snmp and telemetry started after 3 minutes delay

Additional information you deem important (e.g. issue happens only occasionally):

**Output of `show version`:**
SONiC Software Version: SONiC.201911.166-ef88181c
Distribution: Debian 9.13
Kernel: 4.9.0-11-2-amd64
Build commit: ef88181c
Build date: Wed Aug 12 06:13:12 UTC 2020
Built by: johnar@jenkins-worker-8

Platform: x86_64-mlnx_msn3700c-r0
HwSKU: ACS-MSN3700C
ASIC: mellanox
Serial Number: MT1852X03894
Uptime: 15:24:08 up  9:41,  1 user,  load average: 0.58, 0.65, 0.67

Docker images:
REPOSITORY                    TAG                   IMAGE ID            SIZE
docker-syncd-mlnx             201911.166-ef88181c   5b41d47fe77b        391MB
docker-syncd-mlnx             latest                5b41d47fe77b        391MB
docker-sonic-telemetry        201911.166-ef88181c   2fe9db580db9        352MB
docker-sonic-telemetry        latest                2fe9db580db9        352MB
docker-router-advertiser      201911.166-ef88181c   88c558dea70c        289MB
docker-router-advertiser      latest                88c558dea70c        289MB
docker-sonic-mgmt-framework   201911.166-ef88181c   8d5581b4f1b3        429MB
docker-sonic-mgmt-framework   latest                8d5581b4f1b3        429MB
docker-platform-monitor       201911.166-ef88181c   65352dcb634e        658MB
docker-platform-monitor       latest                65352dcb634e        658MB
docker-fpm-frr                201911.166-ef88181c   0aa24139ea02        333MB
docker-fpm-frr                latest                0aa24139ea02        333MB
docker-sflow                  201911.166-ef88181c   c2d526df6d96        313MB
docker-sflow                  latest                c2d526df6d96        313MB
docker-lldp-sv2               201911.166-ef88181c   5830e760520f        310MB
docker-lldp-sv2               latest                5830e760520f        310MB
docker-dhcp-relay             201911.166-ef88181c   f8cc5ae4d225        299MB
docker-dhcp-relay             latest                f8cc5ae4d225        299MB
docker-database               201911.166-ef88181c   fbd3fa3beb17        289MB
docker-database               latest                fbd3fa3beb17        289MB
docker-teamd                  201911.166-ef88181c   78719a240419        313MB
docker-teamd                  latest                78719a240419        313MB
docker-snmp-sv2               201911.166-ef88181c   b851e3e22aba        347MB
docker-snmp-sv2               latest                b851e3e22aba        347MB
docker-orchagent              201911.166-ef88181c   7f063430b1be        331MB
docker-orchagent              latest                7f063430b1be        331MB
docker-nat                    201911.166-ef88181c   84a538af813e        315MB
docker-nat                    latest                84a538af813e        315MB
**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions