WMI job terminate timeout is hardcoded
Bug #1790890 reported by
Lucian Petrut
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-win |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We're using a hardcoded 15 seconds timeout when canceling WMI jobs.
Some jobs may not be cancelable, some may take longer to stop. For example, Nova instances may end up in error state after attempting to delete them as this hardcoded timeout gets exceeded.
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/600095 /git.openstack. org/cgit/ openstack/ os-win/ commit/ ?id=11e28563d4f facfeb1a65b55b5 fe792c61e7d0e4
Committed: https:/
Submitter: Zuul
Branch: master
commit 11e28563d4ffacf eb1a65b55b5fe79 2c61e7d0e4
Author: Lucian Petrut <email address hidden>
Date: Wed Sep 5 17:52:58 2018 +0300
Add wmi job terminate timeout cfg opt
We're using a hardcoded 15 seconds timeout when canceling WMI jobs.
Some jobs may not be cancelable, some may take longer to stop. For
example, Nova instances may end up in error state after attempting
to delete them as this hardcoded timeout gets exceeded.
That being considered, we're now adding a config option for this,
also increasing the default timeout to 2 minutes.
Ideally, Nova should pass a timeout here. Still, by adding a config
option at the os-win level, it's easier to backport this to older
releases, also providing a default for any kind of WMI job.
Change-Id: I797366c40a3a4b b74fe925bd10697 f227e22915c
Closes-Bug: #1790890