为什么 OpsCenter 不再允许我在默认 EC2 网络上创建节点?

Why OpsCenter doesn't allow me create nodes on the default EC2 Network anymore?

我不得不将我们的 DataStax OpsCenter 服务从 5.1.3 更新到 5.2.1 因为当我尝试添加一个我们的 Cassandra 集群的新节点(Amazon EC2 上的 DSE 4.6.6)它说 "No nodes were available to retrieve a configuration from."

更新到 5.2.1 解决了这个问题,但又产生了一个新问题;现在 VPC ID 不允许我在 EC2 默认网络上创建节点,它没有完全显示,它只允许我选择我们已有的 2 个 VPC 之一。

他们似乎在 5.2.0 上添加了 VPC 支持...

Support for AWS VPC when creating clusters/nodes in the EC2 Cloud. (OPSC-3429) http://docs.datastax.com/en/opscenter/5.2/opsc/release_notes/opscReleaseNotes520.html

但它不应该是强制性的,因为在 "Add node" 文档中它还说了以下...

A list of current VPC IDs in the region in which the current OpsCenter instance is built. Both the VPC ID and the network range are displayed. The AWS default VPC ID is also indicated. The VPC ID list is prepopulated after entering your EC2 credentials. An AWS VPC (Amazon Web Services Virtual Private Cloud) holds one contiguous network range that can be subdivided into subnets. http://docs.datastax.com/en/opscenter/5.2//opsc/online_help/opscAddNodeCloudCluster.html

我需要在默认的 EC2 网络上创建节点,因为其他节点已经存在并且迁移到 VPC 目前不是我们的选择(也许在不久的将来我们会有时间这样做)。

这里是 OpsCenter 开发人员,我编写了 VPC 功能。您能否在展开 VPC 下拉列表的情况下截图您的添加节点表单(随意涂黑任何 aws-id 或您认为敏感的信息)?

一个可能很明显或可能是问题根源的说明。 "default EC2 network" 又名 "EC2 classic" 是 VPC 中的 ,OpsCenter(以及许多 AWS 文档)将其称为默认 VPC。这应该在 VPC 下拉列表中表示为 "vpc-123456 10.0.0.0/24 (default)"。如果你 select 这个 VPC,你不是 "migrating to VPC" 或者在不同的地方启动节点。您将在不同名称的 "EC2 classic" 或 "default vpc" 中启动,这是您现有节点当前所在的位置。您可以通过比较列出的网络来验证这一点,它应该与您的节点已经启动的网络相匹配。

如果您没有看到任何标记为 "default" 的 VPC 选项,那么您可能遇到了错误。