SRM recovery fails with an error "Invalid configuration for device '0'"
search cancel

SRM recovery fails with an error "Invalid configuration for device '0'"

book

Article ID: 408132

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

Symptoms:

  • Running test recovery on a SRM recovery plan fails with an error for some VM's  "Invalid configuration for device '0'" 




  • In the  vmware-dr.log of the vSphere Replication Appliance these messages are logged indicating failure while configuring network on the VM:
error vmware-dr[01386] [SRM@6876 sub=Replication.VmRecoveryInterface ctxID=a2d5fee0 opID=3904f142-####-####-a47b-d6e7441#####-test:3191:e1ae:4a9d] Protection VM 'dr.replication.ProtectedVm:protected-vm-XXXXX' failed operation 'StartTest'!  There are '0' warnings for this Protection Group.  Failure Reason: (vim.fault.InvalidDeviceSpec) {
error vmware-dr[211039] [SRM@6876 sub=Recovery ctxID=503a83f8 opID=3904f142-####-4985-####-d6e7441#####-test:3191:e1ae:4a9d] [262b1026-6574-4dcb-8376-a661034ef455.failoverOrchJob] Replication reported failure for VM "VM Name" [null], the vm will not be recovered: (vim.fault.InvalidDeviceSpec) {

error vmware-dr[01495] [SRM@6876 sub=Recovery ctxID=503a83f8 opID=3904f142-####-####-a47b-d6e7441#####-test:3191:e1ae] [failoverMain] There were errors during recovery of vms, first failure: (vim.fault.InvalidDeviceSpec) {
verbose vmware-dr[01495] [SRM@6876 sub=Default ctxID=503a83f8 opID=3904f142-####-####-a47b-d6e7441#####-test:3191:e1ae] [failoverMain] Setting job failure: (vim.fault.InvalidDeviceSpec) {
error vmware-dr[211050] [SRM@6876 sub=Recovery ctxID=503a83f8 opID=3904f142-####-####-a47b-d6e7441#####-test:3191:e1ae] [failoverMain] Execution failed: (vim.fault.InvalidDeviceSpec) {
-->       (vim.fault.InvalidDeviceSpec) {
-->       (vim.fault.InvalidDeviceSpec) {
error vmware-dr[211062] [SRM@6876 sub=Recovery ctxID=503a83f8 opID=3904f142-####-####-a47b-d6e7441#####-test:3191] Plan execution (test workflow) failed; plan id: 262b1026-####-4dcb-####-a661034ef455, plan name: "PG Name",

error vmware-dr[211062] [SRM@6876 sub=Recovery ctxID=503a83f8 opID=3904f142-####-####-a47b-d6e7441#####-test:3191] Plan 'PG_Name' failed: (vim.fault.InvalidDeviceSpec) {
--> (vim.fault.InvalidDeviceSpec) {

Environment

VMware Site Recovery Manager 8.X
VMware Live Site Recovery 9.x

Cause

The issue is caused by incorrect port group or no port group assigned to be VM to be recovered on recovery site.

Resolution

The network port group to be used by recovery VM needs to be validated on recovery site and make sure port groups are mapped properly in the SRM network mapping for the protected VM's.