Comment 5 for bug 1656115

Revision history for this message
Sachin Bansal (sbansal) wrote :

I logged in to the setup and I found that autorestart is set to false on controller-1, while it is set to true in controller-2 and controller-3. As a result, once the process fails, it is not restarted by supervisord on controller-1. Did someone change this setting on controller-1?

root@NTTC-Contrail-1:/var/log/cassandra# cat /etc/contrail/supervisord_config_files/contrail-schema.ini
[program:contrail-schema]
command=/usr/bin/contrail-schema --conf_file /etc/contrail/contrail-schema.conf --conf_file /etc/contrail/contrail-keystone-auth.conf --conf_file /etc/contrail/contrail-database.conf
priority=450
autostart=false
autorestart=false
killasgroup=true
stopsignal=TERM
redirect_stderr=true
stdout_logfile=/var/log/contrail/contrail-schema-stdout.log
stderr_logfile=/dev/null
exitcodes=0 ; 'expected' exit codes for process (default 0,2)
user=contrail