Unable to deploy Azure Spatial Analysis container.

Ramesh Damma 0 Reputation points
2024-05-22T12:36:20.35+00:00

I followed the instructions (thoroughly) mentioned in the Azure Spatial Analysis container installation guide (https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/spatial-analysis-container) and eventually encountered an error - "invalid character 'l' after object key: value pair", when I checked the logs.

The container contains 5 modules --> $edgeAgent; $edgeHub; spatialanalysis; telegraf; diagnostics

"spatialanalysis" module returned "error" status in runtime.

As per the documentation there is a step wherein we need to configure IoT Deployment Manifest. I believe that I might have missed something in the configuration and maybe that's the reason for container deployment failure.

I used the DeploymentManifest.json file from below link and replaced the values for Billing and APIKEY with Computer Vision resource endpoint and key respectively. (https://go.microsoft.com/fwlink/?linkid=2152189)

Can anyone guide me on how to make the deployment work. Is there any step which is not mentioned in detail in the documentation. Or are there other things which needs to be set in the DeploymentManifest.json file. By going through different links I found a mention of Azure Container Registry, do we need to use it? Why do we need "telegraf" module and do we need to leave the required fields empty for it. [fields - "AZURE_TENANT_ID", "AZURE_CLIENT_ID", "AZURE_CLIENT_SECRET", "region", "resource_id"].

I am using a Standard NC4as T4 v3 (4 vCPUs, 28 GiB memory) VM.

Let me know if the logs would help.

Azure Computer Vision
Azure Computer Vision
An Azure artificial intelligence service that analyzes content in images and video.
379 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,202 questions
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
383 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.