We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
HostPort not present in ECS Task Metadata Endpoint response with bridge network type
I have a Task with bridge network type. When executing
curl $ECS_CONTAINER_METADATA_URI_V4/task
I see that host port is missing in response, however I can find it when reading ECS_CONTAINER_METADATA_FILE
Host port is also present in Endpoint response
Host port is missing
ECS Agent version: 1.39.0
The text was updated successfully, but these errors were encountered:
Could you please send the task definition(json file) to ecs-agent-external at amazon.com?
Sorry, something went wrong.
Thanks for the information @MartinMitro . This has been identified as a bug in agent where ports for metadata http response comes from
amazon-ecs-agent/agent/api/container/container.go
Line 143 in 3776bee
Line 248 in 3776bee
This is fixed in agent 1.41.1 Please update to latest version, and if you still find issue let us know. Thanks.
No branches or pull requests
Summary
HostPort not present in ECS Task Metadata Endpoint response with bridge network type
Description
I have a Task with bridge network type. When executing
curl $ECS_CONTAINER_METADATA_URI_V4/task
I see that host port is missing in response, however I can find it when reading ECS_CONTAINER_METADATA_FILE
Expected Behavior
Host port is also present in Endpoint response
Observed Behavior
Host port is missing
Environment Details
ECS Agent version: 1.39.0
The text was updated successfully, but these errors were encountered: