AppSync: Registering a template failed after AppSync restored VMware datastore
Summary: Registering VMs successfully completed but registering a template failed after restoring a VMware datastore from a copy completed. Restring a template from a copy failed.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
AppSync completed to restore VMware datastore from a copy but AppSync failed register a template with the following error.
Virtual center service operation failed with an unknown error. Using the VI client, check the ESX servers for tasks and events, or alarms.
server.log:
vCenter:
vCenter vpxd.log:
Virtual center service operation failed with an unknown error. Using the VI client, check the ESX servers for tasks and events, or alarms.
server.log:
10-03-2022 20:58:29.579 INFO [Thread-4952 (ActiveMQ-client-global-threads)] [com.emc.archway.service.eventservice.EventServiceBean] [win2019-107] [] 64f6c6b3-6ce9-477b-8b83-3546966482df->>> EVENT [VM_000076]: Virtual center service operation failed with an unknown error. Using the VI client, check the ESX servers for tasks and events, or alarms.(METADATA: TYPE-ERROR, TIME-2022-10-03 20:58:29.579+0900NATIVETIME-2022-10-03 20:58:29.579+0900, HOST-win2019-107, PHASE-Restore Copy, THREAD=Thread-4952 (ActiveMQ-client-global-threads), USER-admin, CATEGORY-GENERIC, SESSIONID-) 10-03-2022 20:58:29.579 INFO [Thread-4952 (ActiveMQ-client-global-threads)] [com.emc.archway.commands.application.vcenter.VCServiceHelperBean] [win2019-107] [] 64f6c6b3-6ce9-477b-8b83-3546966482df->>> Failed to register virtual machine tem-xxxxxxx with errorVirtual center service operation failed with an unknown error. Using the VI client, check the ESX servers for tasks and events, or alarms.
vCenter:
vCenter vpxd.log:
2022-10-03T20:58:29.726+09:00 info vpxd[26202] [Originator@6876 sub=Default opID=5fabb1de] [VpxLRO] -- ERROR task-30468 -- group-v3026 -- vim.Folder.registerVm: vmodl.fault.InvalidArgument:
--> Result:
--> (vmodl.fault.InvalidArgument) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = (vmodl.LocalizableMessage) [
--> (vmodl.LocalizableMessage) {
--> key = "com.vmware.vim.vpxd.vpx.vmprov.RegisterTemplateAsVm",
--> arg = <unset>,
--> message = <unset>
--> }
--> ],
--> invalidProperty = "asTemplate"
--> msg = ""
--> }
--> Args:
-->
--> Arg path:
--> "[xxxxxx_xxxxx_iSCSI_r630-cluster_VMFS-001] tem-xxxxxxx/tem-xxxxxxx.vmtx"
--> Arg name:
--> "tem-win2019"
--> Arg asTemplate:
--> false
--> Arg pool:
--> 'vim.ResourcePool:resgroup-3033'
--> Arg host:
--> 'vim.HostSystem:host-7240'
Cause
Appsync doesn't support template registration on a datastore restore.
Resolution
The template has to be manually registered after AppSync restored VMware datastore.
Products
AppSync, VMware ESXi, VMware vCenter ServerArticle Properties
Article Number: 000205802
Article Type: Solution
Last Modified: 17 Apr 2023
Version: 7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.