Similar issue happening for me as well.
I have tried running _install.sh and deploy_vm1.sh and deploy_vm2.sh multiple 
times. Also made sure all residual docker containers and docker images are 
removed before starting.

For me also Cassandra container exits in VM2. Following are the docker logs:

CompilerOracle: inline org/apache/cassandra/db/AbstractNativeCell.compareTo 
(Lorg/apache/cassandra/db/composites/Composite;)I
CompilerOracle: inline 
org/apache/cassandra/db/composites/AbstractSimpleCellNameType.compareUnsigned 
(Lorg/apache/cassandra/db/composites/Composite;Lorg/apache/cassandra/db/composites/Composite;)I
CompilerOracle: inline org/apache/cassandra/io/util/Memory.checkBounds (JJ)V
CompilerOracle: inline org/apache/cassandra/io/util/SafeMemory.checkBounds (JJ)V
CompilerOracle: inline org/apache/cassandra/utils/ByteBufferUtil.compare 
(Ljava/nio/ByteBuffer;[B)I
CompilerOracle: inline org/apache/cassandra/utils/ByteBufferUtil.compare 
([BLjava/nio/ByteBuffer;)I
CompilerOracle: inline 
org/apache/cassandra/utils/ByteBufferUtil.compareUnsigned 
(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
CompilerOracle: inline 
org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo 
(Ljava/lang/Object;JILjava/lang/Object;JI)I
CompilerOracle: inline 
org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo 
(Ljava/lang/Object;JILjava/nio/ByteBuffer;)I
CompilerOracle: inline 
org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo 
(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
INFO  01:20:22 Could not resolve local host
INFO  01:20:22 Loading settings from file:/etc/cassandra/cassandra.yaml
INFO  01:20:22 Node configuration:[authenticator=AllowAllAuthenticator; 
authorizer=AllowAllAuthorizer; auto_snapshot=true; 
batch_size_warn_threshold_in_kb=5; batchlog_replay_throttle_in_kb=1024; 
broadcast_address=10.0.1.2; broadcast_rpc_address=10.0.1.2; 
cas_contention_timeout_in_ms=1000; client_encryption_options=<REDACTED>; 
cluster_name=Test Cluster; column_index_size_in_kb=64; 
commit_failure_policy=stop; commitlog_directory=/var/lib/cassandra/commitlog; 
commitlog_segment_size_in_mb=32; commitlog_sync=periodic; 
commitlog_sync_period_in_ms=10000; 
compaction_large_partition_warning_threshold_mb=100; 
compaction_throughput_mb_per_sec=16; concurrent_counter_writes=32; 
concurrent_reads=32; concurrent_writes=32; counter_cache_save_period=7200; 
counter_cache_size_in_mb=null; counter_write_request_timeout_in_ms=5000; 
cross_node_timeout=false; data_file_directories=[/var/lib/cassandra/data]; 
disk_failure_policy=stop; dynamic_snitch_badness_threshold=0.1; 
dynamic_snitch_reset_interval_in_ms=600000; 
dynamic_snitch_update_interval_in_ms=100; endpoint_snitch=SimpleSnitch; 
hinted_handoff_enabled=true; hinted_handoff_throttle_in_kb=1024; 
incremental_backups=false; index_summary_capacity_in_mb=null; 
index_summary_resize_interval_in_minutes=60; inter_dc_tcp_nodelay=false; 
internode_compression=all; key_cache_save_period=14400; 
key_cache_size_in_mb=null; listen_address=10.0.1.2; 
max_hint_window_in_ms=10800000; max_hints_delivery_threads=2; 
memtable_allocation_type=heap_buffers; native_transport_port=9042; 
num_tokens=256; partitioner=org.apache.cassandra.dht.Murmur3Partitioner; 
permissions_validity_in_ms=2000; range_request_timeout_in_ms=10000; 
read_request_timeout_in_ms=5000; 
request_scheduler=org.apache.cassandra.scheduler.NoScheduler; 
request_timeout_in_ms=10000; row_cache_save_period=0; row_cache_size_in_mb=0; 
rpc_address=0.0.0.0; rpc_keepalive=true; rpc_port=9160; rpc_server_type=sync; 
saved_caches_directory=/var/lib/cassandra/saved_caches; 
seed_provider=[{class_name=org.apache.cassandra.locator.SimpleSeedProvider, 
parameters=[{seeds=aai.hbase.simpledemo.onap.org}]}]; 
server_encryption_options=<REDACTED>; snapshot_before_compaction=false; 
ssl_storage_port=7001; sstable_preemptive_open_interval_in_mb=50; 
start_native_transport=true; start_rpc=true; storage_port=7000; 
thrift_framed_transport_size_in_mb=15; tombstone_failure_threshold=100000; 
tombstone_warn_threshold=1000; trickle_fsync=false; 
trickle_fsync_interval_in_kb=10240; truncate_request_timeout_in_ms=60000; 
unlogged_batch_across_partitions_warn_threshold=10; 
write_request_timeout_in_ms=2000]
INFO  01:20:22 DiskAccessMode 'auto' determined to be mmap, indexAccessMode is 
mmap
INFO  01:20:22 Global memtable on-heap threshold is enabled at 983MB
INFO  01:20:22 Global memtable off-heap threshold is enabled at 983MB
INFO  01:20:22 Loading settings from file:/etc/cassandra/cassandra.yaml
INFO  01:20:22 Node configuration:[authenticator=AllowAllAuthenticator; 
authorizer=AllowAllAuthorizer; auto_snapshot=true; 
batch_size_warn_threshold_in_kb=5; batchlog_replay_throttle_in_kb=1024; 
broadcast_address=10.0.1.2; broadcast_rpc_address=10.0.1.2; 
cas_contention_timeout_in_ms=1000; client_encryption_options=<REDACTED>; 
cluster_name=Test Cluster; column_index_size_in_kb=64; 
commit_failure_policy=stop; commitlog_directory=/var/lib/cassandra/commitlog; 
commitlog_segment_size_in_mb=32; commitlog_sync=periodic; 
commitlog_sync_period_in_ms=10000; 
compaction_large_partition_warning_threshold_mb=100; 
compaction_throughput_mb_per_sec=16; concurrent_counter_writes=32; 
concurrent_reads=32; concurrent_writes=32; counter_cache_save_period=7200; 
counter_cache_size_in_mb=null; counter_write_request_timeout_in_ms=5000; 
cross_node_timeout=false; data_file_directories=[/var/lib/cassandra/data]; 
disk_failure_policy=stop; dynamic_snitch_badness_threshold=0.1; 
dynamic_snitch_reset_interval_in_ms=600000; 
dynamic_snitch_update_interval_in_ms=100; endpoint_snitch=SimpleSnitch; 
hinted_handoff_enabled=true; hinted_handoff_throttle_in_kb=1024; 
incremental_backups=false; index_summary_capacity_in_mb=null; 
index_summary_resize_interval_in_minutes=60; inter_dc_tcp_nodelay=false; 
internode_compression=all; key_cache_save_period=14400; 
key_cache_size_in_mb=null; listen_address=10.0.1.2; 
max_hint_window_in_ms=10800000; max_hints_delivery_threads=2; 
memtable_allocation_type=heap_buffers; native_transport_port=9042; 
num_tokens=256; partitioner=org.apache.cassandra.dht.Murmur3Partitioner; 
permissions_validity_in_ms=2000; range_request_timeout_in_ms=10000; 
read_request_timeout_in_ms=5000; 
request_scheduler=org.apache.cassandra.scheduler.NoScheduler; 
request_timeout_in_ms=10000; row_cache_save_period=0; row_cache_size_in_mb=0; 
rpc_address=0.0.0.0; rpc_keepalive=true; rpc_port=9160; rpc_server_type=sync; 
saved_caches_directory=/var/lib/cassandra/saved_caches; 
seed_provider=[{class_name=org.apache.cassandra.locator.SimpleSeedProvider, 
parameters=[{seeds=aai.hbase.simpledemo.onap.org}]}]; 
server_encryption_options=<REDACTED>; snapshot_before_compaction=false; 
ssl_storage_port=7001; sstable_preemptive_open_interval_in_mb=50; 
start_native_transport=true; start_rpc=true; storage_port=7000; 
thrift_framed_transport_size_in_mb=15; tombstone_failure_threshold=100000; 
tombstone_warn_threshold=1000; trickle_fsync=false; 
trickle_fsync_interval_in_kb=10240; truncate_request_timeout_in_ms=60000; 
unlogged_batch_across_partitions_warn_threshold=10; 
write_request_timeout_in_ms=2000]
WARN  01:20:22 Seed provider couldn't lookup host aai.hbase.simpledemo.onap.org
ERROR 01:20:22 Fatal configuration error
org.apache.cassandra.exceptions.ConfigurationException: The seed provider lists 
no seeds.
        at 
org.apache.cassandra.config.DatabaseDescriptor.applyConfig(DatabaseDescriptor.java:660)
 ~[apache-cassandra-2.1.20.jar:2.1.20]
        at 
org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:136)
 ~[apache-cassandra-2.1.20.jar:2.1.20]
        at 
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:170) 
[apache-cassandra-2.1.20.jar:2.1.20]
        at 
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:566) 
[apache-cassandra-2.1.20.jar:2.1.20]
        at 
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:655) 
[apache-cassandra-2.1.20.jar:2.1.20]
The seed provider lists no seeds.
Fatal configuration error; unable to start. See log for stacktrace.


Best Regards,
Arun Arora


From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of FORSYTH, JAMES
Sent: 31 May 2018 19:54
To: Vinayak Tejankar <vtejan...@criterionnetworks.com>
Cc: onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] Error in aai-vm1 installation

Hi, Vinayak,

I recommend trying to re-run deploy_vm2.sh again.  Also, please make sure you 
have your etc/hosts set up correctly per the instructions.

Thanks,
jimmy

From: Vinayak Tejankar 
<vtejan...@criterionnetworks.com<mailto:vtejan...@criterionnetworks.com>>
Date: Thursday, May 31, 2018 at 10:16 AM
To: "FORSYTH, JAMES" <jf2...@att.com<mailto:jf2...@att.com>>
Cc: "onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>" 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>>
Subject: Re: [onap-discuss] Error in aai-vm1 installation

I guess its not running. Checked the logs on VM2, here's what I found:

.....

99793fda6435: Pull complete #(No errors in pulling the images)

Digest: sha256:0c484eed2f17f53d2d67035ff225366344ca5b88552a4b5f456bb7cee1a7a025

Status: Downloaded newer image for cassandra:2.1

No stopped containers

Waiting for 'testconfig_aai.hbase.simpledemo.onap.org_1' deployment to finish 
...

Waiting for 'testconfig_aai.hbase.simpledemo.onap.org_1' deployment to finish 
...

.....

....

Waiting for 'testconfig_aai.hbase.simpledemo.onap.org_1' deployment to finish 
...

ERROR: testconfig_aai.hbase.simpledemo.onap.org_1 deployment failed.

2018-05-23 16:42:06,809 - util.py[WARNING]: Failed running 
/var/lib/cloud/instance/scripts/part-001 [1]

2018-05-23 16:42:06,939 - cc_scripts_user.py[WARNING]: Failed to run module 
scripts-user (scripts in /var/lib/cloud/instance/scripts)

2018-05-23 16:42:06,947 - util.py[WARNING]: Running scripts-user (<module 
'cloudinit.config.cc_scripts_user' from 
'/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_user.pyc'>) failed



I checked docker containers on the VM, and its empty:

root@onap-aai-inst2:/home/ubuntu# docker ps

CONTAINER ID        IMAGE               COMMAND             CREATED             
STATUS              PORTS               NAMES

root@onap-aai-inst2:/home/ubuntu#






On Thu, May 31, 2018 at 2:14 AM, FORSYTH, JAMES 
<jf2...@att.com<mailto:jf2...@att.com>> wrote:
Is your Cassandra container running on vm2?

Thanks,
jimmy

From: Vinayak Tejankar 
<vtejan...@criterionnetworks.com<mailto:vtejan...@criterionnetworks.com>>
Date: Wednesday, May 30, 2018 at 4:03 PM
To: "FORSYTH, JAMES" <jf2...@att.com<mailto:jf2...@att.com>>
Cc: "onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>" 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>>
Subject: Re: [onap-discuss] Error in aai-vm1 installation

Hi Forsyth,

I'm using a multi-node setup. Attached are the templates, and I'm deploying it 
on Openstack Mitaka.

Please find the attachments.


On Thu, May 31, 2018 at 1:12 AM, FORSYTH, JAMES 
<jf2...@att.com<mailto:jf2...@att.com>> wrote:
Hi, Vinayak,

Are you trying a multi-node setup or a single node?

Thanks,
jimmy

From: 
<onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org>>
 on behalf of Vinayak Tejankar 
<vtejan...@criterionnetworks.com<mailto:vtejan...@criterionnetworks.com>>
Date: Wednesday, May 30, 2018 at 3:06 PM
To: "onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>" 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>>
Subject: [onap-discuss] Error in aai-vm1 installation

Hello Team,

I was facing some issues when I last tried installing ONAP. Thanks to the 
support from the members of the community, all the issues are been actively 
looked upon and addressed which is really helpful and motivating for a newbie 
like me to keep trying.

In my latest attempt, I was able to pull the docker images in aai-vm-1. 
However, during the deployment of testconfig..., I'm getting the following 
error:


17:47:37,850 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction 
- End of configuration.

17:47:37,886 |-INFO in 
ch.qos.logback.classic.joran.JoranConfigurator@27973e9b<mailto:ch.qos.logback.classic.joran.JoranConfigurator@27973e9b>
 - Registering current configuration as safe fallback point



    ---- NOTE --- about to open graph (takes a little while)--------;

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=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=Oej6QUk5p2KdqNEWySpOHA&m=FrRSR53IBNbfhXvIHUtg66paWWnl3htvqlF9EmaCJ08&s=iw43OgxMMbYQ77aIKaFZMm7SJSZDxVgCslxKxT4xY1w&e=>(aai.hbase.simpledemo.onap.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__aai.hbase.simpledemo.onap.org_&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=Oej6QUk5p2KdqNEWySpOHA&m=FrRSR53IBNbfhXvIHUtg66paWWnl3htvqlF9EmaCJ08&s=iw43OgxMMbYQ77aIKaFZMm7SJSZDxVgCslxKxT4xY1w&e=>):9160,
 latency=10009(10009), 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



Wed May 23 17:48:38 UTC 2018    Done 
/opt/app/aai-resources/bin/createDBSchema.sh

Waiting for 'testconfig_aai-resources.api.simpledemo.onap.org_1' deployment to 
finish ...
...

Waiting for 'testconfig_aai-resources.api.simpledemo.onap.org_1' deployment to 
finish ...

Waiting for 'testconfig_aai-resources.api.simpledemo.onap.org_1' deployment to 
finish ...

ERROR: testconfig_aai-resources.api.simpledemo.onap.org_1 deployment failed.

I am trying to find out as to why this id happening, and would really 
appreciate any help in identifying the same.

Regards,
Vinayak



--
Regards,
Vinayak



--
Regards,
Vinayak
_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to