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

getaddrinfo: Name does not resolve while running from inside Kubernetes #60

Open
trizvanov opened this issue Jul 31, 2018 · 0 comments
Open

Comments

@trizvanov
Copy link

As of version 0.3.18, I've started seeing a following error while using the gem from inside Kubernetes:

ERROR: HTTP::ConnectionError: failed to connect: getaddrinfo: Name does not resolve
	
/usr/local/bundle/gems/http-1.0.4/lib/http/connection.rb:41:in `rescue in initialize'
	
/usr/local/bundle/gems/http-1.0.4/lib/http/connection.rb:25:in `initialize'
	
/usr/local/bundle/gems/http-1.0.4/lib/http/client.rb:63:in `new'
	
/usr/local/bundle/gems/http-1.0.4/lib/http/client.rb:63:in `perform'
	
/usr/local/bundle/gems/http-1.0.4/lib/http/client.rb:44:in `request'
	
/usr/local/bundle/gems/http-1.0.4/lib/http/chainable.rb:26:in `post'
	
/usr/local/bundle/gems/miasma-aws-0.3.22/lib/miasma/contrib/aws.rb:796:in `make_request'
	
/usr/local/bundle/gems/miasma-0.3.4/lib/miasma/types/api.rb:124:in `block in request'
	
/usr/local/bundle/gems/bogo-0.2.12/lib/bogo/retry.rb:65:in `run!'
	
/usr/local/bundle/gems/miasma-0.3.4/lib/miasma/types/api.rb:148:in `retryable_request'
	
/usr/local/bundle/gems/miasma-0.3.4/lib/miasma/types/api.rb:123:in `request'
	
/usr/local/bundle/gems/miasma-aws-0.3.22/lib/miasma/contrib/aws/orchestration.rb:507:in `stack_template_validate'
	
/usr/local/bundle/gems/miasma-0.3.4/lib/miasma/models/orchestration/stack.rb:219:in `perform_template_validate'
	
/usr/local/bundle/gems/miasma-0.3.4/lib/miasma/models/orchestration/stack.rb:82:in `validate'
	
/usr/local/bundle/gems/sfn-3.0.32/lib/sfn/command/validate.rb:65:in `block in validate_stack'
	
/usr/local/bundle/gems/sfn-3.0.32/lib/sfn/command_module/callbacks.rb:20:in `api_action!'
	
/usr/local/bundle/gems/sfn-3.0.32/lib/sfn/command/validate.rb:64:in `validate_stack'
	
/usr/local/bundle/gems/sfn-3.0.32/lib/sfn/command/validate.rb:24:in `execute!'
	
/usr/local/bundle/gems/sfn-3.0.32/bin/sfn:52:in `block (4 levels) in <top (required)>'
	
/usr/local/bundle/gems/bogo-cli-0.2.14/lib/bogo-cli/setup.rb:26:in `block in bogo_cli_run'
	
/usr/local/bundle/gems/slop-3.6.0/lib/slop.rb:260:in `parse!'
	
/usr/local/bundle/gems/slop-3.6.0/lib/slop.rb:235:in `parse!'
	
/usr/local/bundle/gems/slop-3.6.0/lib/slop.rb:65:in `parse!'
	
/usr/local/bundle/gems/slop-3.6.0/lib/slop.rb:54:in `parse'
	
/usr/local/bundle/gems/bogo-cli-0.2.14/lib/bogo-cli/setup.rb:48:in `define'
	
/usr/local/bundle/gems/sfn-3.0.32/bin/sfn:14:in `<top (required)>'
	
/usr/local/bundle/bin/sfn:23:in `load'
	
/usr/local/bundle/bin/sfn:23:in `<top (required)>'
	
/usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/cli/exec.rb:74:in `load'
	
/usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/cli/exec.rb:74:in `kernel_load'
	
/usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/cli/exec.rb:28:in `run'
	
/usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/cli.rb:424:in `exec'
	
/usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	
/usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
	
/usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
	
/usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/cli.rb:27:in `dispatch'
	
/usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
	
/usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/cli.rb:18:in `start'
	
/usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/exe/bundle:30:in `block in <top (required)>'
	
/usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
	
/usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/exe/bundle:22:in `<top (required)>'
	
/usr/local/bin/bundle:23:in `load'
	
/usr/local/bin/bundle:23:in `<main>'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant