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

Something went wrong with the resource group deployment. Ending script. #22

Open
umarali321 opened this issue Oct 12, 2023 · 0 comments

Comments

@umarali321
Copy link

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.
################################################
################################################

Unreal Engine and Azure Digital Twins

integration demo

################################################
################################################

Welcome to the Unreal Engine and Azure Digital Twins (ADT) integration demo. This deployment script will help you deploy a sandbox environment in your Azure subscription. This demo leverages the ADT Link plugin, that was created along with this sample demo by WSP in collaboration with Microsoft and Epic Games, in order to demonstrate how to integrate Azure Digital Twins with the Unreal Engine.

Press Enter to continue.

Verifying your Azure CLI installation version...

Great! You are using a supported Azure CLI version.

Verifying 'azure-iot' extension version...

Great! You are using a supported version of the extension 'azure-iot'.

Retrieving your current Azure subscription...

You are currently using the Azure subscription 'Free Trial'. Do you want to keep using it?
1: Yes
2: No. I want to use a different subscription

1:

Registering ADT resource provider in your subscription

Choose a region for your deployment from this list (using its Index):
1: Australia East
2: East US
3: East US 2
4: North Europe
5: South Central US
6: Southeast Asia
7: UK South
8: West Europe
9: West US 2

: 5

Provide a name that describes your project. This will be used to create the resource group and the deployment resources.

: FlashCat

Creating resource group 'FlashCat-rg'...

Collecting current user information

Creating app registration manifest

Creating app registration 'FlashCat-rg-35724695' in Azure Active Directory

Creating service principal associated with the app registration

Creating client secret for app registration
WARNING: The output includes credentials that you must protect. Be sure that you do not include these credentials in your code or check the credentials into your source control. For more information, see https://aka.ms/azadsp-cli

Creating resource group deployment with id 'FlashCat-35724695'
WARNING: /home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(13,16) : Warning no-loc-expr-outside-params: Use a parameter here instead of 'resourceGroup().location'. 'resourceGroup().location' and 'deployment().location' should only be used as a default value for parameters. [https://aka.ms/bicep/linter/no-loc-expr-outside-params]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(93,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'identity'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(99,9) : Warning use-parent-property: Resource "eventHubRootRule" has its name formatted as a child of resource "eventHubNamespace". The syntax can be simplified by using the parent property. [https://aka.ms/bicep/linter/use-parent-property]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(111,9) : Warning use-parent-property: Resource "twinsEventHub" has its name formatted as a child of resource "eventHubNamespace". The syntax can be simplified by using the parent property. [https://aka.ms/bicep/linter/use-parent-property]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(135,9) : Warning use-parent-property: Resource "tsiEventHub" has its name formatted as a child of resource "eventHubNamespace". The syntax can be simplified by using the parent property. [https://aka.ms/bicep/linter/use-parent-property]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(330,105) : Warning BCP241: The "providers" function is deprecated and will be removed in a future release of Bicep. Please add a comment to Azure/bicep#2017 if you believe this will impact your workflow.
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(356,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'adt'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(367,9) : Warning use-parent-property: Resource "funcAppDeploy" has its name formatted as a child of resource "funcApp". The syntax can be simplified by using the parent property. [https://aka.ms/bicep/linter/use-parent-property]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(372,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'funcApp'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(386,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'iot'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(393,9) : Warning use-parent-property: Resource "eventGridIoTHubIngest" has its name formatted as a child of resource "eventGridIngestTopic". The syntax can be simplified by using the parent property. [https://aka.ms/bicep/linter/use-parent-property]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(413,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'eventGridIngestTopic'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(461,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'eventGridADTChangeLogTopic'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(582,9) : Warning use-parent-property: Resource "tsiEventSource" has its name formatted as a child of resource "tsiEnvironment". The syntax can be simplified by using the parent property. [https://aka.ms/bicep/linter/use-parent-property]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(587,28) : Warning simplify-interpolation: Remove unnecessary string interpolation. [https://aka.ms/bicep/linter/simplify-interpolation]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(589,26) : Warning simplify-interpolation: Remove unnecessary string interpolation. [https://aka.ms/bicep/linter/simplify-interpolation]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(659,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'appserver'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(660,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'tsiEnvironment'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(666,9) : Warning use-parent-property: Resource "webAppDeploy" has its name formatted as a child of resource "webApp". The syntax can be simplified by using the parent property. [https://aka.ms/bicep/linter/use-parent-property]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(671,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'webApp'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(699,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'adt'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(729,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'adt'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/umar/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(737,13) : Warning outputs-should-not-contain-secrets: Outputs should not contain secrets. Found possible secret: secure value 'appRegPassword' [https://aka.ms/bicep/linter/outputs-should-not-contain-secrets]

ERROR: {"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions/c709167f-fefc-4e8d-9a62-e87f377ec54b/resourceGroups/FlashCat-rg/providers/Microsoft.Resources/deployments/FlashCat-35724695","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"ResourceDeploymentFailure","target":"/subscriptions/c709167f-fefc-4e8d-9a62-e87f377ec54b/resourceGroups/FlashCat-rg/providers/Microsoft.Web/sites/funcapp-35724695/extensions/MSDeploy","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'failed'.","details":[{"code":"Failed","message":"ARM-MSDeploy Deploy Failed: 'Microsoft.Web.Deployment.DeploymentDetailedException: Object of type 'package' and path 'C:\local\Temp\3144cd61-b75c-44df-8cf5-06955c5b3b1f.zip' cannot be created. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXCEPTION_WHILE_CREATING_OBJECT. ---> Microsoft.Web.Deployment.DeploymentException: The Zip package 'C:\local\Temp\3144cd61-b75c-44df-8cf5-06955c5b3b1f.zip' could not be loaded. ---> System.IO.EndOfStreamException: Unable to read beyond the end of the stream.\r\n at System.IO.BinaryReader.FillBuffer(Int32 numBytes)\r\n at System.IO.BinaryReader.ReadInt32()\r\n at Microsoft.Web.Deployment.ZipFile.Load()\r\n at Microsoft.Web.Deployment.ZipPackageProvider..ctor(DeploymentProviderContext providerContext, DeploymentBaseContext baseContext, String path)\r\n --- End of inner exception stack trace ---\r\n at Microsoft.Web.Deployment.ZipPackageProvider.GetAttributes(DeploymentAddAttributeContext addContext)\r\n at Microsoft.Web.Deployment.DeploymentObject.EnsureValidAttributes()\r\n --- End of inner exception stack trace ---\r\n at Microsoft.Web.Deployment.DeploymentManager.CreateObjectPrivate(DeploymentProviderContext providerContext, DeploymentBaseOptions baseOptions, DeploymentObject sourceObject, String serverVersion)\r\n at Microsoft.Web.Deployment.DeploymentManager.CreateObject(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions)\r\n at Microsoft.Web.Deployment.DeploymentManager.CreateObject(String provider, String path, DeploymentBaseOptions baseOptions)\r\n at Microsoft.Web.Deployment.DeploymentManager.CreateObject(DeploymentWellKnownProvider provider, String path, DeploymentBaseOptions baseOptions)\r\n at Microsoft.Web.Deployment.WebApi.AppGalleryPackage.Deploy(String deploymentSite, String siteSlotId, Boolean doNotDelete) in C:\__w\1\s\src\hosting\wdeploy\Microsoft.Web.Deployment.WebApi\AppGalleryPackage.cs:line 250\r\n at Microsoft.Web.Deployment.WebApi.DeploymentController.<DownloadAndDeployPackage>d__25.MoveNext() in C:\__w\1\s\src\hosting\wdeploy\Microsoft.Web.Deployment.WebApi\Controllers\DeploymentController.cs:line 492'"}]},{"code":"ResourceDeploymentFailure","target":"/subscriptions/c709167f-fefc-4e8d-9a62-e87f377ec54b/resourceGroups/FlashCat-rg/providers/Microsoft.Web/sites/webapp-35724695/extensions/MSDeploy","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'failed'.","details":[{"code":"Failed","message":"ARM-MSDeploy Deploy Failed: 'Microsoft.Web.Deployment.DeploymentDetailedException: Object of type 'package' and path 'C:\local\Temp\5c45aff6-9acc-48b6-b1bd-c6ca8127878b.zip' cannot be created. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXCEPTION_WHILE_CREATING_OBJECT. ---> Microsoft.Web.Deployment.DeploymentException: The Zip package 'C:\local\Temp\5c45aff6-9acc-48b6-b1bd-c6ca8127878b.zip' could not be loaded. ---> System.IO.EndOfStreamException: Unable to read beyond the end of the stream.\r\n at System.IO.BinaryReader.FillBuffer(Int32 numBytes)\r\n at System.IO.BinaryReader.ReadInt32()\r\n at Microsoft.Web.Deployment.ZipFile.Load()\r\n at Microsoft.Web.Deployment.ZipPackageProvider..ctor(DeploymentProviderContext providerContext, DeploymentBaseContext baseContext, String path)\r\n --- End of inner exception stack trace ---\r\n at Microsoft.Web.Deployment.ZipPackageProvider.GetAttributes(DeploymentAddAttributeContext addContext)\r\n at Microsoft.Web.Deployment.DeploymentObject.EnsureValidAttributes()\r\n --- End of inner exception stack trace ---\r\n at Microsoft.Web.Deployment.DeploymentManager.CreateObjectPrivate(DeploymentProviderContext providerContext, DeploymentBaseOptions baseOptions, DeploymentObject sourceObject, String serverVersion)\r\n at Microsoft.Web.Deployment.DeploymentManager.CreateObject(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions)\r\n at Microsoft.Web.Deployment.DeploymentManager.CreateObject(String provider, String path, DeploymentBaseOptions baseOptions)\r\n at Microsoft.Web.Deployment.DeploymentManager.CreateObject(DeploymentWellKnownProvider provider, String path, DeploymentBaseOptions baseOptions)\r\n at Microsoft.Web.Deployment.WebApi.AppGalleryPackage.Deploy(String deploymentSite, String siteSlotId, Boolean doNotDelete) in C:\__w\1\s\src\hosting\wdeploy\Microsoft.Web.Deployment.WebApi\AppGalleryPackage.cs:line 250\r\n at Microsoft.Web.Deployment.WebApi.DeploymentController.<DownloadAndDeployPackage>d__25.MoveNext() in C:\__w\1\s\src\hosting\wdeploy\Microsoft.Web.Deployment.WebApi\Controllers\DeploymentController.cs:line 492'"}]}]}}
Exception: /home/umar/azure-digital-twins-unreal-integration/deployment/deploy.ps1:463
Line |
463 | throw "Something went wrong with the resource group deploymen …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Something went wrong with the resource group deployment. Ending script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant