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

Disable AWS and GCE fingerprinting via environment variables #488

Merged
merged 1 commit into from
Nov 24, 2015

Conversation

maximilize
Copy link

When setting AWS_ENV_URL or GCE_ENV_URL to disabled fingerprinting of this services is completely disabled.

Additionally, what do you think about moving this two variables to the config file?

@dadgar
Copy link
Contributor

dadgar commented Nov 22, 2015

Can you explain why you want this behavior?

@maximilize
Copy link
Author

I think a service sould call any 3rd party service only when it really have to. The decision if the calls will be made should be left by the operator.

@dadgar
Copy link
Contributor

dadgar commented Nov 23, 2015

Fair enough, if you'd like to implement this behavior can you please do it similar to #473. It should be disabled through the config not environment variables.

@maximilize
Copy link
Author

Allright, I added the option fingerprint.blacklist since there are many core fingerprint modules that should not be disabled.

@@ -451,10 +451,30 @@ func (c *Client) setupNode() error {
return nil
}

func (c *Client) compileOptionsList(key string) (map[string]struct{}, bool) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove this method. Doesn't look like it is being used?

@maximilize
Copy link
Author

I pushed the desired code changes and switched to a whitelist. However, travis fails but I can't see why.
I will have a closer look at this later.

@dadgar
Copy link
Contributor

dadgar commented Nov 24, 2015

Nice! Thanks @max0d41

dadgar added a commit that referenced this pull request Nov 24, 2015
Disable AWS and GCE fingerprinting via environment variables
@dadgar dadgar merged commit 4ec43f4 into hashicorp:master Nov 24, 2015
benbuzbee pushed a commit to benbuzbee/nomad that referenced this pull request Jul 21, 2022
Adds metrics suggested in hashicorp#488, to record the percentage of time the
main and FSM goroutines are busy with work vs available to accept new
work, to give operators an idea of how close they are to hitting
capacity limits.
@github-actions
Copy link

github-actions bot commented May 2, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants