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

Cosmos DB CheckNameExists failing with 500 #5157

Closed
katbyte opened this issue Jun 28, 2019 · 4 comments
Closed

Cosmos DB CheckNameExists failing with 500 #5157

katbyte opened this issue Jun 28, 2019 · 4 comments
Assignees
Labels
Cosmos customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library.

Comments

@katbyte
Copy link

katbyte commented Jun 28, 2019

Bug Report

  • import path of package in question, e.g. .../services/compute/mgmt/2018-06-01/compute
    "github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb"
  • SDK version e.g. master, latest, 18.1.0
    github.com/Azure/azure-sdk-for-go v30.0.0+incompatible
  • output of go version
    go version go1.12.6 darwin/amd64

With no code changes all our cosmos DB tests started failing sometime in the last week with:
``
------- Stdout: -------
=== RUN TestAccAzureRMCosmosDBAccount_strong
=== PAUSE TestAccAzureRMCosmosDBAccount_strong
=== CONT TestAccAzureRMCosmosDBAccount_strong
--- FAIL: TestAccAzureRMCosmosDBAccount_strong (516.37s)
testing.go:568: Step 0 error: errors during apply:

    Error: Error checking if CosmosDB Account "acctest-190628022825260962" already exists (Resource Group "acctestRG-190628022825260962"): documentdb.DatabaseAccountsClient#CheckNameExists: Failure responding to request: StatusCode=500 -- Original Error: autorest/azure: error response cannot be parsed: "" error: EOF
    
      on /opt/teamcity-agent/temp/buildTmp/tf-test027250150/main.tf line 7:
      (source code not available)

<!--
Thanks!
-->
@jhendrixMSFT
Copy link
Member

jhendrixMSFT commented Jun 28, 2019

Thanks I can repro this, will follow up with the RP.

@jhendrixMSFT
Copy link
Member

Known issue, RP is working on a fix. Will update when I have more info.

@katbyte
Copy link
Author

katbyte commented Jun 28, 2019

thanks for the update @jhendrixMSFT, we are going to release 1.31 today with an unideal fix (ignore 500s) but it'll unblock users

@jhendrixMSFT
Copy link
Member

@katbyte RP has fixed this and I confirmed it's working now. Please let me know if you still have issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Cosmos customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library.
Projects
None yet
Development

No branches or pull requests

3 participants