Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[BUG] agent does not add default route #1439
Describe the bug
Adding the walinuxagent into our linux vm image does not help it come up with a working network.
Of course, please ignore the docker route (that is added by the docker daemon that runs in the instance). Clearly, there is no default route seen. If I manually add the default route, things work fine.
On further reading, it appears as though the walinuxagent is responsible for some setup of networking on the VMs. So I went ahead and added the debian pkg (downloaded from azure.archive.ubuntu.com) and also set it up so that its dependencies were met.
I went ahead and disabled all the knobs in its config (
The lease file contains:
Now, it appears as though the walinux agent itself relies on connectivity to the server in the lease file. So I'm not sure what is causing this cyclic dependency (walinux needs network, but walinux is responsible for setting up default route so that network works correctly?)
Help understanding this would be much appreciated.