Azure / azure-iot-pcs-remote-monitoring-dotnet

Azure IoT .NET solution for Remote Monitoring
MIT License
162 stars 95 forks source link

Error: Long running operation failed with error: "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details #173

Closed magixus closed 3 years ago

magixus commented 4 years ago

Type of issue

Description

I'm running ubuntu 20.04 LTS and tried to install remote monitoring locally with docker. When I try to create Azure resources with pcs i get this error (twice till now) ... ✓ Provisioning State: Succeeded Resource Type: Microsoft.Devices/Iothubs/Iothubkeys ✕ Error: Long running operation failed with error: "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.".

Screenshot

terminal error

error on portal

error details

Steps to reproduce

Expected behavior

Create all azure iot resources.

Current behavior

Failed to create azure resources.

Known workarounds

...

Possible solution

fix this error:

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Conflict","message":"{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"VMExtensionProvisioningError\",\r\n \"message\": \"VM has reported a failure when processing extension 'scriptextensions'. Error message: \\\"Enable failed: failed to execute command: command terminated with exit status=1\\n[stdout]\\nExit code: 1\\nSetup failed, please see log file '/app/setup.log' for more information\\n\\n[stderr]\\n\\\"\\r\\n\\r\\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot \"\r\n }\r\n ]\r\n }\r\n}"}]}

Context and Environment

miwolfms commented 3 years ago

Note: As of December 10th 2020, Remote Monitoring solution accelerator is no longer supported. All supporting repositories have been archived.