Incorrect Error Message Appears In Secondary Racks' SDDC Manager VMs When No Connectivity to ISVM VMs on Primary Rack
search cancel

Incorrect Error Message Appears In Secondary Racks' SDDC Manager VMs When No Connectivity to ISVM VMs on Primary Rack

book

Article ID: 327817

calendar_today

Updated On:

Products

VMware

Issue/Introduction

As described in the VMware Cloud Foundation product documentation, the ISVM VMs are hosted on the environment's primary rack.

If connectivity is lost between the secondary racks and the primary rack where the ISVM VMs are hosted and you log in to one of the secondary rack's SDDC Manager VMs, you see following error message printed on the screen when you try to run a vrm-cli.sh command:

ERROR: load app context failed
because: Error creating bean with name 'VRMInventoryClientServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.vmware.vrack.vrm.client.dal.spi.logical.LogicalInventoryService com.vmware.vrack.vrm.core.inventory.impl.VRMInventoryClientServiceImpl.logicalInventoryService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cassandraLogicalInventoryServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.vmware.vrack.vrm.client.dal.impl.common.CassandraDataManager com.vmware.vrack.vrm.client.dal.impl.logical.CassandraLogicalInventoryServiceImpl.cassandraDataManager; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cassandraDataManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.vmware.vrack.vrm.client.dal.impl.schema.CassandraSchemaManager com.vmware.vrack.vrm.client.dal.impl.common.CassandraDataManager.cassandraSchemaManager; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cassandraSchemaManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.vmware.vrack.vrm.dal.controller.schema.VrmDbSchemaVersionRepository com.vmware.vrack.vrm.client.dal.impl.schema.CassandraSchemaManager.vrmDbSchemaVersionRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vrmDbSchemaVersionRepository': Cannot resolve reference to bean 'cassandraTemplate' while setting bean property 'cassandraTemplate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cassandraTemplate' defined in com.vmware.vrack.vrm.dal.controller.config.CassandraConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.cassandra.core.CassandraAdminOperations]: Factory method 'cassandraTemplate' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'session' defined in com.vmware.vrack.vrm.dal.controller.config.CassandraConfiguration: Invocation of init method failed; nested exception is com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /192.168.100.44:9042 (com.datastax.driver.core.TransportException: [/192.168.100.44:9042] Cannot connect), /192.168.100.45:9042 (com.datastax.driver.core.TransportException: [/192.168.100.45:9042] Cannot connect), /192.168.100.43:9042 (com.datastax.driver.core.TransportException: [/192.168.100.43:9042] Cannot connect))
null
null
null
null
null
null
null
null
null
null
null
null

ERROR: fatal internal command fault


Resolution

This issue is resolved in VMware SDDC Manager 2.2, available at Download  VMware Cloud Foundation


Workaround:

To work around this issue if you do not want to upgrade, identify and fix any connectivity issues between the primary rack and the secondary racks.