Bump service version for BuildRequest deletion
This service version indicates that the successful delete of a BuildRequest during instance deletion will cause nova-conductor to stop a build when it notices that the BuildRequest is gone. This simplifies the delete code for dealing with pre-scheduled instances. Change-Id: I961d002cccd3e01a26cb5174e0804db7fc1f836d
This commit is contained in:
parent
6ce01a655b
commit
916f01ef7d
@ -13,7 +13,7 @@
|
||||
"disabled_reason": null,
|
||||
"report_count": 1,
|
||||
"forced_down": false,
|
||||
"version": 14
|
||||
"version": 15
|
||||
}
|
||||
},
|
||||
"event_type": "service.update",
|
||||
|
@ -30,7 +30,7 @@ LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
# NOTE(danms): This is the global service version counter
|
||||
SERVICE_VERSION = 14
|
||||
SERVICE_VERSION = 15
|
||||
|
||||
|
||||
# NOTE(danms): This is our SERVICE_VERSION history. The idea is that any
|
||||
@ -89,6 +89,9 @@ SERVICE_VERSION_HISTORY = (
|
||||
{'compute_rpc': '4.13'},
|
||||
# Version 14: The compute manager supports setting device tags.
|
||||
{'compute_rpc': '4.13'},
|
||||
# Version 15: Indicate that nova-conductor will stop a boot if BuildRequest
|
||||
# is deleted before RPC to nova-compute.
|
||||
{'compute_rpc': '4.13'},
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user