Skip to content
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

Creating cluster eventually returns 503 #256

Closed
mykewould opened this issue Jul 1, 2020 · 2 comments
Closed

Creating cluster eventually returns 503 #256

mykewould opened this issue Jul 1, 2020 · 2 comments

Comments

@mykewould
Copy link

mykewould commented Jul 1, 2020

When creating a cluster the provider will eventually return a 503 error. The cluster continues going on to be made, but Terraform doesn't think the cluster completed. This creates a problem where terraform always tries to recreate the already made cluster.

Error

[ERROR] [STDERR] * mongodbatlas_cluster.this: error creating MongoDB Cluster: GET 
https://cloud.mongodb.com/api/atlas/v1.0/groups/xxx/clusters/xxxr: 503 (request "<!DOCTYPE html>\n
<html>
   \n\n  
   <head>
      \n    
      <title>MongoDB Cloud Manager Unavailable</title>
      \n\n    
      <style type=\"text/css\">\n      body {\n        padding: 50px;\n        background: #f1f2f5;\n        color: #313030;\n        font-family: \"PT Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n        text-align: center;\n      }\n\n      h1 {\n        //margin: 50px 0;\n        font-weight: normal;\n        font-size: 28px;\n      }\n\n      h2, h3 {\n        color: #615f5f;\n        font-size: 18px;\n        line-height: 28px;\n        font-weight: normal;\n        //margin-bottom: 50px;\n      }\n\n      h4 {\n        color: #615f5f;\n        font-size: 12px;\n        line-height: 28px;\n        font-weight: normal;\n        margin-bottom: 50px;\n      }\n\n      p {\n        color: #615f5f;\n        font-size: 16px;\n        margin: 10px 0;\n      }\n\n      a {\n        color: #006cbc;\n      }\n\n      .separator {\n        display: inline-block;\n        margin: 0 10px;\n        color: #a09f9e;\n      }\n    </style>
      \n  
   </head>
   \n\n  
   <body>
      \n    <img src=\"https://media.mongodb.org/logo-mongodb-onwhite-200.png\">\n\n    
      <h1>MongoDB Cloud Manager is currently unavailable</h1>
      \n\n    
      <p>\n      We'll restore service as soon as possible.<br/>\n      See our <a href=\"http://status.cloud.mongodb.com/\">status page</a> for more updates.\n    </p>
      \n\n    
      <h2>\n      If you need immediate assistance, please contact support:\n    </h2>
      \n\n    
      <p>\n      <strong>Americas</strong>: 1-646-201-9247\n      <span class=\"separator\">|</span> \n      <strong>Europe, Middle East & Africa</strong>: (0)20 300 49321\n      <span class=\"separator\">|</span> \n      <strong>Asia</strong>: +61 2 4022 8861\n    
      <p>\n      <strong>India</strong>: 000-800-100-7387 &nbsp;\n      <strong>Tokyo</strong>: +813457893597 <br/>\n      <strong>Beijing, China</strong>: +86-10-84053445 &nbsp;\n      <strong>Shenzen, China</strong>: +86-755-86243507 <br/>\n      <strong>Hong Kong</strong>: 800-906-177 &nbsp;\n      <strong>Taipei</strong>: +886-2-7745-0460\n    </p>
      \n    </h3>\n\n\n  
   </body>
   \n\n
</html>
\n")
@themantissa
Copy link
Collaborator

Hi @mykewould, Could you provide some more information to help us better understand how this potential issue is being reached:

  • Are you working with with Atlas support, i.e. is a case already open?
  • Terraform version
  • MongoDB Atlas Provider version
  • terraform config being used
  • logs (DEBUG level is great)
    Please redact any sensitive information before sharing here.

Thanks!
Melissa

@themantissa
Copy link
Collaborator

@mykewould we've released a preview version that should allow you to test if this fixes the issue (may be hard in this case so more fyi). If you can confirm we'd appreciate it.
https://github.com/mongodb/terraform-provider-mongodbatlas/releases/tag/0.6.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants