-
Notifications
You must be signed in to change notification settings - Fork 655
wget is broken against AWS metadata #2216
Comments
Workaround here: andrew-d/static-binaries#19 |
Sorry, I cannot reproduce, here are my steps.
|
I'm seeing this too on some of our instances launched in AWS via spotinst, which is preventing deployment of this version. I think it has to do with instance type - try reproducing on an m5.2xlarge in us-east-1
The m5 class requires the sriovNetSupport, maybe something there is horked. |
@sra All of my v1.1.3 instances are m5.larges so that tracks. My static wget works fine. |
@sra Cool! Nice find. I will track this. |
It should be a bug for
|
Excellent - so a workaround for 1.1.3 is to use a different console from cloud init...
Works fine for me now. |
Tested with rancheros v1.2.0-rc2. It can work on an instance of m5.larges
|
RancherOS Version: (ros os version)
v1.1.3
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
AWS
The command in question is:
wget -O - -q http://169.254.169.254/latest/meta-data/local-ipv4
On v1.0.4 this returns the instance ip.
On v1.1.3 I get
wget: error getting response
.Using
docker run -it --rm jess/httpie http://169.254.169.254/latest/meta-data/local-ipv4
returns the correct ip from a v1.1.3 instance showing that it's not a network issue.Both v1.0.4 and v1.1.3 report using busybox v1.26.2 but I'm unfamiliar with the busybox build options.
Edit: I'm trying to run this from
start.sh
to set up some firewall rules before docker is up.The text was updated successfully, but these errors were encountered: