Roger15
Enthusiast
Enthusiast

vRealize LCM fails vrealize automation 8.2 installation with VM name invalid.

Error Code: LCMVSPHERECONFIG1000030
VM name is not valid. Ensure no other virtual machine with the same name exists in the target location where VM will be deployed or provide right VM name and retry.
Exception occured while trying to deploy ovf of product : vra. The name 'vm-mgmtapl-01' already exists.

(vim.fault.DuplicateName) { faultCause = null, faultMessage = null, name = null, object = null} at com.vmware.vrealize.lcm.drivers.vsphere65.vlsi.utils.ExceptionMappingUtils.mapAndThrowImportVAppExceptions(ExceptionMappingUtils.java:37) at com.vmware.vrealize.lcm.drivers.vsphere65.deploy.impl.BaseOvfDeploy.importOvf(BaseOvfDeploy.java:706) at com.vmware.vrealize.lcm.plugin.core.vsphere.tasks.DeployOvfTask.execute(DeployOvfTask.java:229) at com.vmware.vrealize.lcm.plugin.core.vsphere.tasks.DeployOvfTask.execute(DeployOvfTask.java:340) at com.vmware.vrealize.lcm.automata.core.TaskThread.run(TaskThread.java:45) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source)

Additional Note:
NSlookup works fine for vCenter (forward and reverse lookup)
NSlookup works finr for LCM, VIDM, vRA names as well.
Tried differe varities of names.

VMname : vm-mgmtapl-01
Hostname:vm-mgmtapl-01.xxxx.com

Request for help ASAP, I have been trying various methodologies and not getting much clue.

Labels (1)
0 Kudos
2 Replies
RickVerstegen
Expert
Expert

In the vcenter you have search feature, can you search with your vm name and see how many entries are listed. Remove the specific vm and try again.

 

Blog: https://rickverstegen84.wordpress.com/ Twitter: https://twitter.com/verstegenrick
0 Kudos
premkr81
Contributor
Contributor

In the log it's saying vm name is already exist  "The name 'vm-mgmtapl-01' already exists." Check in your vCenter and search for the vm name and delete any entries with same name or else use a unique name and try.

0 Kudos