Activity log for bug #1491872

Date Who What changed Old value New value Message
2015-09-03 14:26:46 Adrian Smith bug added bug
2015-09-03 15:05:25 Adrian Smith description The init scripts for the services listed below don't return the proper exit codes (according to LSB[1]). For example, running "service contrail-api status" should return 3 if the service is down. The script actually returns 0. This becomes a problem when using tools like chef that use this exist code to determine weather the service needs to be started. Affected scripts (grouped by node type) analytics * supervisor-analytics * contrail-analytics-api * contrail-collector * contrail-query-engine cfgm * ifmap * contrail-discovery * contrail-svc-monitor * contrail-api * contrail-schema * contrail-device-manager control * contrail-control * contrail-schema database * contrail-database rabbitmq * rabbitmq-server webui * contrail-webui-middleware * contrail-query-engine For example, here's the contrail-api init script, https://github.com/Juniper/contrail-controller/blob/0d0dcbfa6a0adf07a554a691180557b62bdce3c3/src/config/api-server/contrail-api.initd.supervisord [1] http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html The init scripts for the services listed below don't return the proper exit codes (according to LSB[1]). For example, running "service contrail-api status" should return 3 if the service is down. The script actually returns 0. This becomes a problem when using tools like chef that use this exist code to determine weather the service needs to be started. Affected scripts (grouped by node type) analytics * contrail-analytics-api * contrail-collector * contrail-query-engine cfgm * ifmap * contrail-discovery * contrail-svc-monitor * contrail-api * contrail-schema * contrail-device-manager control * contrail-control * contrail-schema database * contrail-database rabbitmq * rabbitmq-server webui * contrail-webui-middleware * contrail-query-engine For example, here's the contrail-api init script, https://github.com/Juniper/contrail-controller/blob/0d0dcbfa6a0adf07a554a691180557b62bdce3c3/src/config/api-server/contrail-api.initd.supervisord [1] http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
2015-09-03 15:09:16 Adrian Smith description The init scripts for the services listed below don't return the proper exit codes (according to LSB[1]). For example, running "service contrail-api status" should return 3 if the service is down. The script actually returns 0. This becomes a problem when using tools like chef that use this exist code to determine weather the service needs to be started. Affected scripts (grouped by node type) analytics * contrail-analytics-api * contrail-collector * contrail-query-engine cfgm * ifmap * contrail-discovery * contrail-svc-monitor * contrail-api * contrail-schema * contrail-device-manager control * contrail-control * contrail-schema database * contrail-database rabbitmq * rabbitmq-server webui * contrail-webui-middleware * contrail-query-engine For example, here's the contrail-api init script, https://github.com/Juniper/contrail-controller/blob/0d0dcbfa6a0adf07a554a691180557b62bdce3c3/src/config/api-server/contrail-api.initd.supervisord [1] http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html The init scripts for the services listed below don't return the proper exit codes (according to LSB[1]). For example, running "service contrail-api status" should return 3 if the service is down. The script actually returns 0. This becomes a problem when using tools like chef that use this exist code to determine weather the service needs to be started. Affected scripts (grouped by node type) analytics * contrail-analytics-api * contrail-collector * contrail-query-engine cfgm * ifmap * contrail-discovery * contrail-svc-monitor * contrail-api * contrail-schema * contrail-device-manager control * contrail-control * contrail-dns database * contrail-database rabbitmq * rabbitmq-server webui * contrail-webui-middleware * contrail-query-engine For example, here's the contrail-api init script, https://github.com/Juniper/contrail-controller/blob/0d0dcbfa6a0adf07a554a691180557b62bdce3c3/src/config/api-server/contrail-api.initd.supervisord [1] http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
2015-09-03 15:11:27 Adrian Smith description The init scripts for the services listed below don't return the proper exit codes (according to LSB[1]). For example, running "service contrail-api status" should return 3 if the service is down. The script actually returns 0. This becomes a problem when using tools like chef that use this exist code to determine weather the service needs to be started. Affected scripts (grouped by node type) analytics * contrail-analytics-api * contrail-collector * contrail-query-engine cfgm * ifmap * contrail-discovery * contrail-svc-monitor * contrail-api * contrail-schema * contrail-device-manager control * contrail-control * contrail-dns database * contrail-database rabbitmq * rabbitmq-server webui * contrail-webui-middleware * contrail-query-engine For example, here's the contrail-api init script, https://github.com/Juniper/contrail-controller/blob/0d0dcbfa6a0adf07a554a691180557b62bdce3c3/src/config/api-server/contrail-api.initd.supervisord [1] http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html The init scripts for the services listed below don't return the proper exit codes (according to LSB[1]). For example, running "service contrail-api status" should return 3 if the service is down. The script actually returns 0. This becomes a problem when using tools like chef that use this exist code to determine weather the service needs to be started. Affected scripts (grouped by node type) analytics * contrail-analytics-api * contrail-collector * contrail-query-engine cfgm * ifmap * contrail-discovery * contrail-svc-monitor * contrail-api * contrail-schema * contrail-device-manager control * contrail-control * contrail-dns database * contrail-database rabbitmq * rabbitmq-server webui * contrail-webui * contrail-webui-middleware For example, here's the contrail-api init script, https://github.com/Juniper/contrail-controller/blob/0d0dcbfa6a0adf07a554a691180557b62bdce3c3/src/config/api-server/contrail-api.initd.supervisord [1] http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html