Skip to content

[CNI Windows] Reboot logic should handle timezone update #947

@tamilmani1989

Description

@tamilmani1989

What happened:
Windows azure cni cleans up network ands state files on reboot. the reboot is detected based on comparing lastbootuptime and file modification time. If lastbootuptime is greater than file modification time, then cni considers as reboot and cleanup network and state files. In few cases, user updates timezone in machine which resulted in cni to detect reboot wrongly and cleanup network eventhough there is no reboot.

What you expected to happen:

How to reproduce it:

Orchestrator and Version (e.g. Kubernetes, Docker):
Kubernetes

Operating System (Linux/Windows):
Windows

Kernel (e.g. uanme -a for Linux or $(Get-ItemProperty -Path "C:\windows\system32\hal.dll").VersionInfo.FileVersion for Windows):

Anything else we need to know?:
[Miscellaneous information that will assist in solving the issue.]

Workaround for this issue: #879

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleStale due to inactivity.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions