Skip to content

azure-vnet.json.lock left with corresponding azure-vnet.exe missing #364

@zhiweiv

Description

@zhiweiv

Is this an ISSUE or FEATURE REQUEST? (choose one):
ISSUE


Which release version?:
1.0.18


Which component (CNI/IPAM/CNM/CNS):
CNI


Which Operating System (Linux/Windows):
Windows
10.0.17763.194 (WinBuild.160101.0800)


Which Orchestrator and version (e.g. Kubernetes, Docker)
k8s 1.14.1


What happened:
Sometimes I found azure-vnet.json.lock left which blocked all following cni requets, it's owner azure-vnet.exe didn't exist.

C:\k>type azure-vnet.json.lock
10776
C:\k>tasklist | findstr "azure"
azure-vnet.exe                5508 Services                   0      8,568 K
azure-vnet.exe               27892 Services                   0      8,484 K
azure-vnet.exe                7744 Services                   0      8,296 K
azure-vnet.exe                6952 Services                   0      8,380 K

What you expected to happen:
azure-vnet.exe should delete the lock file when it exits in any condition.


How to reproduce it (as minimally and precisely as possible):
Unable to find the reproduce steps, it happens randomly.

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