I registered an AWS ebs volume with this file:
type = "csi"
id = "elasticsearch_data[0]"
name = "elasticsearch_data[0]"
external_id = "vol-0f05174864a181762"
plugin_id = "aws-ebs0"
mount_options {
fs_type = "ext4"
}
capability {
access_mode = "single-node-writer"
attachment_mode = "file-system"
}
topology_request {
required {
topology {
segments {
# tried both of these
# "aws/placement/zone" = "us-west-2a"
"topology.ebs.csi.aws.com/zone" = "us-west-2a"
}
}
}
}
Here’s my volume
block:
volume "data" {
type = "csi"
source = "elasticsearch_data"
attachment_mode = "file-system"
access_mode = "single-node-writer"
per_alloc = true
mount_options {
fs_type = "ext4"
}
}
Getting this error:
* Constraint "did not meet topology requirement": 1 nodes excluded by filter
Why?
Also, how/where would I go to get more information? I put my servers on log_level=TRACE and didn’t see much else there.
Thanks!