Failed to deploy Industrial IoT solution. The value of deployment parameter 'aiiotImageNamespace' is null.
See original GitHub issueDescribe the bug By installation / Setup the IoT Platform for production, we use the win64 binary. At step “Helmsettings: Tag=2.7.206” the depolyment stopped with “Failed to deploy Industrial IoT solution. The value of deployment parameter ‘aiiotImageNamespace’ is null.” error
To Reproduce Steps to reproduce the behavior:
- Download Microsoft.Azure.IIoT.Deployment Binaries from https://github.com/Azure/Industrial-IoT/blob/main/docs/deploy/howto-deploy-aks.md
- execute Binaries on windows 10 client
- See error
Expected behavior
[14:59:40 ERR] Failed to deploy Industrial IoT solution.
Microsoft.Rest.Azure.CloudException: The value of deployment parameter ‘aiiotImageNamespace’ is null. Please specify the value or use the parameter reference. See https://aka.ms/resource-manager-parameter-files for details.
at Microsoft.Azure.Management.ResourceManager.Fluent.DeploymentsOperations.BeginCreateOrUpdateWithHttpMessagesAsync(String resourceGroupName, String deploymentName, DeploymentInner parameters, Dictionary2 customHeaders, CancellationToken cancellationToken) at Microsoft.Azure.Management.ResourceManager.Fluent.DeploymentsOperations.CreateOrUpdateWithHttpMessagesAsync(String resourceGroupName, String deploymentName, DeploymentInner parameters, Dictionary
2 customHeaders, CancellationToken cancellationToken)
at Microsoft.Azure.Management.ResourceManager.Fluent.DeploymentsOperationsExtensions.CreateOrUpdateAsync(IDeploymentsOperations operations, String resourceGroupName, String deploymentName, DeploymentInner parameters, CancellationToken cancellationToken)
at Microsoft.Azure.IIoT.Deployment.Infrastructure.ResourceMgmtClient.CreateResourceGroupDeploymentAsync(IResourceGroup resourceGroup, String deploymentName, Object template, Object parameters, DeploymentMode deploymentMode, CancellationToken cancellationToken)
at Microsoft.Azure.IIoT.Deployment.Infrastructure.ResourceMgmtClient.CreateResourceGroupDeploymentAsync(IResourceGroup resourceGroup, String deploymentName, String templateJson, String parametersJson, DeploymentMode deploymentMode, CancellationToken cancellationToken)
at Microsoft.Azure.IIoT.Deployment.Infrastructure.ResourceMgmtClient.CreateResourceGroupDeploymentAsync(IResourceGroup resourceGroup, String deploymentName, String templateJson, IDictionary2 parameters, DeploymentMode deploymentMode, IDictionary
2 tags, CancellationToken cancellationToken)
at Microsoft.Azure.IIoT.Deployment.Deployment.DeploymentExecutor.CreateAzureResourcesAsync(CancellationToken cancellationToken)
at Microsoft.Azure.IIoT.Deployment.Deployment.DeploymentExecutor.RunFullDeploymentAsync(CancellationToken cancellationToken)
Do you want to delete registered Applications and the Resource Group ? Please select Y[yes] or N[no]
[14:59:40 INF] Pushed IIoT configuration parameters to Key Vault.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 10
- Browser chrome]
- Version 90.0.4430.212 64 Bit
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (2 by maintainers)
@karok2m I just follow the doc’s (sample-run) without any parameter.
Sample Run
Sample run of Full deployment without any configuration parameters is described below. Microsoft.Azure.IIoT.Deployment would interactively prompt for all required parameters that are not provided through configuration. And if no authentication configuration is provided, then authentication flow with user credentials will be used.
karok2m
@FBuchholz, thank you for the command.