Add sync maintenance state periodic task
When ironic nodes go to maintenance state, we should move instance to maintenance state as well. Change-Id: Iced6535157668fb5cda9a0459272c13d3e8b3af5
This commit is contained in:
@@ -53,6 +53,10 @@ opts = [
|
||||
default=600,
|
||||
help=_("Interval to sync power states between the database "
|
||||
"and Ironic, in seconds.")),
|
||||
cfg.IntOpt('sync_maintenance_interval',
|
||||
default=600,
|
||||
help=_("Interval to sync maintenance states between the "
|
||||
"database and Ironic, in seconds.")),
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user