Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ec2metadata CLI as an EC2 detection method #787

Merged
merged 1 commit into from
Apr 1, 2016

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Mar 31, 2016

It's not a reliable detection method

It's not a reliable detection method
@tas50
Copy link
Contributor Author

tas50 commented Apr 1, 2016

@chef/client-core This is ready for review

@thommay
Copy link
Contributor

thommay commented Apr 1, 2016

👍

@btm
Copy link
Contributor

btm commented Apr 1, 2016

rackspace only "looked like ec2" because it had /usr/bin/ec2metadata?

I presume this change is unreliable because other systems had /usr/bin/ec2metadata for some kind of compatibility. If that's the case, 👍

@tas50
Copy link
Contributor Author

tas50 commented Apr 1, 2016

ec2metadata is on everything actually. It was a bad marker for EC2

@tas50 tas50 merged commit af29132 into chef:master Apr 1, 2016
@tas50 tas50 deleted the gce_fix branch April 1, 2016 16:23
@tas50 tas50 added the Bug label Apr 4, 2016
@twmb
Copy link

twmb commented Apr 8, 2016

How soon will a patch including this be released? Any logic revolving around which cloud provider you are on will short circuit if ec2 is listed first.

@tas50
Copy link
Contributor Author

tas50 commented Apr 8, 2016

Very soon is the most precise answer I can give you right now

@tas50 tas50 changed the title Remove ec2metadata CLI as a EC2 detection method Remove ec2metadata CLI as an EC2 detection method Apr 8, 2016
@thommay thommay added Type: Bug Does not work as expected. and removed Bug labels Jan 24, 2017
@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug Does not work as expected.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants