Application discovery failed in VMware Aria Operations for Networks
search cancel

Application discovery failed in VMware Aria Operations for Networks

book

Article ID: 371826

calendar_today

Updated On:

Products

VCF Operations for Networks

Issue/Introduction

When attempting to use the Application Discovery Feature and choosing the "Add Applications" option, the error "An unexpected error occurred" displays on the screen.

The error "Application discovery failed" and "An unexpected error occurred." with the red progress bar not completed. See screenshot below:

Entries similar to the below can be observed in the Platform node /var/log/arkin/batch-analytics error log with the error "Cannot run program "/opt/miniconda3/bin/python3": error=13, Permission denied".


2025-06-05T19:39:20.324Z ERROR batchanalytics.task.BatchTask BatchAnalytics_Worker-1 run:93 Error while executing task: FLOW_APP_DISCOVERY.FBADA_XXXXX_YXY_XXXXXXXXXYYYYYYYAAA.YYYYYYYYYYTTTT_FLOW_APP_ML_PROCESSOR Cannot run program "/opt/miniconda3/bin/python3": error=13, Permission denied
2025-06-05T19:39:20.324Z ERROR batchanalytics.job.BatchJob BatchAnalytics_Worker-1 execute:225 Error in processing
java.io.IOException: Cannot run program "/opt/miniconda3/bin/python3": error=13, Permission denied
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1143) _[_:_]
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1073) _[_:_]
    at com.vnera.batchanalytics.task.MLFlowProcessorTask.executeCommand(MLFlowProcessorTask.java:158) _[batch-analytics-service-dist-0.001-SNAPSHOT.jar:_]
    at com.vnera.batchanalytics.task.MLFlowProcessorTask.runTask(MLFlowProcessorTask.java:91) _[batch-analytics-service-dist-0.001-SNAPSHOT.jar:_]
    at com.vnera.batchanalytics.task.BatchTask.run(BatchTask.java:89) _[batch-analytics-service-dist-0.001-SNAPSHOT.jar:_]
    at com.vnera.batchanalytics.job.BatchJob.runTasks(BatchJob.java:170) _[batch-analytics-service-dist-0.001-SNAPSHOT.jar:_]
    at com.vnera.batchanalytics.job.BatchJob.execute(BatchJob.java:218) [batch-analytics-service-dist-0.001-SNAPSHOT.jar:_]
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.3.2.jar:_]
    at org.quartz.simpl.SimpleThreadPool_WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.2.jar:_]

Environment

Aria Operations for Networks 6.13
Aria Operations for Networks 6.14

Cause

During installation, the unpacking of the miniconda3 tarball fails, resulting in incomplete setup with missing files and/or incorrect permissions.

Resolution

To resolve the issue, delete the miniconda3 directory and unpack the files again from the miniconda3 tarball found on the platform node.

 

  1. Login to the Platform node 1 as the "support" user

  2. Switch to “ubuntu” user
    ub
  3. Confirm the miniconda3 distribution file exists. If it does not: stop and request further assistance.
    cd /home/ubuntu/build-target/batch-analytics/

    ls -lrth | sort

    Review results for miniconda3.tar.gz present in this directory.

  4. Delete the existing miniconda directory
    sudo rm -rf /opt/miniconda3
  5. Untar the miniconda3 tarball
    sudo tar -zxf ~/build-target/batch-analytics/miniconda3.tar.gz -C /opt
  6. Check for contents and permissions of newly created miniconda3 directory, all contents of miniconda3 directory must have “ubuntu:ubuntu” ownership and the key contents are bin, etc, lib. 
    cd /opt/miniconda3/

    ls -l

    The permissions and ownership should match the list below as seen in screenshot:

    -rw-r-----   60.1
    drwxr-x---   bin
    drwxr-x---   compiler_compat
    drwxr-----   condabin
    drwxr-x---   conda-meta
    drwxr-----   envs
    drwxr-x---   etc
    drwxr-x---   include
    drwxr-----   lib
    drwxr-x---   libexec
    -rw-r--r--   LICENSE.txt
    drwxr-x---   licensing
    drwxr-----   man
    drwxr-----   pkgs
    drwxr-x---   sbin
    drwxr-x---   share
    drwxr-----   shell
    drwxr-x---   ssl
    drwxr-----   x86_64-conda_cos6-linux-gnu
    drwxr-x---   x86_64-conda-linux-gnu



    If the ownership and/or permissions do not match, please use standard Linux commands to update the ownership and/or permissions so that they do match before continuing. Or reach out to Broadcom Support  for additional assistance.

  7. Configure conda auto_activate_base as false
    /opt/miniconda3/bin/conda config --set auto_activate_base false
  8. Restart the batch analytics service
    sudo systemctl restart batch-analytics.service
  9. Navigate back to GUI and re-run query discovered applications, it should process it and error shouldn't be seen, Application Discovery Feature should work as expected.