VMware Cloud Community
justanintern
Contributor
Contributor

VCSA 6.0 Clone Issues

We have been using templates for deploying VCSA 5.1 and 5.5 in an automated fashion and they have been working great. I am trying to set up a similar template to work with VCSA 6.0. The biggest issue I am facing is that after cloning the 6.0 VCSA, it takes significantly longer to power on and start the service on the appliance (mainly hanging on starting the inventory and vpxd services). These symptoms do not appear on the template VCSA 6.0 appliance, only a cloned appliance.

I have included some relevant vpxd logs below, judging by the information provided, it looks like the appliance has retained the IP it has received from the DHCP lease (10.10.199.36) from the VCSA 6.0 template and is still holding onto that after being cloned. Any ideas about how I could generalize my template to avoid this?

If anyone had come across this issue and have found any resolutions to the problem I would appreciate any assistance.

Thank you.

2015-03-24T07:15:44.487Z info vpxd[7F15F65727A0] [Originator@6876 sub=HostGateway] Created ComponentManagerGatewaySource!

2015-03-24T07:15:44.488Z info vpxd[7F15F65727A0] [Originator@6876 sub=HostGateway] Created CmConnectionFSM

2015-03-24T07:15:44.488Z info vpxd[7F15F65727A0] [Originator@6876 sub=HostGateway] Created ComponentManagerClient.

2015-03-24T07:15:44.488Z info vpxd[7F15F65727A0] [Originator@6876 sub=HostGateway] CmConnectionFSM::RunFSM(ST_INIT)

2015-03-24T07:15:44.490Z info vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [CreateServiceContent] Try to connect to SSO VMOMI endpoint.

2015-03-24T07:15:47.496Z warning vpxd[7F15E5ECB700] [Originator@6876 sub=Default] Failed to connect socket; <io_obj p:0x00007f15fa951e80, h:25, <TCP '0.0.0.0:0'>, <TCP '10.10.199.36:443'>>, e: system:113(No route to host)

2015-03-24T07:15:47.497Z error vpxd[7F15E5ECB700] [Originator@6876 sub=HttpConnectionPool-000001] [ConnectComplete] Connect failed to <cs p:00007f15e057d730, TCP:10.10.199.36:443>; cnx: (null), error: N7Vmacore15SystemExceptionE(No route to host)

2015-03-24T07:15:47.500Z warning vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [RetryOnConnectionFailure] SystemException while trying to connect to SSO Admin server: N7Vmacore15SystemExceptionE(No route to host)

2015-03-24T07:15:47.500Z info vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [CreateServiceContent] Will attempt to connect again in 10 seconds.

2015-03-24T07:15:57.500Z info vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [CreateServiceContent] Try to connect to SSO VMOMI endpoint.

2015-03-24T07:16:00.504Z warning vpxd[7F15E5ECB700] [Originator@6876 sub=Default] Failed to connect socket; <io_obj p:0x00007f15fa951e80, h:25, <TCP '0.0.0.0:0'>, <TCP '10.10.199.36:443'>>, e: system:113(No route to host)

2015-03-24T07:16:00.504Z error vpxd[7F15E5ECB700] [Originator@6876 sub=HttpConnectionPool-000001] [ConnectComplete] Connect failed to <cs p:00007f15e057d730, TCP:10.10.199.36:443>; cnx: (null), error: N7Vmacore15SystemExceptionE(No route to host)

2015-03-24T07:16:00.504Z warning vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [RetryOnConnectionFailure] SystemException while trying to connect to SSO Admin server: N7Vmacore15SystemExceptionE(No route to host)

2015-03-24T07:16:00.504Z info vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [CreateServiceContent] Will attempt to connect again in 10 seconds.

2015-03-24T07:16:10.505Z info vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [CreateServiceContent] Try to connect to SSO VMOMI endpoint.

2015-03-24T07:16:13.508Z warning vpxd[7F15E5ECB700] [Originator@6876 sub=Default] Failed to connect socket; <io_obj p:0x00007f15fa951e80, h:25, <TCP '0.0.0.0:0'>, <TCP '10.10.199.36:443'>>, e: system:113(No route to host)

2015-03-24T07:16:13.508Z error vpxd[7F15E5ECB700] [Originator@6876 sub=HttpConnectionPool-000001] [ConnectComplete] Connect failed to <cs p:00007f15e057d730, TCP:10.10.199.36:443>; cnx: (null), error: N7Vmacore15SystemExceptionE(No route to host)

2015-03-24T07:16:13.508Z warning vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [RetryOnConnectionFailure] SystemException while trying to connect to SSO Admin server: N7Vmacore15SystemExceptionE(No route to host)

2015-03-24T07:16:13.508Z info vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [CreateServiceContent] Will attempt to connect again in 10 seconds.

2015-03-24T07:16:23.509Z info vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [CreateServiceContent] Try to connect to SSO VMOMI endpoint.

2015-03-24T07:16:24.245Z warning vpxd[7F15E5ECB700] [Originator@6876 sub=Default] Failed to connect socket; <io_obj p:0x00007f15fa951e80, h:25, <TCP '0.0.0.0:0'>, <TCP '10.10.199.36:443'>>, e: system:113(No route to host)

2015-03-24T07:16:24.245Z error vpxd[7F15E5ECB700] [Originator@6876 sub=HttpConnectionPool-000001] [ConnectComplete] Connect failed to <cs p:00007f15e057d730, TCP:10.10.199.36:443>; cnx: (null), error: N7Vmacore15SystemExceptionE(No route to host)

2015-03-24T07:16:24.245Z warning vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [RetryOnConnectionFailure] SystemException while trying to connect to SSO Admin server: N7Vmacore15SystemExceptionE(No route to host)

2015-03-24T07:16:24.246Z info vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [CreateServiceContent] Will attempt to connect again in 10 seconds.

2015-03-24T07:16:34.246Z info vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [CreateServiceContent] Try to connect to SSO VMOMI endpoint.

2015-03-24T07:16:37.249Z warning vpxd[7F15E5ECB700] [Originator@6876 sub=Default] Failed to connect socket; <io_obj p:0x00007f15fa951e80, h:25, <TCP '0.0.0.0:0'>, <TCP '10.10.199.36:443'>>, e: system:113(No route to host)

2015-03-24T07:16:37.249Z error vpxd[7F15E5ECB700] [Originator@6876 sub=HttpConnectionPool-000001] [ConnectComplete] Connect failed to <cs p:00007f15e057d730, TCP:10.10.199.36:443>; cnx: (null), error: N7Vmacore15SystemExceptionE(No route to host)

2015-03-24T07:16:37.249Z warning vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [RetryOnConnectionFailure] SystemException while trying to connect to SSO Admin server: N7Vmacore15SystemExceptionE(No route to host)

2015-03-24T07:16:37.249Z info vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [CreateServiceContent] Will attempt to connect again in 10 seconds.

2015-03-24T07:16:47.250Z info vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [CreateServiceContent] Try to connect to SSO VMOMI endpoint.

2015-03-24T07:16:50.253Z warning vpxd[7F15E5ECB700] [Originator@6876 sub=Default] Failed to connect socket; <io_obj p:0x00007f15fa951e80, h:25, <TCP '0.0.0.0:0'>, <TCP '10.10.199.36:443'>>, e: system:113(No route to host)

2015-03-24T07:16:50.253Z error vpxd[7F15E5ECB700] [Originator@6876 sub=HttpConnectionPool-000001] [ConnectComplete] Connect failed to <cs p:00007f15e057d730, TCP:10.10.199.36:443>; cnx: (null), error: N7Vmacore15SystemExceptionE(No route to host)

2015-03-24T07:16:50.254Z warning vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [RetryOnConnectionFailure] SystemException while trying to connect to SSO Admin server: N7Vmacore15SystemExceptionE(No route to host)

2015-03-24T07:16:50.254Z info vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [CreateServiceContent] Will attempt to connect again in 10 seconds.

2015-03-24T07:17:00.254Z info vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [CreateServiceContent] Try to connect to SSO VMOMI endpoint.

2015-03-24T07:17:00.317Z warning vpxd[7F15E5ECB700] [Originator@6876 sub=Default] Failed to connect socket; <io_obj p:0x00007f15fa951e80, h:25, <TCP '0.0.0.0:0'>, <TCP '10.10.199.36:443'>>, e: system:113(No route to host)

2015-03-24T07:17:00.317Z error vpxd[7F15E5ECB700] [Originator@6876 sub=HttpConnectionPool-000001] [ConnectComplete] Connect failed to <cs p:00007f15e057d730, TCP:10.10.199.36:443>; cnx: (null), error: N7Vmacore15SystemExceptionE(No route to host)

2015-03-24T07:17:00.318Z warning vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [RetryOnConnectionFailure] SystemException while trying to connect to SSO Admin server: N7Vmacore15SystemExceptionE(No route to host)

2015-03-24T07:17:00.318Z info vpxd[7F15F65727A0] [Originator@6876 sub=[SSO][SsoCertificateManagerImpl]] [CreateServiceContent] Will attempt to connect again in 10 seconds.

0 Kudos
2 Replies
unsichtbare
Expert
Expert

Although the VCSA 6 installer works, I am disappointed by the departure from OVF/OVA standards.

I suspect that, in cloning the VCSA, you are also cloning a raft of Certs created during the install. At best, the VCSA as a clone will have to regenerate bunches of Certs. At worst, clones will retain certain values of the original that will haunt you for many hours of diagnostics. Also seems to fit the log excerpts.

+The Invisible Admin+ If you find me useful, follow my blog: http://johnborhek.com/
0 Kudos
amar07
Contributor
Contributor

I had the similar issue and found a workaround for this:

Use FQDN while installing VCSA 6.0 instead of IP address. VCSA 6.0 basically looks to download certificates and start SSO from mentioned FQDN.

Update /etc/hosts of VCSA 6.0 appliance with new FQDN/IP (you may also update DNS records for forward and reverse lookup zones)

Execute the below mentioned command to restart all services:

# service-control --stop --all

# service-control --start --all

Remember that services starting will take 10-15mins.

Thanks,

Amarnath

0 Kudos