Make default of NovaSyncPowerStateInterval consistent with nova

Currently default of the NovaSyncPowerStateInterval parameter is 0, but
this makes the parameter use the default value defined in oslo.service
(which is 60 seconds) instead of the default defined in nova(which is
600 seconds).
Because it is more reasonable to use the default defined in service
itlself, this change updates the default of that parameter to be
consistent with the default defined in nova.

Closes-Bug: #1916380
Change-Id: I4bc97cc3f361b5ada15fee81ccc1036485d4529c
(cherry picked from commit 5ff2741130)
This commit is contained in:
Takashi Kajinami 2021-02-21 18:26:12 +09:00
parent 1e26d4301d
commit be0c4c25f7
2 changed files with 9 additions and 2 deletions

View File

@ -93,8 +93,9 @@ parameters:
type: number
description:
Interval to sync power states between the database and the hypervisor. Set
to -1 to disable. Setting this to 0 will run at the default rate.
default: 0
to -1 to disable. Setting this to 0 will run at the default rate(60)
defined in oslo.service.
default: 600
RpcUseSSL:
default: false
description: >

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Default of the ``NovaSyncPowerStateInterval`` parameter has been changed
from 0 to 600, to use the default value consistent with the one defined in
nova.