-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
504 error during deployment or destroying resources #116
Comments
we have not seen this kind of issue before, could you send you playbook (.tf) file which is used? |
@suhasbshekar the error does not always happens but it sometime happens with other error messages like below Could you let me know the safe way to upload the files so that you can investigate it? Error 1
Error 2
Error 3
Error 4
Error 5
|
yes, sometimes it will take 35 mins or more, but we test with demo version OR simple inputs, it depends on the complexity of the various inputs used. |
it can reach 35 minutes for HA. |
@edarzi 504 error happens during mediator is created. |
Could you let us know how to import netapp-cloudmanager_cvo_aws in TF state file as well? |
@edarzi @suhasbshekar as required, I have created NetApp support case (2009274344) and I uploaded the playbook file on the case. |
https://registry.terraform.io/providers/NetApp/netapp-cloudmanager/latest/docs/data-sources/cvo_aws |
@edarzi @lonico we still have the same issue and we are trying to import the resources rather than deleting CVO through CloudFormation. Could we import the CVO resources with 'terraform import' rather than using data source?
|
No we don't support importing a connector. The APIs do not allow us to fetch enough information. It would be better if Cloud Manager could provide an API to create a connector, rather than us having to go through the Cloud Provider APIs and Cloud Manager APIs. This introduces a level of complexity. |
@lonico @edarzi @suhasbshekar the issue keeps happening from Terraform Enterprise and local laptop. I cannot see any error on the timeline of Cloud manager. The CVO are successfully deployed in AWS while the error occurs but I have to redeploy the CVOs due to the inconsistent TF state file. |
@bryanheo Since it looks like a Cloud Manager issue, I would suggest you open a case to track this issue. @suhasbshekar @edarzi Should we retry on such an error? How many times? Can we be more specific about the context? |
@lonico Thank you for your suggestion. I am not sure whether this issue is related to Cloud Manager or not because I did not have 504 error when I deployed CVO by Cloud Manager manually. Anyway, as you suggested I will create a case on NetApp support site. |
Will need some more details in order to track and debug. Ping me at [email protected] |
@edarzi Thank you for your reply. As mentioned earlier, I have uploaded our entire TF code on NetApp support case (2009274344) and could you have a look? If you cannot access the case, please let me know |
I will need logs from the connector
…________________________________
From: bryanheo ***@***.***>
Sent: Saturday, September 3, 2022 12:47:13 AM
To: NetApp/terraform-provider-netapp-cloudmanager ***@***.***>
Cc: Darzi, Eran ***@***.***>; Mention ***@***.***>
Subject: Re: [NetApp/terraform-provider-netapp-cloudmanager] 504 error during deployment or destroying resources (Issue #116)
NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe.
@edarzi<https://github.com/edarzi> Thank you for your reply. As mentioned earlier, I have uploaded our entire TF code on NetApp support case (2009274344) and could you have a look? If you cannot access the case, please let me know
—
Reply to this email directly, view it on GitHub<#116 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALB4HM3VTMJLGUOE4XXNLPDV4JYWDANCNFSM56DU5WXA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@edarzi could you let me know how to get the logs from the connector? Could we use AutoSupport? |
you can download the auto support file from the Cloud manager UI and send it to my mail please |
@edarzi Any update on this. We're attempting to add a retry. But without understanding the root cause, we don't know if a retry would help, or how many times / how long we should try. |
@edarzi I have sent email with the auto support file from the Cloud manager UI but the file size is about 30MB and it has been rejected by your mail server. Could you let me know where to upload the 30MB file? (NetApp Support ticket does not allow autosupport 7z file either) |
We released 22.9.0 yesterday (9/8). It provides some retries on 504 errors. Can you see if it helps? |
@lonico I have deployed NetApp CVO clusters several times with 22.9.0 and I have not seen 504 error so far. |
That's great news. As you know, we added a retry on 504. You could see it in the logs by setting TF_LOG to DEBUG or TRACE. |
Hi @lonico I`m Gabor with NetApp Tech Support and have been working with the customer on this issue. @bryanheo as discussed, for me to investigate from the cloud manager end, we would need to have logging verbosity enabled in the cloud manager. This might allow us to see how long it takes for cm to process the requests and we can proactively enhance the software to work better with terraform. Once done, simply trigger a cloud manager auto support and I will review it. |
Hi @lonico |
Hello
We are deploying NetApp CVO in AWS through Terraform and sometime we have 504 error during deployment as shown below but the actual resources are successfully created in AWS. Due to the error, TF state file is not updated and we have to re-deploy TF (destroying the existing AWS resources by CloudFormation and redeploying by Terraform Enterprise). If we re-deploy TF then it works ok. It also sometime happens when we destroy TF resources.
Is it a known issue or Is it something you can investigate it?
504 error during the deployment
504 error during destroying TF resources
Regards
Moon
The text was updated successfully, but these errors were encountered: