NetOps Upgrade Automation run-container.sh errors
search cancel

NetOps Upgrade Automation run-container.sh errors

book

Article ID: 454637

calendar_today

Updated On:

Products

Network Observability Spectrum CA Performance Management

Issue/Introduction

When executing the run-containers.sh script the following error shows:

docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/opt/CA/<version>/config/inventory.remote" to rootfs at "/opt/<version>/inventory.remote": mount /opt/CA/<version>/config/inventory.remote:/opt/<version>/inventory.remote (via /proc/self/fd/7), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.

Cause

The inventory.remote was actually a directory and not a file.

Resolution

Delete or remove the inventory.remote directory and replace it with a proper inventory.remote file.  Verify the permissions are correct and then run the run-containers.sh script again.