AINVR app, sdr-emdx error

** Jetson Orin NX16 **
** Jetpack 6 36.3 **
** Deepstream 7 **

I have deployed AINVR app on my Orin Nx16, the app was running without problem until a few days ago, the sdr-emdx service stopped working, it stops at launch, giving the following error log:

2024-11-21 09:16:31 lib.parameters.configserver - INFO - filenot found
Traceback (most recent call last):
  File "app.py", line 103, in <module>
  File "lib/podprovisioner/kubernetes/cluster.py", line 48, in __init__
  File "json/__init__.py", line 293, in load
  File "json/__init__.py", line 346, in loads
  File "json/decoder.py", line 337, in decode
  File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 3 column 29 (char 49)
[9] Failed to execute script 'app' due to unhandled exception!

Note that i have deployed my app using kubernetes.

Are you set “WDM_CLUSTER_CONFIG_FILE”? Does the file exited? Can you share more details on why you need deploy AI NVR with K8s on Orin?

I’m with Namla Company AI team, and all our deployements are with K8s.
The WDM_CLUSTER_CONFIG_FILE does exist inside the container, it contains the service name and port of the emdx services, the sdr-emdx was working without problem, i haven’t changed anything with the deployement manifest, now it suddenly doesn’t work.

Belok is from base_compose.yaml. WDM_CLUSTER_CONFIG_FILE is mapped from host file: ./config/sdr-emdx/docker_cluster_config.json. Please ensure this file exit and in the right path. You error log means this file don’t exit in the container.

  sdr-emdx:
    image: nvcr.io/nvidia/jps/sdr:jps-v2.0.4
    network_mode: "host"
    logging:
      driver: "json-file"
      options:
        max-size: "8192m"
        max-file: "3"
    container_name: sdr-emdx
    volumes:
      - ./config/sdr-emdx:/wdm-configs
      - /data/sdr-volume:/wdm-data
      - /var/run/docker.sock:/var/run/docker.sock
      - /data/logging-volume:/log
    environment:
      WDM_WL_SPEC: /wdm-data/emdx-data_wl.yaml
      WDM_CLUSTER_CONFIG_FILE: /wdm-configs/docker_cluster_config.json

the problem was with the file, i was mounting it as a config map, but there was a typo in the file content, it’s fixed now, thank you very much.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.