5 Replies Latest reply on Jan 7, 2019 10:56 PM by GayathriS

    Error trying to upgrade vRA 7.3.1 to vRA 7.4.0 using vrLCM - VraPreUpgradeCheckTask- ConnectionException: java.net.UnknownHostException: null: Name or service not known

    Magicmanashu Novice

      I am trying to upgrade vRA 7.3.1 to vRA 7.4.0 using vRLCM 2.0.

      I have imported my environment to vRLCM successfully.  But during precheck for upgrade it is throwing below error for only my Primary Appliance. Rest everything is passed.

      Just for note my vRA environment is 3 Node Cluster with 3 vRA Appliances.

       

      1. com.vmware.vim.vmomi.client.exception.ConnectionException: java.net.UnknownHostException: null: Name or service not known

      at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setError(ResponseImpl.java:250)

      at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:51)

      at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingBase.executeRunnable(HttpProtocolBindingBase.java:226)

      at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl.send(HttpProtocolBindingImpl.java:110)

      at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.sendCall(MethodInvocationHandlerImpl.java:580)

      at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.executeCall(MethodInvocationHandlerImpl.java:561)

      at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.completeCall(MethodInvocationHandlerImpl.java:347)

      at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeOperation(MethodInvocationHandlerImpl.java:307)

      at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:181)

      at com.sun.proxy.$Proxy163.retrieveContent(Unknown Source)

      at com.vmware.vrealize.lcm.drivers.vsphere65.vlsi.BasicVlsiOperations.initVlsiConnectionOneTime(BasicVlsiOperations.java:94)

      at com.vmware.vrealize.lcm.drivers.vsphere65.vlsi.VlsiOperations.initVlsiConnection(VlsiOperations.java:75)

      at com.vmware.vrealize.lcm.drivers.vsphere65.vlsi.utils.VSphereDriverFactory.initConnection(VSphereDriverFactory.java:103)

      at com.vmware.vrealize.lcm.drivers.vsphere65.vlsi.utils.CoreUtility.checkVMWithFQDNExists(CoreUtility.java:231)

      at com.vmware.vrealize.lcm.plugin.core.vra70.task.VraPreUpgradeCheckTask.performJavaAndPowershellPrecheck(VraPreUpgradeCheckTask.java:566)

      at com.vmware.vrealize.lcm.plugin.core.vra70.task.VraPreUpgradeCheckTask.checkIaaSUpgradePrecheck(VraPreUpgradeCheckTask.java:305)

      at com.vmware.vrealize.lcm.plugin.core.vra70.task.VraPreUpgradeCheckTask.execute(VraPreUpgradeCheckTask.java:161)

      at com.vmware.vrealize.lcm.platform.automata.core.ExecutionTask.run(ExecutionTask.java:41)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

      at java.lang.Thread.run(Thread.java:748)

      Caused by: java.net.UnknownHostException: null: Name or service not known

      at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)

      at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)

      at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)

      at java.net.InetAddress.getAllByName0(InetAddress.java:1276)

      at java.net.InetAddress.getAllByName(InetAddress.java:1192)

      at java.net.InetAddress.getAllByName(InetAddress.java:1126)

      at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)

      at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:111)

      at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)

      at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)

      at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)

      at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)

      at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)

      at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

      at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)

      at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)

      at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)

      at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:45)

      ... 19 more

       

       

      Tried to search but coudnt find anything.

       

      Please help here.