The neutron Windows exec call helper doesn't properly handle the
situation in which the process that it's trying to kill was already
terminated, in which case using wmi to fetch the process can raise
an exception.
This change ensures that those WMI exceptions will be properly
handled.
Closes-Bug: 1872663
Change-Id: I00c810fe541ac5e1e9923155fe90eb07a0b4b3dd
(cherry picked from commit 8fd3e884c7953645862663400af181ba233ec28f)
Reviewed: https:/ /review. opendev. org/757052 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=9049b647b78 458529c403985d4 c00e4a1df53371
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 9049b647b784585 29c403985d4c00e 4a1df53371
Author: Lucian Petrut <email address hidden>
Date: Tue Apr 14 11:25:18 2020 +0300
windows: fix terminating processes
The neutron Windows exec call helper doesn't properly handle the
situation in which the process that it's trying to kill was already
terminated, in which case using wmi to fetch the process can raise
an exception.
This change ensures that those WMI exceptions will be properly
handled.
Closes-Bug: 1872663
Change-Id: I00c810fe541ac5 e1e9923155fe90e b07a0b4b3dd 5862663400af181 ba233ec28f)
(cherry picked from commit 8fd3e884c795364