iothubprovisioningservices - delete crashes in poller #11197
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
IoT
issue-addressed
Workflow: The Azure SDK team believes it to be addressed and ready to close.
Mgmt
This issue is related to a management-plane library.
Milestone
Package Name:
azure-mgmt-iotubprovisioningservices
Package Version:
0.2.0
Operating System:
Docker Ubuntu
Python Version:
3.6.9
Describe the bug
delete() crashes as below. probably service side implementation is not correct.
sdk/iothub/azure-mgmt-iothubprovisioningservices/tests/test_cli_mgmt_iothubprovisioningservices.py:124:
/env/lib/python3.6/site-packages/msrest/polling/poller.py:183: in result
self.wait(timeout)
/env/lib/python3.6/site-packages/msrest/polling/poller.py:201: in wait
raise self._exception # type: ignore
/env/lib/python3.6/site-packages/msrest/polling/poller.py:152: in _start
self._polling_method.run()
self = <msrestazure.polling.arm_polling.ARMPolling object at 0x7fe6c46bc908>
E msrestazure.azure_exceptions.CloudError: Azure Error: ResourceNotFound
E Message: The Resource 'Microsoft.Devices/ProvisioningServices/myProvisioningServiceRND' under resource group 'test_cli_mgmt_iothubprovisioningservices_test_iothubprovisioningservices4ed01e44' was not found.
/env/lib/python3.6/site-packages/msrestazure/polling/arm_polling.py:393: CloudError
To Reproduce
Steps to reproduce the behavior:
1.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: