VMware Cloud Community
paulymo
Contributor
Contributor

Recovery virtual machine could not be created: The operation is not supported on the object

I keep getting the error "Recovery virtual machine could not be created: The operation is not supported on the object" when trying to add a VM to a protection plan. I've already tried KB 1020796 which has worked for other VMs but not this one.

vCenter = 4.1

Hosts = ESXi 4.1

SRM = 4.1

VM = Windows 2008 R2 with SQL Server. Two attached vmdk's are not being replicated but I have created placeholder vmdks at the recovery site which mirrors all the other VMs. This was not a P2V and has been moved already as suggested in KB 1020796.

Tried this...

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=102079...

Log

Adding VMs to replication group 'group-2147'

vmSpecList:

(dr.primary.ProtectedVmSpec) [

(dr.primary.ProtectedVmSpec) {

dynamicType = ,

vm = 'vim.VirtualMachine:vm-4924',

settings = (dr.primary.ProtectedVm.Settings) {

dynamicType = ,

logsMirrored = false,

nvramMirrored = false,

snapshotsMirrored = false,

suspendMirrored = false,

changeVersion = "",

},

}

]

siteSpecList:

(dr.primary.ReplicationGroup.SiteShadowSpec) [

(dr.primary.ReplicationGroup.SiteShadowSpec) {

dynamicType = ,

site = 'dr.RemoteSite:site-2002',

spec = (dr.secondary.ShadowVmSpec) [

(dr.secondary.ShadowVmSpec) {

dynamicType = ,

name = "FACSQL2",

folder = 'vim.Folder:group-v804',

resourcePool = 'vim.ResourcePool:resgroup-1238',

hostSystem = 'vim.HostSystem:host-3311',

fileInfo = (dr.vimext.FileInfo) null,

scratchDatastore = (dr.vimext.ExistingDatastoreLocator) {

dynamicType = ,

datastore = 'vim.Datastore:datastore-807',

},

devices = (dr.vimext.DeviceInfo) [

(dr.vimext.DeviceInfo) {

dynamicType = ,

device = (vim.vm.device.VirtualVmxnet3) {

dynamicType = ,

key = 4000,

deviceInfo = (vim.Description) {

dynamicType = ,

label = "Network adapter 1",

summary = "VMNet-172.20.29.x",

},

backing = (vim.vm.device.VirtualEthernetCard.NetworkBackingInfo) {

dynamicType = ,

deviceName = "VMNet-172.20.29.x",

useAutoDetect = false,

network = 'vim.Network:network-56',

inPassthroughMode = false,

},

connectable = (vim.vm.device.VirtualDevice.ConnectInfo) {

dynamicType = ,

startConnected = true,

allowGuestControl = true,

connected = true,

status = "ok",

},

controllerKey = 100,

unitNumber = 7,

addressType = "assigned",

macAddress = "00:50:56:a5:00:01",

wakeOnLanEnabled = true,

},

backing = (dr.vimext.NetworkDeviceBackingLocator) {

dynamicType = ,

network = 'vim.Network:network-785',

},

},

(dr.vimext.DeviceInfo) {

dynamicType = ,

device = (vim.vm.device.VirtualVmxnet3) {

dynamicType = ,

key = 4001,

deviceInfo = (vim.Description) {

dynamicType = ,

label = "Network adapter 2",

summary = "VMNet-10.10.10.x",

},

backing = (vim.vm.device.VirtualEthernetCard.NetworkBackingInfo) {

dynamicType = ,

deviceName = "VMNet-10.10.10.x",

useAutoDetect = false,

network = 'vim.Network:network-57',

inPassthroughMode = false,

},

connectable = (vim.vm.device.VirtualDevice.ConnectInfo) {

dynamicType = ,

startConnected = true,

allowGuestControl = true,

connected = true,

status = "ok",

},

controllerKey = 100,

unitNumber = 8,

addressType = "assigned",

macAddress = "00:50:56:a5:00:02",

wakeOnLanEnabled = true,

},

backing = (dr.vimext.NetworkDeviceBackingLocator) {

dynamicType = ,

network = 'vim.Network:network-557',

},

},

(dr.vimext.DeviceInfo) {

dynamicType = ,

device = (vim.vm.device.VirtualDisk) {

dynamicType = ,

key = 2001,

deviceInfo = (vim.Description) {

dynamicType = ,

label = "Hard disk 2",

summary = "12,582,912 KB",

},

backing = (vim.vm.device.VirtualDisk.FlatVer2BackingInfo) {

dynamicType = ,

fileName = "[vmware_nas1_pagefile] FACSQL2/FACSQL2.vmdk",

datastore = 'vim.Datastore:datastore-3872',

diskMode = "persistent",

split = false,

writeThrough = false,

thinProvisioned = true,

eagerlyScrub = ,

uuid = "6000C299-996a-d787-2098-dd36c0568405",

contentId = "0f335aec904115868a141ce31f233f49",

changeId = ,

parent = (vim.vm.device.VirtualDisk.FlatVer2BackingInfo) null,

},

connectable = (vim.vm.device.VirtualDevice.ConnectInfo) null,

controllerKey = 1000,

unitNumber = 1,

capacityInKB = 12582912,

shares = (vim.SharesInfo) {

dynamicType = ,

shares = 1000,

level = "normal",

},

},

backing = (dr.vimext.FileDeviceBackingLocator) {

dynamicType = ,

location = (dr.vimext.VmFileLocator) {

dynamicType = ,

directory = (dr.vimext.DirectoryLocator) {

dynamicType = ,

datastore = (dr.vimext.ExistingDatastoreLocator) {

dynamicType = ,

datastore = 'vim.Datastore:datastore-1861',

},

path = "FACSQL2",

},

fileName = "FACSQL2.vmdk",

},

createOptions = (dr.vimext.FileDeviceBackingLocator.CreateOptions) null,

},

},

(dr.vimext.DeviceInfo) {

dynamicType = ,

device = (vim.vm.device.VirtualDisk) {

dynamicType = ,

key = 2002,

deviceInfo = (vim.Description) {

dynamicType = ,

label = "Hard disk 3",

summary = "83,886,080 KB",

},

backing = (vim.vm.device.VirtualDisk.FlatVer2BackingInfo) {

dynamicType = ,

fileName = "[nas2-datastore02] FACSQL2/FACSQL2.vmdk",

datastore = 'vim.Datastore:datastore-50',

diskMode = "persistent",

split = false,

writeThrough = false,

thinProvisioned = true,

eagerlyScrub = ,

uuid = "6000C299-52ae-3db9-2893-58fb843a95b4",

contentId = "5e84078c6195b28bd6c5c7f4d363086c",

changeId = ,

parent = (vim.vm.device.VirtualDisk.FlatVer2BackingInfo) null,

},

connectable = (vim.vm.device.VirtualDevice.ConnectInfo) null,

controllerKey = 1000,

unitNumber = 2,

capacityInKB = 83886080,

shares = (vim.SharesInfo) {

dynamicType = ,

shares = 1000,

level = "normal",

},

},

backing = (dr.vimext.FileDeviceBackingLocator) {

dynamicType = ,

location = (dr.vimext.VmFileLocator) {

dynamicType = ,

directory = (dr.vimext.DirectoryLocator) {

dynamicType = ,

datastore = (dr.vimext.ExistingDatastoreLocator) {

dynamicType = ,

datastore = 'vim.Datastore:datastore-1861',

},

path = "FACSQL2",

},

fileName = "FACSQL2-BU.vmdk",

},

createOptions = (dr.vimext.FileDeviceBackingLocator.CreateOptions) null,

},

}

],

snapshotLayout = (dr.vimext.VmSnapshotLayout) null,

recoverySettings = (dr.secondary.ShadowRecoverySettings) {

dynamicType = ,

changeVersion = ,

recoveryPriority = 25,

customizationSpecName = ,

},

}

],

}

]

Task created

Adding task com.vmware.vcDr.ReplicationGroup.AddVmTask-50

RecordOp ASSIGN: info.startTime, com.vmware.vcDr.ReplicationGroup.AddVmTask-50

State set to running

RecordOp ASSIGN: info.state, com.vmware.vcDr.ReplicationGroup.AddVmTask-50

Scheduling work item

RecordOp ADD: addVmsTaskList, group-2147

Running work method

Work function yielded

'Retrieved 4 properties of 1 objects of type 'vim.VirtualMachine'' took 0.219 seconds

'Retrieved 1 properties of 1 objects of type 'vim.Datastore'' took 0.203 seconds

Path '[vmware_nas1_pagefile] FACSQL2/FACSQL2.vmdk' is located on a non-replicated datastore 'datastore-3872'

Detected custom shadow locator for device 2001: (dr.vimext.FileDeviceBackingLocator) {

dynamicType = ,

location = (dr.vimext.VmFileLocator) {

dynamicType = ,

directory = (dr.vimext.DirectoryLocator) {

dynamicType = ,

datastore = (dr.vimext.ExistingDatastoreLocator) {

dynamicType = ,

datastore = 'vim.Datastore:datastore-1861',

},

path = "FACSQL2",

},

fileName = "FACSQL2.vmdk",

},

createOptions = (dr.vimext.FileDeviceBackingLocator.CreateOptions) null,

}

Path '[nas2-datastore02] FACSQL2/FACSQL2.vmdk' is located on a non-replicated datastore 'datastore-50'

Detected custom shadow locator for device 2002: (dr.vimext.FileDeviceBackingLocator) {

dynamicType = ,

location = (dr.vimext.VmFileLocator) {

dynamicType = ,

directory = (dr.vimext.DirectoryLocator) {

dynamicType = ,

datastore = (dr.vimext.ExistingDatastoreLocator) {

dynamicType = ,

datastore = 'vim.Datastore:datastore-1861',

},

path = "FACSQL2",

},

fileName = "FACSQL2-BU.vmdk",

},

createOptions = (dr.vimext.FileDeviceBackingLocator.CreateOptions) null,

}

VM 'vm-4924' has no snapshots

Protected VM 'vim.VirtualMachine:vm-4924' device '2000' being mirrored

Protected VM 'vim.VirtualMachine:vm-4924' device '2001' being mirrored

Protected VM 'vim.VirtualMachine:vm-4924' device '2002' being mirrored

Protected VM 'vim.VirtualMachine:vm-4924' device '4000' being mirrored

Protected VM 'vim.VirtualMachine:vm-4924' device '4001' being mirrored

Progress is unchanged

Free disk space: 25155 Mb

CPU usage: 2 %

Available memory: 965 Mb

Progress advanced to 81

RecordOp ASSIGN: info.progress, com.vmware.vcDr.ReplicationGroup.AddVmTask-50

Progress advanced to 90

RecordOp ASSIGN: info.progress, com.vmware.vcDr.ReplicationGroup.AddVmTask-50

Creation of shadow VM failed with error (dr.secondary.fault.RemoteCreateVmFault) {

dynamicType = ,

faultCause = (vmodl.MethodFault) null,

remoteFault = (vmodl.fault.NotSupported) {

dynamicType = ,

faultCause = (vmodl.MethodFault) null,

msg = "The operation is not supported on the object.",

},

msg = "Recovery virtual machine could not be created: The operation is not supported on the object.",

}

RecordOp ASSIGN: info.error, com.vmware.vcDr.ReplicationGroup.AddVmTask-50

Error set to (dr.primary.fault.RemoteAddVmFault) {

dynamicType = ,

faultCause = (vmodl.MethodFault) null,

remoteFault = (dr.secondary.fault.RemoteCreateVmFault) {

dynamicType = ,

faultCause = (vmodl.MethodFault) null,

remoteFault = (vmodl.fault.NotSupported) {

dynamicType = ,

faultCause = (vmodl.MethodFault) null,

msg = "The operation is not supported on the object.",

},

msg = "Recovery virtual machine could not be created: The operation is not supported on the object.",

},

msg = "",

}

RecordOp ASSIGN: info.completeTime, com.vmware.vcDr.ReplicationGroup.AddVmTask-50

State set to error

RecordOp ASSIGN: info.state, com.vmware.vcDr.ReplicationGroup.AddVmTask-50

RecordOp REMOVE: addVmsTaskList, group-2147

Reply
0 Kudos
5 Replies
dcoz
Hot Shot
Hot Shot

I do see an error in the lofile showing FACSQL2/FACSQL2.vmdk' is located on a non-replicated datastore

I would check to make sure the LUNs the vmdks are on are replicated. If they are what is the replicatoion schedule? Maybe it hasnt replicated the VM yet and is detecting the it is still not replicated.

Hope this helps

Dougie

Reply
0 Kudos
paulymo
Contributor
Contributor

I'm pretty sure I mentioned the non-replicated datastore is the pagefile volume and I have it mapped to a vmdk at the recovery site. I now have several VMs that have been in a protection group before "not supported" when I try to add them to a new protection group. This is very frustrating and going to be very difficult to recommend to clients going forward.

Paul J Morris

IT Engineer - IT Infrastructure Services

919.863.0858 Office

919.368.0575 Cell

Reply
0 Kudos
dcoz
Hot Shot
Hot Shot

Paul

Just double checking. When you mapped the page file etc did you clone the original disk and copy it to the destination VMFS volume?

I have also been caught out with isos still attached etc.

Hope this helps

Dougie

Reply
0 Kudos
paulymo
Contributor
Contributor

The issue isn't with the pagefile mappings... they work on any of the machines that will connect in the protection group. I'm trying to work up the patience to call VMware support but have a feeling they are going to stick with the KB article I mentioned already.

Reply
0 Kudos
mal_michael
Commander
Commander

Hi,

the KB article has been updated yesterday. Probably the problem is with video RAM size settings.

Michael.

Reply
0 Kudos