Delete of Multiple Templates Fails
-
I have checked this with XOA and XO Sources (latest)
When you select and delete one template at a time, everything works and it is removed from the list of templates.
If you select multiple templates, it looks like nothing happens - the templates are not removed from the list, although the tick marks are removed.
When you then try to delete one of the templates again, you get this error log:
vm.delete { "id": "a194633f-b946-0f9e-50d0-3022366b4eaf-f873abe0-b138-4995-8f6f-498b423d234d" } { "code": "HANDLE_INVALID", "params": [ "VM", "OpaqueRef:b8aef32a-bb91-41a7-bf73-7748e5e8cb55" ], "call": { "method": "VM.get_record", "params": [ "OpaqueRef:b8aef32a-bb91-41a7-bf73-7748e5e8cb55" ] }, "message": "HANDLE_INVALID(VM, OpaqueRef:b8aef32a-bb91-41a7-bf73-7748e5e8cb55)", "name": "XapiError", "stack": "XapiError: HANDLE_INVALID(VM, OpaqueRef:b8aef32a-bb91-41a7-bf73-7748e5e8cb55) at Function.wrap (file:///home/vmin/xen-orchestra/packages/xen-api/_XapiError.mjs:16:12) at file:///home/vmin/xen-orchestra/packages/xen-api/transports/json-rpc.mjs:35:21" }
if you list the templates with
xe template-list
the templates are still in the listed
For now, a work-around is to only delete one template at a time
-
@johandr said in Delete of Multiple Templates Fails:
b8aef32a-bb91-41a7-bf73-7748e5e8cb55
Does that UUID exist if you search it from the main page of XO?
-
If I type it in the filter box on the Home page, it is not found.
If I type it in the filter box on the Templates page, it is found and Shows
Oracle Linux 7
if I list all the templates with xe template-list, it is not in the list