Fix to avoid contrail-cassandra-status zombie proc
Proposed fix: use "subprocess.call()" instead of "Popen()" for
"contrail-cassandra-status". Use it with "shell=True" - to avoid
zombies, and use "&" at the end - to run in non-blocking way.
And also do this for "contrail-cassandra-repair" as it has same problem.
Reviewed: https:/ /review. opencontrail. org/48499 github. com/Juniper/ contrail- controller/ commit/ a1419a689e9690a 02daf5587207e2c 8647bd7d91
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.1
commit a1419a689e9690a 02daf5587207e2c 8647bd7d91
Author: Sergey Kreys <email address hidden>
Date: Mon Dec 18 13:47:51 2017 +0300
Fix to avoid contrail- cassandra- status zombie proc
Proposed fix: use "subprocess.call()" instead of "Popen()" for cassandra- status" . Use it with "shell=True" - to avoid cassandra- repair" as it has same problem.
"contrail-
zombies, and use "&" at the end - to run in non-blocking way.
And also do this for "contrail-
Change-Id: Ibefde45932613b b2f600a049037b4 83a2d7b33a8
Closes-bug: 1738757