Closed phamp890 closed 6 months ago
Describe the issue
409 error occurs when deleting OCI file storage snapshot
TASK [Delete snapshot] ************************************************************************************************************************* Friday 10 May 2024 21:52:58 +0200 (0:00:00.027) 0:00:05.746 ************ fatal: [X.X.X.X -> localhost]: FAILED! => {"changed": false, "error_code": "Conflict", "http_response_status": "409", "module_documentation": "Refer to this link https://docs.oracle.com/en-us/iaas/tools/oci-ansible-collection/latest/collections/oracle/oci/oci_file_storage_snapshot_module.html", "msg": "Deleting resource failed with exception: Another Snapshot is currently being provisioned, try again later", "opc_request_id": "XXXXXXXXXX", "operation_name": "delete_snapshot", "request_endpoint": "DELETE https://filestorage.oraclecloud.com/XXXXXX/snapshots/ocid1.snapshot.oc1..xxxxxxEXAMPLExxxxxx", "service_name": "file_storage", "time": "2024-05-10T19:52:59.613934+00:00", "troubleshooting_tips": "Refer to troubleshooting guide https://docs.oracle.com/en-us/iaas/tools/oci-ansible-collection/latest/guides/troubleshooting-guide.html"} changed: [X.X.X.X -> localhost]
Expected behavior
Snapshot got deleted but did not expect getting 409 error. https://docs.oracle.com/en-us/iaas/Content/File/Reference/known-issues-for-file-storage.htm Explain I might encounter Compartment Quotas feature. But then it is strange snapshot got deleted.
Environment
OS version:
ansible host Ubuntu 22.04.2 LTS, dest host: Oracle Linux 7.9
Ansible version:
ansible [core 2.14.4]
OCI Python SDK version:
2.125.0
OCI Ansible Modules version:
oracle.oci 4.43.0
Ansible playbook to reproduce the issue
- name: Delete snapshot oracle.oci.oci_file_storage_snapshot: snapshot_id: "ocid1.snapshot.oc1..xxxxxxEXAMPLExxxxxx" state: absent
I'm not getting 409 error anymore. Seems like it was "Compartment Quotas feature" causing 409 error. Closing this ticket.
Issue Report
Describe the issue
409 error occurs when deleting OCI file storage snapshot
Expected behavior
Snapshot got deleted but did not expect getting 409 error. https://docs.oracle.com/en-us/iaas/Content/File/Reference/known-issues-for-file-storage.htm Explain I might encounter Compartment Quotas feature. But then it is strange snapshot got deleted.
Environment
OS version:
ansible host Ubuntu 22.04.2 LTS, dest host: Oracle Linux 7.9
Ansible version:
ansible [core 2.14.4]
OCI Python SDK version:
2.125.0
OCI Ansible Modules version:
oracle.oci 4.43.0
Ansible playbook to reproduce the issue