Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
stepanblyschak opened this issue Aug 13, 2020 · 2 comments · Fixed by #5211
Closed

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

stepanblyschak opened this issue Aug 13, 2020 · 2 comments · Fixed by #5211
Assignees
Labels
Issue for 201911 P0 Priority of the issue Triaged this issue has been triaged

Comments

@stepanblyschak
Copy link
Collaborator

stepanblyschak commented Aug 13, 2020

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)
```
@stepanblyschak stepanblyschak changed the title snmp and telemetry services are not delayed on fast-boot snmp and telemetry services are not delayed on fast-boot/warm-boot Aug 14, 2020
@liat-grozovik
Copy link
Collaborator

Please note that SONiC.201911.142-52e45e82 for sure works better that the latest one.

@tahmed-dev
Copy link
Contributor

@liat-grozovik please have a look at PR:5211

@xinliu-seattle xinliu-seattle added the Triaged this issue has been triaged label Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue for 201911 P0 Priority of the issue Triaged this issue has been triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants