Code Monkey home page Code Monkey logo

Comments (15)

lowenna avatar lowenna commented on July 21, 2024

@pradipd PTAL.

from hcsshim.

pradipd avatar pradipd commented on July 21, 2024

Investigating.

from hcsshim.

benmoss avatar benmoss commented on July 21, 2024

I just ran into this too, GCE uses a link-local address for their metadata server.

from hcsshim.

benmoss avatar benmoss commented on July 21, 2024

@jhowardmsft @pradipd any word on this? We have a slightly different set of steps to reproduce the issue:

The metadata server resolves to a link-local IP, which is what makes us think it's the same underlying issue.

from hcsshim.

benmoss avatar benmoss commented on July 21, 2024

We discovered a workaround for this. If we recreate the route that GCP adds to the original network interface to the new interface that the HNS network creates, the metadata server is reachable again.

route /p add 169.254.169.254 mask 255.255.255.255 0.0.0.0

This still seems like a bug though: the new interface shouldn't be losing these routes.

from hcsshim.

pjh avatar pjh commented on July 21, 2024

This problem is also affecting me and I agree with everything @benmoss has said. I'm using the suggested workaround of adding the route back after configuring HNS, the annoying part is that the removal of the route doesn't seem to happen immediately after configuring HNS, there's some delay. The dance that I'm doing can be seen at https://github.com/pjh/kubernetes/blob/c6b518afa564ef167b2490de271d1f7a4b801edb/cluster/gce/win1803/k8s-node-setup.psm1#L708.

from hcsshim.

pradipd avatar pradipd commented on July 21, 2024

Adding @daschott as an FYI.

from hcsshim.

daschott avatar daschott commented on July 21, 2024

Ack, this issue of routes not being migrated after HNS network creation is on our consolidated bug list for root-causing.

from hcsshim.

pjh avatar pjh commented on July 21, 2024

Hi @daschott, is this going to be looked at any time soon? This is still pretty painful for us and waiting for the route to be removed so that we can re-add it (see my comment above) is a significant source of delay when we're joining Windows nodes to Kubernetes clusters.

cc @PatrickLang @yujuhong @dineshgovindasamy

from hcsshim.

pradipd avatar pradipd commented on July 21, 2024

Adding @mkostersitz as an FYI

from hcsshim.

mkostersitz avatar mkostersitz commented on July 21, 2024

thanks for the add @pradipd @pjh let me catch up on this and get back to you while @daschott is out of the office for a while.

from hcsshim.

pradipd avatar pradipd commented on July 21, 2024

In AWS and GCE, is there a route added to reach 169.254.169.253? If so, is the route added manually or through DHCP.

from hcsshim.

pradipd avatar pradipd commented on July 21, 2024

@ankeesler: Where is this configuration?
"In AWS there is a configuration option to add this address to the list of DNS resolvers for the public ethernet interface."

from hcsshim.

benmoss avatar benmoss commented on July 21, 2024

At least on GCE this is the script that adds the route: https://github.com/GoogleCloudPlatform/compute-image-windows/blob/22bd7e2701da9dc6bd931711cbb39c36a1d81df1/sysprep/instance_setup.ps1#L126

from hcsshim.

jeremyje avatar jeremyje commented on July 21, 2024

Is there a better workaround than simply waiting for 45 seconds? Is there a way to deterministically check if the data transfer has completed?

from hcsshim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.