Skip to content

[warm-reboot] Warm reboot failed on T0 due to pending tasks #4049

@msosyak

Description

@msosyak

Description
warm-reboot command failed with following error:

admin@sonic:~$ sudo warm-reboot 
RESTARTCHECK failed
admin@sonic:~$ sudo cat /var/log/syslog 
* * * 
Jan 21 17:32:12.888204 cab18-2-dut INFO swss#orchagent_restart_check: :- subscribe: subscribed to RESTARTCHECKREPLY
Jan 21 17:32:12.888204 cab18-2-dut NOTICE swss#orchagent_restart_check: :- main: requested orchagent to do warm restart state check, retry count: 0
Jan 21 17:32:12.888366 cab18-2-dut NOTICE swss#orchagent: :- doTask: RESTARTCHECK notification for orchagent 
Jan 21 17:32:12.888366 cab18-2-dut NOTICE swss#orchagent: :- doTask: orchagent|NoFreeze:false|SkipPendingTaskCheck:false
Jan 21 17:32:12.888530 cab18-2-dut NOTICE swss#orchagent: :- warmRestartCheck: WarmRestart check found pending tasks: 
Jan 21 17:32:12.888530 cab18-2-dut NOTICE swss#orchagent: :- warmRestartCheck:     ROUTE_TABLE:10.1.0.1|SET|nexthop:0.0.0.0|ifname:Loopback0
Jan 21 17:32:12.888530 cab18-2-dut NOTICE swss#orchagent: :- warmRestartCheck: Restart check result: NOT_READY
Jan 21 17:32:12.888652 cab18-2-dut NOTICE swss#orchagent_restart_check: :- main: RESTARTCHECK failed, orchagent is not ready for warm restart with status NOT_READY
Jan 21 17:32:18.735294 cab18-2-dut INFO swss#orchagent: :- addRoute: Failed to get next hop 0.0.0.0@Loopback0 for 10.1.0.1/32
* * * 

Steps to reproduce the issue:

  1. deploy t0 topology
  2. run warm-reboot command

Describe the results you received:
The switch is not rebooted

Describe the results you expected:
The switch should do a warm reboot

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

Output of show version:

admin@sonic:~$ show version 

SONiC Software Version: SONiC.HEAD.543-dirty-20200121.042134
Distribution: Debian 9.11
Kernel: 4.9.0-9-2-amd64
Build commit: d0d1a559
Build date: Tue Jan 21 05:52:57 UTC 2020
Built by: johnar@jenkins-worker-12
**Attach debug file `sudo generate_dump`:**

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions