- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
As indicated in my original post I've already tried detaching the volumes manually and received the indicated error. It also fails with the same error from the CLI
$ aws ec2 describe-volumes --volume-ids vol-0f17470baa63006ff
{
"Volumes": [
{
"AvailabilityZone": "us-east-1a",
"Attachments": [],
"Encrypted": false,
"VolumeType": "gp2",
"VolumeId": "vol-0f17470baa63006ff",
"State": "in-use",
"Iops": 100,
"SnapshotId": "snap-05eb12ba85dc30baa",
"CreateTime": "2020-04-21T15:55:36.853Z",
"MultiAttachEnabled": false,
"Size": 9
}
]
}
$ aws ec2 describe-volumes --volume-ids vol-0c5b6786dfff82b02
{
"Volumes": [
{
"AvailabilityZone": "us-east-1a",
"Attachments": [],
"Encrypted": false,
"VolumeType": "gp2",
"VolumeId": "vol-0c5b6786dfff82b02",
"State": "in-use",
"Iops": 100,
"SnapshotId": "snap-05eb12ba85dc30baa",
"CreateTime": "2020-04-21T15:53:13.137Z",
"MultiAttachEnabled": false,
"Size": 8
}
]
}
$ aws ec2 detach-volume --volume-id vol-0f17470baa63006ff --force
An error occurred (IncorrectState) when calling the DetachVolume operation: Volume 'vol-0f17470baa63006ff' is in the 'available' state.
$ aws ec2 detach-volume --volume-id vol-0c5b6786dfff82b02 --force
An error occurred (IncorrectState) when calling the DetachVolume operation: Volume 'vol-0c5b6786dfff82b02' is in the 'available' state.
Looks like they're finally showing as available and I was able to delete them. Thanks.
Hi,
Thank you for confirming that the issue has been solved.
Regards,
awstomas
Hello TMegee,
I am sorry to hear about the issue.
Can you please try to detach the volumes manually using EC2 Console \[1] or using AWS CLI \[2] (if you have not tried this already)?
Links:
[1] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-detaching-volume.html
[2] https://docs.aws.amazon.com/cli/latest/reference/ec2/detach-volume.html
Regards,
awstomas
Hello TMegee,
I can see that the EBS volumes are still reporting as attached but they are not associated with any resources. I am checking this internally and I will let you know as soon as I have updates.
Thank you,
VasosAWS
Contenuto pertinente
- AWS UFFICIALEAggiornata 8 mesi fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 8 mesi fa
- AWS UFFICIALEAggiornata un anno fa
I'm having the same problem. Amazon told me that they won't do anything unless I pay then $29/month for support.