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

azure.devices: DestroyFailure for iothubfallbackroute and iothubendpointstoragecontainer #18

Closed
ytsarev opened this issue Aug 24, 2022 · 3 comments
Labels
bug Something isn't working is:triaged stale

Comments

@ytsarev
Copy link
Collaborator

ytsarev commented Aug 24, 2022

What happened?

Caught by local uptest of provider-azure/examples/devices/iothub-all-in-one.yaml during the work on upbound/official-providers#501

NAME                                                   READY   SYNCED   EXTERNAL-NAME                                                                                                                                         AGE
iothubfallbackroute.devices.azure.upbound.io/example   False   False    /subscriptions/038f2b7c-3265-43b8-8624-c9ad5da610a8/resourceGroups/example-iothub/providers/Microsoft.Devices/IotHubs/example/FallbackRoute/default   26m

NAME                                                              READY   SYNCED   EXTERNAL-NAME   AGE
iothubendpointstoragecontainer.devices.azure.upbound.io/example   False   False    example         26m
$ k describe iothubendpointstoragecontainer.devices.azure.upbound.io/example
...
    Last Transition Time:  2022-08-24T10:01:43Z
    Reason:                Deleting
    Status:                False
    Type:                  Ready
    Last Transition Time:  2022-08-24T10:01:48Z
    Message:               destroy failed: loading IotHub "example" (Resource Group "example-iothub"): devices.IotHubResourceClient#Get: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: error response cannot be parsed: {"{\"code\":404002,\"httpStatusCode\":\"NotFound\",\"message\":\"IotHub 'example' not found under ResourceGroup 'example-iothub' and Subscription '038f2b7c-3265-43b8-8624-c9ad5da610a8'. If you contact a support representative please include this correlation identifier: b3c16d10-ed92-4e4f-a8c2-78fc05657877, timestamp: 2022-08-24 10:01:48Z, errorcode: IH404002.\"}" '\x00' '\x00'} error: json: cannot unmarshal number into Go struct field serviceErrorInternal.code of type string: : File name: main.tf.json
    Reason:                DestroyFailure
    Status:                False
    Type:                  LastAsyncOperation
 $k describe iothubfallbackroute.devices.azure.upbound.io/example
...
   Last Transition Time:  2022-08-24T10:01:17Z
    Reason:                Deleting
    Status:                False
    Type:                  Ready
    Last Transition Time:  2022-08-24T10:01:42Z
    Message:               destroy failed: updating Fallback Route: (Fallback Route Name "default" / Iot Hub Name "example" / Resource Group "example-iothub"): devices.IotHubResourceClient#CreateOrUpdate: Failure sending request: StatusCode=409 -- Original Error: Code="Failed" Message="The async operation failed." InnerError={"unmarshalError":"json: cannot unmarshal number into Go struct field serviceErrorInternal.code of type string"} AdditionalInfo=[{"code":409002,"httpStatusCode":"Conflict","message":"Operation in progress. If you contact a support representative please include this correlation identifier: e91e0409-ead8-4b48-a901-2282f5e3f26a, timestamp: 2022-08-24 10:01:42Z, errorcode: IH409002."}]:
    Reason:                DestroyFailure
    Status:                False
    Type:                  LastAsyncOperation

How can we reproduce it?

 go run cmd/main.go --example-list "provider-azure/examples/devices/iothub-all-in-one.yaml" --provider provider-azure

What environment did it happen in?

  • Crossplane Version: universal-crossplane-1.9.0-up.3
  • Provider Name: azure
  • Provider Version: 616265fe24a42048617d251b3fb956fcf4fdcb3d for upbound/official-providers#501
@ytsarev ytsarev added the bug Something isn't working label Aug 24, 2022
@jeanduplessis jeanduplessis transferred this issue from another repository Oct 10, 2022
@turkenf
Copy link
Collaborator

turkenf commented Jul 4, 2023

This issue can be reproduced with provider-azure v0.34.0.

Copy link

This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as stale. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.

@github-actions github-actions bot added the stale label Apr 21, 2024
Copy link

github-actions bot commented May 5, 2024

This issue is being closed since there has been no activity for 14 days since marking it as stale. If you still need help, feel free to comment or reopen the issue!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working is:triaged stale
Projects
None yet
Development

No branches or pull requests

3 participants