【发布时间】:2019-11-19 14:15:20
【问题描述】:
问题
我正在尝试完成MongoDB on AWS quickstart 以创建一个简单的 MongoDB 集群。不幸的是,它从未完成推出,在最后一个安装部分 (PrimaryReplicaNodeXYWaitForNodeInstallGP2) 未在一小时内完成后取消。
背景
我的设置如下:
AvailabilityZone0 eu-central-1a
AvailabilityZone1 eu-central-1b
AvailabilityZone2 eu-central-1b
BuildBucket quickstart-reference/mongodb/latest
ClusterReplicaSetCount 0
ClusterShardCount 1
ConfigServerInstanceType t2.micro
Iops 100
KeyName my_definitely_working_keypair
MongoDBVersion 3.2
NATInstanceType t2.small
NodeInstanceType m3.medium
PrimaryReplicaSubnet 10.0.2.0/24
PublicSubnet 10.0.1.0/24
RemoteAccessCIDR XXX.XXX.0.0/16
SecondaryReplicaSubnet0 10.0.3.0/24
SecondaryReplicaSubnet1 10.0.4.0/24
ShardsPerNode 0
VolumeSize 40
VolumeType gp2
VPCCIDR 10.0.0.0/16
导致same behaviour, as named in the AWS forum回滚:
在“资源”中,除了一个子任务外,所有子任务都不会完成并继续进行 永远作为“PrimaryReplicaNode0WaitForNodeInstallGP2 - PrimaryReplicaNode0WaitForNodeInstallWaitHandle - 正在创建 - 资源创建已启动”
所以,我正在进一步研究这个问题。帖子提到了to another forum thread,有问题的用户应该尝试删除他们的 DynamoDB 条目并将 ClusterReplicaSetCount 设置为 3。
这里的问题:在 DynamoDB 中没有条目,将 ClusterReplicaSetCount 更改为 3 也会导致回滚并出现类似错误:
ConfigServer2WaitForNodeInstall WaitCondition 超时。收到 0 期望 1 时的条件
以后
MONGODBSTACK1 未能创建以下资源: [ConfigServer1WaitForNodeInstall, PrimaryReplicaNode00WaitForNodeInstallGP2, ConfigServer0WaitForNodeInstall, SecondaryReplicaNode00WaitForNodeInstallGP2, SecondaryReplicaNode01WaitForNodeInstallGP2, ConfigServer2WaitForNodeInstall]。
总结
在这两种情况下,PrimaryReplicaNodeXYWaitForNodeInstallGP2(其中 XY 是节点的编号)都会失败,而安装的所有其他部分都已成功完成。我完全处于黑暗之中。
有人解决这个问题吗?快速入门是从 2016 年开始的,我想肯定有人成功创建了这个 mongo 堆栈!?
【问题讨论】:
-
谁投票结束了这个问题:你能参考一下这个问题的解决方案吗?这里没有人在 AWS 上设置过 mongo 数据库吗?
标签: mongodb amazon-web-services templates amazon-ec2 amazon-cloudformation