VLCR protection tasks may fail for some VMs with error " incompatible config. Internal error: It has a shared disk."
search cancel

VLCR protection tasks may fail for some VMs with error " incompatible config. Internal error: It has a shared disk."

book

Article ID: 427692

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

  • In VLCR UI you will see replication failure warning for protection group as below 
    Failed to snapshot VM 'example VM' during stage: performing backup. VM examplevm snapshot failed as it has incompatible config. Internal error: It has a shared disk. Please contact support.
  • The VM is not configured with any shared disk or incompatible config that falls under Protection Group caveats  
  • DRC agents logs from connector at /da/data/var/log/drcAgentsvc.log shows below exception for the failure 

:"ERROR","threadName":"drc-backup-restore-threads-5","codeLocation":"DRCAgentSvc.java:8265","msg":"[BKUP c1ba4a3f] Hit exception in ingesting a VM: ","X-Datrium-Request-Id":"xxxxxxxxxxxxxxx","DaRpc-Request-Id":"xxxxxxxxxxxxxxxx","X-Datrium-Flags":"1","X-Datrium-Op-ID":"xxxxxxxxxxxxxxxxxx","DaRpc-Client-Id":"xxxxxxxxxx-xxxxxxxxxxx-xxxxxxxxxx","pid":"66","exceptionInfo":"da.core.exception$DaExceptionVmBackupFailed$Throwable\n\tat com.datrium.drc.drcAgent.api.DRCAgentSvc$VmBackupVADPJob.reportIncompatibleConfigsInVMX(DRCAgentSvc.java:8127)\n\tat com.datrium.drc.drcAgent.api.DRCAgentSvc$VmBackupVADPJob.vmBackupVADP(DRCAgentSvc.java:8408)\n\tat com.datrium.drc.drcAgent.api.DRCAgentSvc$VmBackupVADPJob.run(DRCAgentSvc.java:8244)\n\tat com.datrium.common.logging.DaCustomThreadPoolFactory$PriorityFixedThreadPool$1.run(DaCustomThreadPoolFactory.java:573)\n\tat com.datrium.common.logging.DaCustomThreadPoolFactory$MDCRunnable.lambda$new$0(DaCustomThreadPoolFactory.java:213)\n\tat com.datrium.common.logging.DaCustomThreadPoolFactory$MDCAction.call(DaCustomThreadPoolFactory.java:183)\n\tat com.datrium.common.logging.DaCustomThreadPoolFactory$MDCRunnable.call(DaCustomThreadPoolFactory.java:210)\n\tat com.datrium.common.logging.DaCustomThreadPoolFactory$MDCRunnable.run(DaCustomThreadPoolFactory.java:220)\n\tat java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)\n\tat com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:128)\n\tat com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:74)\n\tat com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:80)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat 

DRC Manager logs from Cloud Filesystem at /da/data/var/log/drcMgrsvc.log shows below error codes 

"ERROR","threadName":"drc-backup-restore-threads-23","codeLocation":"DRCMgrSvc.java:1045","msg":"[BKUP ] Failed during backup: errorCodes: 6900\nerrorCodes: 1001\nerrorCodes: 1000\nfileName: \"DRCAgentSvc.java\"\nlineNum: 8127\nerrorMsg: \"Failed to backup VM ([Example datastore name] TestVM/TestVM.vmx) snapshot failed as it has incompatible config. Internal error: It has a shared disk. Please contact support.\

Environment

VMware Live Cyber Recovery 9.0.0.11

Cause

This is a known bug with the way the VMX file in parsed. If the parser finds keyword physical or virtual in the vmx, even under the annotations, will flag it as incompatible which is a false positive. 

Resolution

Ensure there is no shared disks configured for the VM. Refer Protection Group Caveats 

Run the below command against the VMX file of the affected VM to identify if there is a match. 

egrep -i "scsi\\d\\.sharedBus\\s*=\\s*\"virtual\"|\"physical\"|\"virtual|physical" *vmx

To resolve the issue, ensure the annotation does not contain keywords 'Physical' or 'Virtual'. If found then delete the keywords or the annotation itself. Refer KB311762