I just setup a EC2 cluster and setup a new instance using the AMI: datastax_clustering_ami_2.5.1_hvm.manifest.xml (ami-7f33cd08) on a m3.large Instance type. Followed the instructions carefully and found more people reporting on the same error during the passed few weeks.
On boot, it shows the following error and in the OpsCenter, no nodes are connected. Could this be because the setup is not completed successfully because of the following errors:
These notices occurred during the startup of this instance:
[ERROR] 03/06/15-11:46:24 sudo chown opscenter-agent:opscenter-agent /var/lib/datastax-agent/conf:
[ERROR] 03/06/15-11:46:26 sudo chown -R opscenter-agent:opscenter-agent /var/log/datastax-agent:
[ERROR] 03/06/15-11:46:26 sudo chown -R opscenter-agent:opscenter-agent /mnt/datastax-agent:
Exceptions : 0
Exceptions : 0
Exceptions : 0
Exceptions : 0
Exceptions : 0
The full log:
Using username "ubuntu".
Authenticating with public key "imported-openssh-key"
Last login: Fri Mar 6 12:28:22 2015 [*******************************]
Cluster started with these options:
For example: --clustername DSCcluster --totalnodes 1 --version community
Waiting for nodetool...
The cluster is now in it's finalization phase. This should only take a moment...
Note: You can also use CTRL+C to view the logs if desired:
AMI log: ~/datastax_ami/ami.log
Cassandra log: /var/log/cassandra/system.log
Datacenter: eu-west
===================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns Host ID Rack
UN 172.31.30.32 193.04 KB 256 ? [*******************************] 1a
Note: Non-system keyspaces don't have the same replication settings, effective ownership information is meaningless
Opscenter: http://[*******************************].compute.amazonaws.com:8888/
Please wait 60 seconds if this is the cluster's first start...
Tools:
Run: datastax_tools
Demos:
Run: datastax_demos
Support:
Run: datastax_support
------------------------------------
DataStax AMI for DataStax Enterprise
and DataStax Community
AMI version 2.5
DataStax Community version 2.1.3-1
------------------------------------
These notices occurred during the startup of this instance:
[ERROR] 03/06/15-11:46:24 sudo chown opscenter-agent:opscenter-agent /var/lib/datastax-agent/conf:
[ERROR] 03/06/15-11:46:26 sudo chown -R opscenter-agent:opscenter-agent /var/log/datastax-agent:
[ERROR] 03/06/15-11:46:26 sudo chown -R opscenter-agent:opscenter-agent /mnt/datastax-agent:
Exceptions : 0
Exceptions : 0
Exceptions : 0
Exceptions : 0
Exceptions : 0
Edit: the issue is also reported here: https://www.mail-archive.com/user@cassandra.apache.org/msg41111.html