Closed malnick closed 7 years ago
@joerg84 Are you comfortable with this?
On dc/os this problem is resolved by dc/os installation process which installs certain files to resolve ips in cloud envs (azure and aws). For example: https://github.com/dcos/dcos/blob/64dbda9e80a70a3a7fb5d5ab45c439c7a71904c6/gen/ip-detect/aws.sh If you do an installation manually then you need to take care all of these on your own check aws cloudformation setup as thigns work smoothly there.
As discussed with Jeff (problem was in the host configuration)
This PR fixes a bug on AWS where using
hostname
command returns theip-<redacted>
hostname. This hostname may not resolve properly in some cases. Use the ip-detect script instead.