question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to deploy Industrial IoT solution. The value of deployment parameter 'aiiotImageNamespace' is null.

See original GitHub issue

Describe 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:

  1. Download Microsoft.Azure.IIoT.Deployment Binaries from https://github.com/Azure/Industrial-IoT/blob/main/docs/deploy/howto-deploy-aks.md
  2. execute Binaries on windows 10 client
  3. 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, Dictionary2 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, IDictionary2 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:closed
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
FBuchholzcommented, May 25, 2021

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

Note: 4th step below describes the error that you might get if you are lacking admin consent and Granting Admin Consent walks you through steps to mitigate that problem. You will still need to run the application once before granting the consent and that first run will fail.

Run Microsoft.Azure.IIoT.Deployment application from command line:

./Microsoft.Azure.IIoT.Deployment

karok2m

0reactions
karok2mcommented, May 27, 2021

@FBuchholz, thank you for the command.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The value of deployment parameter 'keyVaultPrincipalId' is ...
i get this output & error;. Created new resource group rg-iiot-prd in australiaeast. Deployment will use 'master' branch in 'https://github.com/ ...
Read more >
azure service fabric - ARM template deployment fails
In your parameter.json, your abc_xyz value is null , it means that you need provide value when your deploy the template.
Read more >
Invalid template errors - Azure Resource Manager
Describes how to resolve invalid template errors when deploying Bicep files or Azure Resource Manager templates (ARM templates).
Read more >
Automation Account Deployment Failed - Model Cannot be ...
Hi I am using ARM template provisoning an Automation Account. I don't have enough permission, so when I test to create Automation account ......
Read more >
Azure Industrial IoT Platform
Deploy the Industrial IoT Platform; Azure Active Directory application ... However, missing values in the incoming payload are de-serialized as null.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found