You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Error while removing volume "0787-7f70b239-b7a2-4e34-b92a-34d398ee0f13"for instance 0787_563e4151-469d-48c4-b1d1-cc319701cb4b: "Provided volume attachment ID not attached to VSI"
Expected Behavior
When executing terraform destroy instance with data volumes should be deleted
Actual Behavior
When executing terraform destroy instances are not being deleted and terraform exit error
Steps to Reproduce
terraform destroy
Extra info from IBM Cloud shell
After terraform apply
@cloudshell:~$ ibmcloud is instance-volume-attachments 0787_563e4151-469d-48c4-b1d1-cc319701cb4b
Listing volume attachments of instance 0787_563e4151-469d-48c4-b1d1-cc319701cb4b under account ...
ID Name Volume Created Status Type Auto delete
0787-6abbd53c-dfb0-42b7-81fd-9af11ebb56ee volume-attachment boot-vol-osp-master-01 2020-05-06T17:58:07+00:00 attached boot yes
0787-7f70b239-b7a2-4e34-b92a-34d398ee0f13 volume-attachment data-vol-osp-master-01 2020-05-06T17:58:40+00:00 attached data no
0787-e95f2a5f-4cac-4c55-b4e3-9facda8b5870 volume-attachment log-vol-osp-master-01 2020-05-06T17:59:12+00:00 attached data no
After terraform destroy
@cloudshell:~$ ibmcloud is instance-volume-attachments 0787_563e4151-469d-48c4-b1d1-cc319701cb4b
Listing volume attachments of instance 0787_563e4151-469d-48c4-b1d1-cc319701cb4b under account ...
ID Name Volume Created Status Type Auto delete
0787-6abbd53c-dfb0-42b7-81fd-9af11ebb56ee volume-attachment boot-vol-osp-master-01 2020-05-06T17:58:07+00:00 attaching boot yes
0787-7f70b239-b7a2-4e34-b92a-34d398ee0f13 volume-attachment data-vol-osp-master-01 2020-05-06T17:58:40+00:00 attaching data no
0787-e95f2a5f-4cac-4c55-b4e3-9facda8b5870 volume-attachment log-vol-osp-master-01 2020-05-06T17:59:12+00:00 attaching data no
The text was updated successfully, but these errors were encountered:
VaishnaviGopal
added a commit
to VaishnaviGopal/terraform-provider-ibm
that referenced
this issue
May 7, 2020
Terraform Version
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Simple resource declaration
Debug Output
Expected Behavior
When executing
terraform destroy
instance with data volumes should be deletedActual Behavior
When executing
terraform destroy
instances are not being deleted and terraform exit errorSteps to Reproduce
terraform destroy
Extra info from IBM Cloud shell
After
terraform apply
@cloudshell:~$ ibmcloud is instance-volume-attachments 0787_563e4151-469d-48c4-b1d1-cc319701cb4b Listing volume attachments of instance 0787_563e4151-469d-48c4-b1d1-cc319701cb4b under account ... ID Name Volume Created Status Type Auto delete 0787-6abbd53c-dfb0-42b7-81fd-9af11ebb56ee volume-attachment boot-vol-osp-master-01 2020-05-06T17:58:07+00:00 attached boot yes 0787-7f70b239-b7a2-4e34-b92a-34d398ee0f13 volume-attachment data-vol-osp-master-01 2020-05-06T17:58:40+00:00 attached data no 0787-e95f2a5f-4cac-4c55-b4e3-9facda8b5870 volume-attachment log-vol-osp-master-01 2020-05-06T17:59:12+00:00 attached data no
After
terraform destroy
@cloudshell:~$ ibmcloud is instance-volume-attachments 0787_563e4151-469d-48c4-b1d1-cc319701cb4b Listing volume attachments of instance 0787_563e4151-469d-48c4-b1d1-cc319701cb4b under account ... ID Name Volume Created Status Type Auto delete 0787-6abbd53c-dfb0-42b7-81fd-9af11ebb56ee volume-attachment boot-vol-osp-master-01 2020-05-06T17:58:07+00:00 attaching boot yes 0787-7f70b239-b7a2-4e34-b92a-34d398ee0f13 volume-attachment data-vol-osp-master-01 2020-05-06T17:58:40+00:00 attaching data no 0787-e95f2a5f-4cac-4c55-b4e3-9facda8b5870 volume-attachment log-vol-osp-master-01 2020-05-06T17:59:12+00:00 attaching data no
The text was updated successfully, but these errors were encountered: