Changed default value of 'wait_period_after_power_off'
In instance recovery task, periodic call, loopingcall.FixedIntervalLoopingCall, is used to confirm instance is stopped during recovery. In a constrained VM or stressed situation, VM could frequently take longer than 60 seconds to be stopped. Increased the default value to 3 minutes, same as wait_period_after_service_update or duplicate_notification_detection_interval. Change-Id: I7c7046e9e52a2c7af0400986e705ac842b4efc89 Closes-Bug: #1751832
This commit is contained in:
parent
7b6255af24
commit
02bf0d3ed7
|
@ -79,7 +79,7 @@ notification_opts = [
|
|||
default=1,
|
||||
help='The monitoring interval for looping'),
|
||||
cfg.IntOpt('wait_period_after_power_off',
|
||||
default=60,
|
||||
default=180,
|
||||
help='Number of seconds to wait for instance to shut down'),
|
||||
cfg.IntOpt('wait_period_after_power_on',
|
||||
default=60,
|
||||
|
|
Loading…
Reference in New Issue