Software Fails to Be Upgraded on FusionDirector and a Message "exec upgrade cmd failed" Is Displayed

Symptom

When an upgrade plan on FusionDirector is created to upgrade the MindX Edge in the Atlas 500 Pro AI edge server, a message "exec upgrade cmd failed" indicating the upgrade plan fails to be executed is displayed.

Possible Causes

The space of the root directory is insufficient.

Procedure

  1. Log in to the Atlas 500 Pro AI edge server.
  2. Run the df -h command to check the available space of the / root directory (the value in the Avail column).

    If the available space is less than 500 MB, the space is insufficient. Go to 3.

    Filesystem      Size  Used Avail Use% Mounted on
    /dev/root       4.9G  4.6G   19M 100% /
    devtmpfs        3.6G  4.0K  3.6G   1% /dev
    tmpfs           3.8G     0  3.8G   0% /dev/shm
    tmpfs           3.8G  372K  3.8G   1% /run
    tmpfs           5.0M     0  5.0M   0% /run/lock
    tmpfs           3.8G     0  3.8G   0% /sys/fs/cgroup
    /dev/mmcblk1p2  976M  2.0M  923M   1% /var/log/npu/slog
    /dev/mmcblk1p3   23G  1.3G   21G   6% /home
    tmpfs           777M     0  777M   0% /run/user/1000
    tmpfs           777M     0  777M   0% /run/user/0
  3. Delete unwanted non-system files from the root directory to release space. Ensure that the available space of the directory is greater than 500 MB.
  4. Upgrade the software package again.