VMware Cloud Community
Magicmanashu
Contributor
Contributor

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

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.

Reply
0 Kudos
5 Replies
GayathriS
Expert
Expert

In most of the cases specifically with distributed VRA set up we are seeing this as a major issue and when we try to manually do it its working great .

If you are not on VRLCM 2.0 patch 2 , try updating it and then try , if not then you may have to better try manual.

Also you can update VRLCM to latest patch and then give a try

Please consider marking this answer as correct and helpful if this helps you.

regards

GS

Reply
0 Kudos
Magicmanashu
Contributor
Contributor

We are already on vRLCM 2.0 patch 2.

And our requirement is specifically to upgrade using vRLCM , so no point of going manual. If VRLCM has any bug or problem with respect to upgrading 3 node clusters , then please let me know the same. However, we need to go through vRLCM only..

Please let me know if any more useful information you have,

Reply
0 Kudos
GayathriS
Expert
Expert

As in now I dont see any bug reported for this, to make sure if this is a new bug or for further analysis please raise a case with support .

regards

Gayathri

Reply
0 Kudos
Magicmanashu
Contributor
Contributor

yes, i have a raised a ticket with VMware for the same. Let's see what solution they propose.

Reply
0 Kudos
GayathriS
Expert
Expert

Yes please keep this thread updated once you get some action.

regards

GS

Reply
0 Kudos