Hi Ruoyu, Can you please try to do a ping aai.hbase.simpledemo.onap.org from the aai vm1? If it doesn't work, it seems that the issue is some kind of dns issue that's causing it. Check the dns servers and see if they are up and then run this command to see if your aai vm1 server is using the dns server:
cat /etc/resolv.conf The dns server for onap should show up here If everything on the networking side looks good between aai vm1 and aai vm2, then please go to aai vm2 and check if the docker containers are running there? Thanks, Harish From: Ying, Ruoyu [mailto:[email protected]] Sent: Monday, June 04, 2018 9:01 PM To: [email protected]; KAJUR, HARISH V <[email protected]>; FORSYTH, JAMES <[email protected]> Subject: [aai] Exception faced when setup aai inst1 through docker Hi all, I'm trying to setup AAI env through docker and I've already setup the aai-inst2. But when I try to bring up aai-inst1, I faced an error like this: Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:594) Caused by: java.lang.ExceptionInInitializerError at org.onap.aai.dbmap.AAIGraph.getInstance(AAIGraph.java:98) at org.onap.aai.dbgen.GenTester.main(GenTester.java:118) ... 8 more Caused by: java.lang.RuntimeException: Failed to instantiate graphs at org.onap.aai.dbmap.AAIGraph.<init>(AAIGraph.java:83) at org.onap.aai.dbmap.AAIGraph.<init>(AAIGraph.java:55) at org.onap.aai.dbmap.AAIGraph$Helper.<clinit>(AAIGraph.java:88) ... 10 more Caused by: java.lang.IllegalArgumentException: Could not instantiate implementation: org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxStoreManager at org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:69) at org.janusgraph.diskstorage.Backend.getImplementationClass(Backend.java:477) at org.janusgraph.diskstorage.Backend.getStorageManager(Backend.java:409) at org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.<init>(GraphDatabaseConfiguration.java:1376) at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:164) at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:133) at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:113) at org.onap.aai.dbmap.AAIGraph.loadGraph(AAIGraph.java:110) at org.onap.aai.dbmap.AAIGraph.<init>(AAIGraph.java:80) ... 12 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:58) ... 20 more Caused by: org.janusgraph.diskstorage.TemporaryBackendException: Temporary failure in storage backend at org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxStoreManager.ensureKeyspaceExists(AstyanaxStoreManager.java:619) at org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxStoreManager.<init>(AstyanaxStoreManager.java:314) ... 25 more Caused by: com.netflix.astyanax.connectionpool.exceptions.PoolTimeoutException: PoolTimeoutException: [host=aai.hbase.simpledemo.onap.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__aai.hbase.simpledemo.onap.org&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=f44eG3iZaja2ozEA2yRZnQ&m=SrmK0BqP1xPP2MTuS-HPmAl6viUzpbZTYHtHh5eU_KA&s=yla8QxOXKGEgdAFg5-q6e-kl_VZMsKKNLK-stF5f7mw&e=>(aai.hbase.simpledemo.onap.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__aai.hbase.simpledemo.onap.org&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=f44eG3iZaja2ozEA2yRZnQ&m=SrmK0BqP1xPP2MTuS-HPmAl6viUzpbZTYHtHh5eU_KA&s=yla8QxOXKGEgdAFg5-q6e-kl_VZMsKKNLK-stF5f7mw&e=>):9160, latency=10001(10001), attempts=1]Timed out waiting for connection at com.netflix.astyanax.connectionpool.impl.SimpleHostConnectionPool.waitForConnection(SimpleHostConnectionPool.java:231) at com.netflix.astyanax.connectionpool.impl.SimpleHostConnectionPool.borrowConnection(SimpleHostConnectionPool.java:198) at com.netflix.astyanax.connectionpool.impl.RoundRobinExecuteWithFailover.borrowConnection(RoundRobinExecuteWithFailover.java:84) at com.netflix.astyanax.connectionpool.impl.AbstractExecuteWithFailoverImpl.tryOperation(AbstractExecuteWithFailoverImpl.java:117) at com.netflix.astyanax.connectionpool.impl.AbstractHostPartitionConnectionPool.executeWithFailover(AbstractHostPartitionConnectionPool.java:352) at com.netflix.astyanax.thrift.ThriftClusterImpl.executeSchemaChangeOperation(ThriftClusterImpl.java:146) at com.netflix.astyanax.thrift.ThriftClusterImpl.internalCreateKeyspace(ThriftClusterImpl.java:321) at com.netflix.astyanax.thrift.ThriftClusterImpl.addKeyspace(ThriftClusterImpl.java:294) at org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxStoreManager.ensureKeyspaceExists(AstyanaxStoreManager.java:614) ... 26 more Does anyone know what's the problem? Thanks. Best Regards, Ruoyu
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
