AttachVolume.Attach failed for volume "pvc-aa80d42e-b2a5-4041-8c2a-077a907c14c3":
timed out waiting for external-attacher
of ebs.csi.aws.com CSI driver to attach volume vol-037dfa93b1239b203
Shell
복사
•
이 문제는 권한문제로 보통 발생한다. 아래의 권한이 있는지 체크하자.
ec2:AttachVolume
ec2:DetachVolume
ec2:CreateTags
Shell
복사
cat << EOF > ebs-policy.json
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ec2:CreateVolume",
"ec2:DeleteVolume",
"ec2:AttachVolume",
"ec2:DetachVolume",
"ec2:DescribeVolumes",
"ec2:DescribeVolumeStatus",
"ec2:ModifyVolume",
"ec2:CreateTags"
],
"Resource": "*"
}
]
}
EOF
Shell
복사


