aws / aws/amazon-ssm-agent

Reporting wrong IP address on Win2016 with Containers

Open
#27 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
1.2k
Forks
357
PR merge metrics
No merged PRs in 30d

Description

The following screenshot shows the SSM agent reporting a misleading IP address for managed instances running AMI `Windows_Server-2016-English-Full-Containers-2016.11.09`. The reported IP address is that of the internal Docker NIC rather than the expected instance IP. See also attached `ipconfig` output.

```
Ethernet adapter Ethernet:

Connection-specific DNS Suffix . : ap-southeast-2.compute.internal
Link-local IPv6 Address . . . . . : fe80::c953:eeef:a09:6818%5
IPv4 Address. . . . . . . . . . . : 10.130.16.64
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.130.16.1

Ethernet adapter vEthernet (HNS Internal NIC):

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::34cd:72e2:43db:a2b8%2
IPv4 Address. . . . . . . . . . . : 172.26.192.1
Subnet Mask . . . . . . . . . . . : 255.255.240.0
Default Gateway . . . . . . . . . :
```

screen shot 2016-11-21 at 10 06 24 am

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the report on AMI Windows_Server-2016-English-Full-Containers-2016.11.09 and compare the SSM agent's reported address with the attached ipconfig output. Trace how the agent selects the instance IP versus the Docker HNS Internal NIC, and consider the issue done when it consistently reports the expected instance address.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.