Skip to content

Commit 9bba7fa

Browse files
committed
Add VDI_NO_CBT_METADATA XenAPI error
Signed-off-by: Gabor Igloi <[email protected]>
1 parent 0cb0e7a commit 9bba7fa

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

ocaml/idl/datamodel.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,6 +1110,8 @@ let _ =
11101110
~doc:"This VDI was not mapped to a destination SR in VM.migrate_send operation" () ;
11111111
error Api_errors.vdi_cbt_enabled [ "vdi" ]
11121112
~doc:"The requested operation is not allowed for VDIs with CBT enabled or VMs having such VDIs, and CBT is enabled for the specified VDI." ();
1113+
error Api_errors.vdi_no_cbt_metadata [ "vdi" ]
1114+
~doc:"The requested operation is not allowed because the specified VDI does not have changed block tracking metadata." ();
11131115
error Api_errors.vdi_copy_failed []
11141116
~doc:"The VDI copy action has failed" ();
11151117
error Api_errors.vdi_on_boot_mode_incompatible_with_operation []

ocaml/xapi-consts/api_errors.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ let vdi_io_error = "VDI_IO_ERROR"
240240
let vdi_on_boot_mode_incompatible_with_operation = "VDI_ON_BOOT_MODE_INCOMPATIBLE_WITH_OPERATION"
241241
let vdi_not_in_map = "VDI_NOT_IN_MAP"
242242
let vdi_cbt_enabled = "VDI_CBT_ENABLED"
243+
let vdi_no_cbt_metadata = "VDI_NO_CBT_METADATA"
243244
let vif_not_in_map = "VIF_NOT_IN_MAP"
244245
let cannot_create_state_file = "CANNOT_CREATE_STATE_FILE"
245246

0 commit comments

Comments
 (0)