-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[arm-dns] Client hangs when trying to create recordSet #6152
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @sfiguemsft |
@KarenHammons @rohinkoul can you look into this please? |
@karravi-msft looks like the operation is failing with a 5xx error which can be due to problems in ARM or DNS frontend - can you look into this please? |
@SkyaTura I think your parameters definition is not right. you can refer to line 270 to 453 of sdk/dns/arm-dns/src/models/mappers.ts. parameters here should have common properties of a RecordSet. So I changed the parameters properties TTL to tTL, TXTRecords to txtRecords and found it succeeded. |
I'll check it as soon as possible, but in that case, the error shouldn't be 4xx? |
I feel that's strange too, but I did change the parameter properties and it works for me. If problem still exists, I need to involve relevant team to take a look. |
I've tried as you said and that worked fine. |
Thanks for working with Microsoft on GitHub! Tell us how you feel about your experience using the reactions on this comment. |
@azure/arm-dns
3.2.0
MacOS Mojave 10.14.16
v10.16.3
Describe the bug
DnsManagementClient won't createOrUpdate a recordSet.
When trying to use
recordSets.createOrUpdate()
method, the client hangs for a while and then throws an InternalServerError.While this may be related with #420, it's important to notice that, for me, other methods like get and list works fine. Only
recordSets.createOrUpdate()
is failing.To Reproduce
Steps to reproduce the behavior:
npm init
@azure/ms-rest-nodeatuh
and@azure/arm-dns
node
Expected behavior
The record set with relative path
testrelativeRecordSetName
and typeTXT
to be created on the DNS Zone with nametestzoneName
and resource grouptestresourceGroupName
at my subscription.Additional context
Error log:
The text was updated successfully, but these errors were encountered: