Netflix / lemur-docker

Docker files for the Lemur certificate orchestration tool
170 stars 88 forks source link

netlix-lemur:latest (unhealthy) #62

Closed Lauenburg closed 3 years ago

Lauenburg commented 3 years ago

Issue:

Lemur-docker container state unhealthy. The website at https://localhost:447 is not reachable.

Reproduce:

Cloning the repo:

git clone git@github.com:Netflix/lemur-docker.git

entering the repo:

cd lemur-docker

and run make.

Details

The docker-compose up command triggered by the make file finishes with: image

Running a docker ps right afterwards: image

Giving the container two more minutes: image

jtschladen commented 3 years ago

@Lauenburg can you please share some logs from the container? Try running docker logs lemur-docker_lemur_1 to get them.

Lauenburg commented 3 years ago

@jtschladen Thanks for the response! Here the log:

2021-04-26 13:58:13,406 INFO supervisord started with pid 1
2021-04-26 13:58:13,406 INFO supervisord started with pid 1
2021-04-26 13:58:14,409 INFO spawned: 'lemur' with pid 61
2021-04-26 13:58:14,409 INFO spawned: 'lemur' with pid 61
2021-04-26 13:58:14,412 INFO spawned: 'lemur-celery' with pid 62
2021-04-26 13:58:14,412 INFO spawned: 'lemur-celery' with pid 62
2021-04-26 13:58:15,414 INFO success: lemur entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-04-26 13:58:15,414 INFO success: lemur entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-04-26 13:58:15,414 INFO success: lemur-celery entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-04-26 13:58:15,414 INFO success: lemur-celery entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
[2021-04-26 13:58:17,148] WARNING in managers: Plugin 'DigiCertCISIssuerPlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertCISIssuerPlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
[2021-04-26 13:58:17,149] WARNING in managers: Plugin 'DigiCertCISSourcePlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertCISSourcePlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
[2021-04-26 13:58:17,149] WARNING in managers: Plugin 'DigiCertIssuerPlugin' may not work correctly. Required variable 'DIGICERT_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertIssuerPlugin' may not work correctly. Required variable 'DIGICERT_API_KEY' is not set in Lemur's conf.
[2021-04-26 13:58:17,150] WARNING in managers: Plugin 'EntrustIssuerPlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
Plugin 'EntrustIssuerPlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
[2021-04-26 13:58:17,150] WARNING in managers: Plugin 'EntrustSourcePlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
Plugin 'EntrustSourcePlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
[2021-04-26 13:58:17,254] WARNING in managers: Plugin 'DigiCertCISIssuerPlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertCISIssuerPlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
[2021-04-26 13:58:17,254] WARNING in managers: Plugin 'DigiCertCISSourcePlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertCISSourcePlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
[2021-04-26 13:58:17,255] WARNING in managers: Plugin 'DigiCertIssuerPlugin' may not work correctly. Required variable 'DIGICERT_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertIssuerPlugin' may not work correctly. Required variable 'DIGICERT_API_KEY' is not set in Lemur's conf.
[2021-04-26 13:58:17,255] WARNING in managers: Plugin 'EntrustIssuerPlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
Plugin 'EntrustIssuerPlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
[2021-04-26 13:58:17,256] WARNING in managers: Plugin 'EntrustSourcePlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
Plugin 'EntrustSourcePlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
[2021-04-26 13:58:17 +0000] [61] [INFO] Starting gunicorn 20.1.0
[2021-04-26 13:58:17 +0000] [61] [INFO] Listening at: http://0.0.0.0:8000 (61)
[2021-04-26 13:58:17 +0000] [61] [INFO] Using worker: sync
[2021-04-26 13:58:17 +0000] [133] [INFO] Booting worker with pid: 133
[2021-04-26 13:58:17,634] WARNING in managers: Plugin 'DigiCertCISIssuerPlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertCISIssuerPlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertCISIssuerPlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
[2021-04-26 13:58:17,635] WARNING in managers: Plugin 'DigiCertCISSourcePlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertCISSourcePlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertCISSourcePlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
[2021-04-26 13:58:17,635] WARNING in managers: Plugin 'DigiCertIssuerPlugin' may not work correctly. Required variable 'DIGICERT_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertIssuerPlugin' may not work correctly. Required variable 'DIGICERT_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertIssuerPlugin' may not work correctly. Required variable 'DIGICERT_API_KEY' is not set in Lemur's conf.
[2021-04-26 13:58:17,636] WARNING in managers: Plugin 'EntrustIssuerPlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
Plugin 'EntrustIssuerPlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
Plugin 'EntrustIssuerPlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
[2021-04-26 13:58:17,637] WARNING in managers: Plugin 'EntrustSourcePlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
Plugin 'EntrustSourcePlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
Plugin 'EntrustSourcePlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
[2021-04-26 13:58:17,676: DEBUG/MainProcess] | Worker: Preparing bootsteps.
[2021-04-26 13:58:17,678: DEBUG/MainProcess] | Worker: Building graph...
[2021-04-26 13:58:17,678: DEBUG/MainProcess] | Worker: New boot order: {Beat, Timer, Hub, Pool, Autoscaler, StateDB, Consumer}
[2021-04-26 13:58:17,690: DEBUG/MainProcess] | Consumer: Preparing bootsteps.
[2021-04-26 13:58:17,690: DEBUG/MainProcess] | Consumer: Building graph...
[2021-04-26 13:58:17,723: DEBUG/MainProcess] | Consumer: New boot order: {Connection, Events, Heart, Mingle, Gossip, Agent, Tasks, Control, event loop}
[2021-04-26 13:58:17,742: DEBUG/MainProcess] | Worker: Starting Beat
[2021-04-26 13:58:17,745: DEBUG/MainProcess] ^-- substep ok
[2021-04-26 13:58:17,746: DEBUG/MainProcess] | Worker: Starting Hub
[2021-04-26 13:58:17,747: DEBUG/MainProcess] ^-- substep ok
[2021-04-26 13:58:17,747: DEBUG/MainProcess] | Worker: Starting Pool
[2021-04-26 13:58:17,748] WARNING in managers: Plugin 'DigiCertCISIssuerPlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertCISIssuerPlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertCISIssuerPlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
[2021-04-26 13:58:17,749] WARNING in managers: Plugin 'DigiCertCISSourcePlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertCISSourcePlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertCISSourcePlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
[2021-04-26 13:58:17,750] WARNING in managers: Plugin 'DigiCertIssuerPlugin' may not work correctly. Required variable 'DIGICERT_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertIssuerPlugin' may not work correctly. Required variable 'DIGICERT_API_KEY' is not set in Lemur's conf.
Plugin 'DigiCertIssuerPlugin' may not work correctly. Required variable 'DIGICERT_API_KEY' is not set in Lemur's conf.
[2021-04-26 13:58:17,750] WARNING in managers: Plugin 'EntrustIssuerPlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
Plugin 'EntrustIssuerPlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
Plugin 'EntrustIssuerPlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
[2021-04-26 13:58:17,751] WARNING in managers: Plugin 'EntrustSourcePlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
Plugin 'EntrustSourcePlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
Plugin 'EntrustSourcePlugin' may not work correctly. Required variable 'ENTRUST_API_CERT' is not set in Lemur's conf.
[2021-04-26 13:58:17,857: DEBUG/MainProcess] ^-- substep ok
[2021-04-26 13:58:17,858: DEBUG/MainProcess] | Worker: Starting Consumer
[2021-04-26 13:58:17,859: DEBUG/MainProcess] | Consumer: Starting Connection
[2021-04-26 13:58:17,879: INFO/MainProcess] Connected to redis://redis:6379//
[2021-04-26 13:58:17,879: DEBUG/MainProcess] ^-- substep ok
[2021-04-26 13:58:17,880: DEBUG/MainProcess] | Consumer: Starting Events
[2021-04-26 13:58:17,887: DEBUG/MainProcess] ^-- substep ok
[2021-04-26 13:58:17,888: DEBUG/MainProcess] | Consumer: Starting Heart
[2021-04-26 13:58:17,890: DEBUG/MainProcess] ^-- substep ok
[2021-04-26 13:58:17,890: DEBUG/MainProcess] | Consumer: Starting Mingle
[2021-04-26 13:58:17,890: INFO/MainProcess] mingle: searching for neighbors
[2021-04-26 13:58:18,910: INFO/MainProcess] mingle: all alone
[2021-04-26 13:58:18,911: DEBUG/MainProcess] ^-- substep ok
[2021-04-26 13:58:18,911: DEBUG/MainProcess] | Consumer: Starting Gossip
[2021-04-26 13:58:18,914: DEBUG/MainProcess] ^-- substep ok
[2021-04-26 13:58:18,914: DEBUG/MainProcess] | Consumer: Starting Tasks
[2021-04-26 13:58:18,920: DEBUG/MainProcess] ^-- substep ok
[2021-04-26 13:58:18,920: DEBUG/MainProcess] | Consumer: Starting Control
[2021-04-26 13:58:18,923: DEBUG/MainProcess] ^-- substep ok
[2021-04-26 13:58:18,923: DEBUG/MainProcess] | Consumer: Starting event loop
[2021-04-26 13:58:18,923: DEBUG/MainProcess] | Worker: Hub.register Pool...
[2021-04-26 13:58:18,924: INFO/MainProcess] celery@72452426c180 ready.
[2021-04-26 13:58:18,924: DEBUG/MainProcess] basic.qos: prefetch_count->4
[2021-04-26 13:58:19,839: INFO/Beat] beat: Starting...
[2021-04-26 13:58:19,843: DEBUG/Beat] Current schedule:

[2021-04-26 13:58:19,843: DEBUG/Beat] beat: Ticking with max interval->5.00 minutes
[2021-04-26 13:58:19,844: DEBUG/Beat] beat: Waking up in 5.00 minutes.
Lauenburg commented 3 years ago

Update: I am actually able to access the website. I messed that up as my browser was fully blocking the access. However, the issue with the "unhealthy" persists. Although, the issue is not that urgent anymore. Sorry, for the hustle!