Skip to content

docker-compose up -d doesn't work #46

@Antonytm

Description

@Antonytm

Steps to reproduce:

  1. Switch to master or develop branch
  2. Initialize environment .\init.ps1 -LicenseXmlFile c:\license\license.xml
  3. cd custom-images\docker
  4. Run .\clean.ps1 to make sure that there are no artifacts from previous times
  5. cd custom-images
  6. run docker-compose up -d

Expected result: containers up and running
Actual result:

Creating docker-examples_solr_1  ... done
Creating docker-examples_mssql_1 ... done
Creating docker-examples_mssql-init_1 ... done
Creating docker-examples_solr-init_1  ... done
Creating docker-examples_xconnect_1   ... done
Creating docker-examples_id_1         ... done
Creating docker-examples_cm_1         ... done
Creating docker-examples_hrz_1        ... done

ERROR: for traefik  Container "a544e3fe3ff7" is unhealthy.

ERROR: for xdbsearchworker  Container "6b2cc5dcc865" is unhealthy.

ERROR: for cortexprocessingworker  Container "6b2cc5dcc865" is unhealthy.

ERROR: for xdbautomationworker  Container "6b2cc5dcc865" is unhealthy.
ERROR: Encountered errors while bringing up the project.

I ignore traefik as it will be unhealthy if at least one container is unhealthy

Investigations:

  1. run docker logs 6b2cc5dcc865 (xdbsearchworker)

Error present in logs:

2022-01-18 10:30:59.886 +02:00 [Error] Health check "XConnect SolrCloud cluster live collection health check" completed after 26.9359ms with status Unhealthy and '"SolrCloud Cluster health check failed."
2022-01-18 10:32:00.534 +02:00 [Error] Health check "XConnect SolrCloud cluster live collection health check" completed after 1.8999ms with status Unhealthy and '"SolrCloud Cluster health check failed."'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions