Skip to content

Commit 0ab649c

Browse files
authored
Update cluster-stack-version datamodel lifecycle (#6436)
2 parents d369991 + b18a1c9 commit 0ab649c

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

ocaml/idl/datamodel_cluster.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ let t =
204204
(Some (VString Constants.default_smapiv3_cluster_stack))
205205
"Simply the string 'corosync'. No other cluster stacks are \
206206
currently supported"
207-
; field ~qualifier:StaticRO ~lifecycle ~ty:Int "cluster_stack_version"
207+
; field ~qualifier:StaticRO ~lifecycle:[] ~ty:Int "cluster_stack_version"
208208
~default_value:(Some (VInt 2L))
209209
"Version of cluster stack, not writable via the API. Defaulting to \
210210
2 for backwards compatibility when upgrading from a cluster \

ocaml/idl/datamodel_lifecycle.ml

+3-1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ let prototyped_of_field = function
8383
Some "24.3.0"
8484
| "Cluster", "is_quorate" ->
8585
Some "24.3.0"
86+
| "Cluster", "cluster_stack_version" ->
87+
Some "24.15.0"
8688
| "VTPM", "contents" ->
8789
Some "22.26.0"
8890
| "VTPM", "is_protected" ->
@@ -124,7 +126,7 @@ let prototyped_of_field = function
124126
| "VM", "actions__after_softreboot" ->
125127
Some "23.1.0"
126128
| "pool", "ha_reboot_vm_on_internal_shutdown" ->
127-
Some "25.15.0-next"
129+
Some "25.16.0"
128130
| "pool", "license_server" ->
129131
Some "25.6.0"
130132
| "pool", "recommendations" ->

ocaml/idl/schematest.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ let hash x = Digest.string x |> Digest.to_hex
33
(* BEWARE: if this changes, check that schema has been bumped accordingly in
44
ocaml/idl/datamodel_common.ml, usually schema_minor_vsn *)
55

6-
let last_known_schema_hash = "e10b420b0863116ee188eea9e63b1349"
6+
let last_known_schema_hash = "0cf3458af211661024fca9c1d0ab34ab"
77

88
let current_schema_hash : string =
99
let open Datamodel_types in

0 commit comments

Comments
 (0)