Closed abalaie closed 1 month ago
Description
GcpNfsVolume doesn't recognize already created filestore and keeps getting "already exists" error
Expected result
Even if create filestore fails, it needs to recover in the next reconciler loop
Actual result
User manually tried to create a gcp nfs volume id=6da23be3-4007-4458-9bb6-2c96dd90d222 for demo prep, but it ended up in the error state. Checking logs found the error Error updating Filestore object in GCP :Post "https://file.googleapis.com/v1/projects/sap-gcp-skr-dev-cust-00002/locations/us-central1-a/instances?alt=json&instanceId=cm-6da23be3-4007-4458-9bb6-2c96dd90d222&prettyPrint=false": net/http: request canceled (Client.Timeout exceeded while awaiting headers) In the next loop it does not recognize the filestore was created and tried to create it again and keeps failing due to already exists error. Steps to reproduce
Troubleshooting
Description
GcpNfsVolume doesn't recognize already created filestore and keeps getting "already exists" error
Expected result
Even if create filestore fails, it needs to recover in the next reconciler loop
Actual result
User manually tried to create a gcp nfs volume id=6da23be3-4007-4458-9bb6-2c96dd90d222 for demo prep, but it ended up in the error state. Checking logs found the error Error updating Filestore object in GCP :Post "https://file.googleapis.com/v1/projects/sap-gcp-skr-dev-cust-00002/locations/us-central1-a/instances?alt=json&instanceId=cm-6da23be3-4007-4458-9bb6-2c96dd90d222&prettyPrint=false": net/http: request canceled (Client.Timeout exceeded while awaiting headers) In the next loop it does not recognize the filestore was created and tried to create it again and keeps failing due to already exists error. Steps to reproduce
Troubleshooting