Skip to content

ElasticSearch 7.6.0 container doesn't start on AWS ECS #52809

@Roberdvs

Description

@Roberdvs

Elasticsearch version: 7.6.0 Official Docker container

Plugins installed: none

Description of the problem including expected versus actual behavior:

ECS fails to start up an ElasticSearch 7.6.0 container. Tried several times in several ECS clusters with several ECS Agent versions (including the latest).
I also can confirm this doesn't happen with the Kibana 7.6.0 image or ElasticSearch 7.5.2.

Steps to reproduce:

  1. Create an ECS service using a minimal task definition with the docker.elastic.co/elasticsearch/elasticsearch:7.6.0 container image

  2. Tasks fail to start with the following error
    ERROR: File /opt/ecs/metadata/eaa62b4d-c24e-4791-8be3-1e3f9f4dc768/ecs-container-metadata.json from ECS_CONTAINER_METADATA_FILE must have file permissions 400 or 600, but actually has: 644

Not sure if this belongs on AWS ECS or Elastic but since previous ElasticSearch releases didn't have this issue I guess something must have changed on the 7.6.0 Docker image so I'm posting it here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Delivery/PackagingRPM and deb packaging, tar and zip archives, shell and batch scriptsTeam:DeliveryMeta label for Delivery team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions