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

iothubprovisioningservices - delete crashes in poller #11197

Closed
zikalino opened this issue May 2, 2020 · 2 comments
Closed

iothubprovisioningservices - delete crashes in poller #11197

zikalino opened this issue May 2, 2020 · 2 comments
Assignees
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

Comments

@zikalino
Copy link

zikalino commented May 2, 2020

  • 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.

    result = self.mgmt_client.iot_dps_resource.delete(resource_group_name=RESOURCE_GROUP, provisioning_service_name=PROVISIONING_SERVICE_NAME)
  result = result.result()

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>

def run(self):
    try:
        self._poll()
    except BadStatus:
        self._operation.status = 'Failed'
      raise CloudError(self._response)

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.

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label May 2, 2020
@lmazuel lmazuel added bug This issue requires a change to an existing behavior in the product in order to be resolved. IoT Mgmt This issue is related to a management-plane library. labels May 4, 2020
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label May 4, 2020
@lmazuel lmazuel added this to the Backlog milestone May 4, 2020
@xiangyan99 xiangyan99 assigned msyyc and unassigned zikalino Nov 30, 2021
@RAY-316 RAY-316 added the issue-addressed Workflow: The Azure SDK team believes it to be addressed and ready to close. label Dec 15, 2021
@ghost
Copy link

ghost commented Dec 15, 2021

Hi @zikalino. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text “/unresolve” to remove the “issue-addressed” label and continue the conversation.

@ghost
Copy link

ghost commented Dec 22, 2021

Hi @zikalino, since you haven’t asked that we “/unresolve” the issue, we’ll close this out. If you believe further discussion is needed, please add a comment “/unresolve” to reopen the issue.

@ghost ghost closed this as completed Dec 22, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.
Projects
None yet
Development

No branches or pull requests

4 participants