monasca / monasca-docker

Docker files and setup for Monasca
Apache License 2.0
24 stars 47 forks source link

Added restart on failure to logspout container #471

Closed chaconpiza closed 5 years ago

chaconpiza commented 5 years ago

Bug description: The start of the logspout fails waiting for log-agent to become ready after 24 attempts. Then, no logs are collected from the containers.

Fix: Add restart parameter to the logspout container, since the parameter depends_on log-agent is necessary but not sufficient.

Scenario: Deploying the log-pipeline in an OpenStack virtual instance with Ubuntu 16.04, 2vCPU, 15GB RAM and 50GB SSD.