【发布时间】:2014-11-07 23:31:04
【问题描述】:
我今天遇到了这个问题,ami-ada2b6c4 在没有公共 IP 的 VPC 中创建了一个新实例 - 通过 SSH 登录并且终端在安装开始时挂起。
我用 Ctrl-C 打断,这打印在终端上:
Installation started ^CTraceback (most recent call last):
File "datastax_ami/ds4_motd.py", line 239, in <module>
run()
File "datastax_ami/ds4_motd.py", line 228, in run
waiting_for_status()
File "datastax_ami/ds4_motd.py", line 100, in waiting_for_status
time.sleep(5)
KeyboardInterrupt
我关注了 joaquin 发布的 link to github 以解决类似问题,并在 /etc/hosts 中添加了一个条目。注销实例,然后重新连接。这一次,得到一个不同的错误。
Raiding complete
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
Note: Ownership information does not include topology; for complete information, specify a keyspace
Datacenter: Solr
================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Owns Host ID Token Rack
UN 10.0.10.92 53 KB 100.0% c010f1d3-3d74-4c2b-ae88-9e3fecfc447c -9223372036854755808 rack1
Opscenter: http://10.0.10.92: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 Enterprise version 4.5.2-1
------------------------------------
These notices occurred during the startup of this instance:
[ERROR] 10/15/14-18:16:08 git pull:
error: Failed connect to github.com:443; Connection timed out while accessing https://github.com/riptano/ComboAMI.git/info/refs
安全组确实允许访问互联网 - 例如,我能够 sudo apt-get update。
【问题讨论】:
-
如果您可以通过电子邮件将您的 ~/datastax_ami/ami.log 和您的新 /etc/hosts 文件发送到
@datastax.com,我可以看看。另外,请提及您添加/更改的 /etc/hosts 行。谢谢! -
我遇到了同样的问题,有什么更新吗?
标签: datastax-enterprise datastax amazon-ami amazon-vpc