failed to create OPSA ZooKeeper path

  • KM03241485
  • 06-Sep-2018
  • 06-Sep-2018

This document is under revision.

Summary

OBA re-installation cleanup

Error

While running post-install, we encontered below error after Updating OPSA configuration file...

Opsa configuration file updated successfully

Configuration will be done in a minute... updating the configuration also in the server. No further answers are required.

Spring initialization failed: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'opsa.settings.component.change.manager': Unsatisfied dependency expressed through field 'settingPersistencyManager': Error creating bean with name 'opsa.settings.component.persistency.configuration': Unsatisfied dependency expressed through field 'zkLayer': Error creating bean with name 'opsa.settings.repository.zk.layer': Unsatisfied dependency expressed through field 'zkClient': Error creating bean with name 'opsa.zk.client' defined in file [/opt/HP/opsa/conf/opsa-core/spring/zoo-keeper-interface-spring.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.curator.framework.CuratorFramework]: Factory method 'initialGetClient' threw exception; nested exception is com.hp.opsa.infra.zk.OPSAZooKeeperException: failed to create OPSA ZooKeeper path; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'opsa.zk.client' defined in file [/opt/HP/opsa/conf/opsa-core/spring/zoo-keeper-interface-spring.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.curator.framework.CuratorFramework]: Factory method 'initialGetClient' threw exception; nested exception is com.hp.opsa.infra.zk.OPSAZooKeeperException: failed to create OPSA ZooKeeper path; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'opsa.settings.repository.zk.layer': Unsatisfied dependency expressed through field 'zkClient': Error creating bean with name 'opsa.zk.client' defined in file [/opt/HP/opsa/conf/opsa-core/spring/zoo-keeper-interface-spring.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.curator.framework.CuratorFramework]: Factory method 'initialGetClient' threw exception; nested exception is com.hp.opsa.infra.zk.OPSAZooKeeperException: failed to create OPSA ZooKeeper path; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'opsa.zk.client' defined in file [/opt/HP/opsa/conf/opsa-core/spring/zoo-keeper-interface-spring.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.curator.framework.CuratorFramework]: Factory method 'initialGetClient' threw exception; nested exception is com.hp.opsa.infra.zk.OPSAZooKeeperException: failed to create OPSA ZooKeeper path; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'opsa.settings.component.persistency.configuration': Unsatisfied dependency expressed through field 'zkLayer': Error creating bean with name 'opsa.settings.repository.zk.layer': Unsatisfied dependency expressed through field 'zkClient': Error creating bean with name 'opsa.zk.client' defined in file [/opt/HP/opsa/conf/opsa-core/spring/zoo-keeper-interface-spring.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.curator.framework.CuratorFramework]: Factory method 'initialGetClient' threw exception; nested exception is com.hp.opsa.infra.zk.OPSAZooKeeperException: failed to create OPSA ZooKeeper path; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'opsa.zk.client' defined in file [/opt/HP/opsa/conf/opsa-core/spring/zoo-keeper-interface-spring.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.curator.framework.CuratorFramework]: Factory method 'initialGetClient' threw exception; nested exception is com.hp.opsa.infra.zk.OPSAZooKeeperException: failed to create OPSA ZooKeeper path; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'opsa.settings.repository.zk.layer': Unsatisfied dependency expressed through field 'zkClient': Error creating bean with name 'opsa.zk.client' defined in file [/opt/HP/opsa/conf/opsa-core/spring/zoo-keeper-interface-spring.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.curator.framework.CuratorFramework]: Factory method 'initialGetClient' threw exception; nested exception is com.hp.opsa.infra.zk.OPSAZooKeeperException: failed to create OPSA ZooKeeper path; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'opsa.zk.client' defined in file [/opt/HP/opsa/conf/opsa-core/spring/zoo-keeper-interface-spring.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.curator.framework.CuratorFramework]: Factory method 'initialGetClient' threw exception; nested exception is com.hp.opsa.infra.zk.OPSAZooKeeperException: failed to create OPSA ZooKeeper path

Cause

The post-install failed on a setup with multiple Collectors due active firewall on OBA servers, after disabling the firewall and resintalling OBA, post-install still failed due bad entries on DB.

 

Fix

Contact support to help cleanup old OBA/Vertica entries.