-
Notifications
You must be signed in to change notification settings - Fork 861
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
[Recovery Services] ProtectedItemsClient returns some azure resource ID's with Subscriptions capitalized. #2824
Comments
@sumitmal can you please comment on this? |
@marstr, any updates on this one? |
I have a thread going internally. I'm still being routed to the correct owner, so no update yet. |
@jhendrixMSFT - is there any update here? :) |
@tombuildsstuff looks like the email thread died. :( Working on it... |
@katbyte, @tombuildstuff: I want to understand, if the sequence failing because the Subscription is returned in uppercase? Because this issue is marked as blocked, I want to understand more on this scenario. Adding @AditTulasi for information. |
#customer-response-expected |
#please-close |
This is still an issue @pvrk. Yes this causes issues and other APIs to fail because they expect subscriptions to be lowercase and we are getting it as uppercase. |
@pvrk, @jhendrixMSFT, any progress on this? we have another PR that has uncovered many many more case differences with the recovery services API: https://github.com/terraform-providers/terraform-provider-azurerm/pull/4003/files |
@TAdityaAnirudh: can you please check this? |
Thanks for the clarification @katbyte . We will fix it in upcoming release. Out of curiosity, why are those APIs expecting Subscription ID in lower case only? Shouldn't we be fixing those APIs instead of updating every other response? |
@TAdityaAnirudh & @pvrk, most if not every other azure api we work with returns it in lowercase (or expects it to be). recovery services seems to be the exception here so it stands to reason recovery services should change to be consistent with the rest of azure. |
Fix has been checked-in. It should be deployed by end of November. |
Thanks @TAdityaAnirudh! |
@katbyte : Now, the subscription ID is returned in lower case and for all other resource IDs, case is preserved. I hope I can close this issue. |
Hi @pvrk, it looks like the azure file share backup APIs are still returning |
@katbyte : Thanks for the feedback. Will check and let you know. |
@katbyte : We internally checked once more and saw that the fix is present even for AFS APIs. Can you please provide any particular API where you are still seeing the wrong case behavior? |
Closing this bug due to lack of response. We have checked internally once again and doesn't see this issue getting re-produced after the fix was provided. |
Bug Report
.../services/compute/mgmt/2018-06-01/compute
"github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/backup"
master
,latest
,18.1.0
go version
What happened?
backup.ProtectedItemsClient
returns its response.ID andresponse.Properties.PolicyID
in an unexpected format,Subscriptions
is unexpectedly capitalized. This stands out as the protection policy client returns ID's as lowercase so when using it as an input to this client a different value is returned.What did you expect or want to happen?
id returned with subscription in lower case
How can we reproduce it?
Anything we should know about your environment.
The text was updated successfully, but these errors were encountered: