bugfix: Graceful shutdown of VM - improvement 59/13659/1
authorMartin Klozik <martinx.klozik@intel.com>
Fri, 29 Apr 2016 13:23:36 +0000 (14:23 +0100)
committerMartin Klozik <martinx.klozik@intel.com>
Wed, 4 May 2016 08:29:30 +0000 (09:29 +0100)
commit824d9c5d537916ebb1aebf1cfb6de9ab64484246
tree5568133a2c095deed5940f3a069ca1cd983c7789
parent25969600ac9508ecc54a25d7b0f628e0713a82a2
bugfix: Graceful shutdown of VM - improvement

Cleanup phase of PVVP scenario sometimes causes server reboot.
Following updates were made to prevent reboots:
* better generic process termination procedure
* ovsdb is terminated after vswitchd termination
* vswitchd is terminated directly instead of parent sudo process
* already running VNFs are terminated in case of failure during
VNF start()

Change-Id: Ic09d60d7bfdea01c84a2685ede3d0316f0d09be7
JIRA: VSPERF-271
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
conf/02_vswitch.conf
core/vnf_controller.py
src/ovs/daemon.py
tools/systeminfo.py
tools/tasks.py
vnfs/qemu/qemu.py
vnfs/vnf/vnf.py
vswitches/ovs.py