AODT Installation via AZure Fails

Hello,

I followed the installation guide for Azure.
The azure_install.sh scripts works nicely, except that you need to accept the terms of the image.
I added the following line and it fixed the problem:
az vm image terms accept --publisher nvidia --offer nvidia-omniverse-workstation --plan ove

However, when accesing the Windows VM, and trying to continue the installation I get the following error:

PS C:\AerialODT> .\download_installer.ps1
Invoke-RestMethod : The remote server returned an error: (401) Unauthorized.
At C:\AerialODT\download_installer.ps1:18 char:13
+ $response = Invoke-RestMethod -Uri "https://authn.nvidia.com/token?se ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

Starting to download...
Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (401) Unauthorized."
At C:\AerialODT\download_installer.ps1:35 char:1
+ $client.DownloadFile($uri, $downloadedZip)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

Expand-Archive : The path 'C:\Users\aerial\Downloads\aodt_bundle.zip' either does not exist or is not a valid file system path.
At C:\AerialODT\download_installer.ps1:38 char:1
+ Expand-Archive -Path $downloadedZip -DestinationPath "${env:USERPROFI ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (C:\Users\aerial...aodt_bundle.zip:String) [Expand-Archive], InvalidOperationException
    + FullyQualifiedErrorId : ArchiveCmdletPathNotFound,Expand-Archive

PS C:\AerialODT>

I downloaded and extracted the aodt_bundle.zip manually and proceeded with the next step (running install.bat), but another error appeared:

C:\AerialODT>C:\Users\aerial\Downloads\aodt_bundle\install.bat 4.185.10.144 "REMOVED_FOR_PRIVACY"

backend_bundle.tgz                                                                                                                   100% 3551MB 253.9MB/s   00:13
Successfully copied installation package to backend server
Successfully unpacked installation package on backend server
+ NGC_API_KEY=REMOVED_FOR_PRIVACY
+ OMNI_PASS=aerial_123456
++ readlink -f backend_bundle/install.sh
+ SCRIPT=/home/aerial/backend_bundle/install.sh
++ dirname /home/aerial/backend_bundle/install.sh
+ SCRIPT_DIR=/home/aerial/backend_bundle
+ cd /home/aerial/backend_bundle
++ id -u
+ '[' 1000 == 0 ']'
++ sudo dmidecode --string chassis-asset-tag
+ ASSET_TAG=7783-7084-3265-9085-8269-3286-77
+ AZURE_TAG=7783-7084-3265-9085-8269-3286-77
+ export DEBIAN_FRONTEND=noninteractive
+ DEBIAN_FRONTEND=noninteractive
+ which nvidia-smi
/usr/bin/nvidia-smi
++ nvidia-smi --query-gpu=driver_version --format=csv,noheader --id=0
+ CURRENT_VERSION=550.54.14
+ [[ 7783-7084-3265-9085-8269-3286-77 == \7\7\8\3\-\7\0\8\4\-\3\2\6\5\-\9\0\8\5\-\8\2\6\9\-\3\2\8\6\-\7\7 ]]
+ [[ 550.54.14 != \5\5\0\.\5\4\.\1\4 ]]
+ which docker
/usr/bin/docker
+ which docker-compose
/usr/local/bin/docker-compose
+ which nvidia-container-toolkit
/usr/bin/nvidia-container-toolkit
+ sudo rm -rf '/var/lib/apt/lists/*'
+ groups
+ grep -q docker
+ [[ 7783-7084-3265-9085-8269-3286-77 == \7\7\8\3\-\7\0\8\4\-\3\2\6\5\-\9\0\8\5\-\8\2\6\9\-\3\2\8\6\-\7\7 ]]
++ curl ifconfig.me
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    12  100    12    0     0     93      0 --:--:-- --:--:-- --:--:--    93
+ SERVER_IP=4.185.10.144
+ [[ ! -d /opt/ove ]]
+ echo OMNI_USER=omniverse
+ echo OMNI_PASS=aerial_123456
+ echo SERVER_IP=4.185.10.144
+ [[ 7783-7084-3265-9085-8269-3286-77 == \7\7\8\3\-\7\0\8\4\-\3\2\6\5\-\9\0\8\5\-\8\2\6\9\-\3\2\8\6\-\7\7 ]]
+ echo GEN_CODE=SM80
+ tar xf aodt_sim.tgz
+ export NGC_API_KEY
+ export OMNI_PASS
+ groups
+ grep -q docker
+ ./docker_up.sh
 nucleus-navigator Pulling
 nucleus-tagging Pulling
 nucleus-search Pulling
 nucleus-log-processor Pulling
 nucleus-lft Pulling
 utl-monpx Pulling                                                                                                                                                      nucleus-auth Pulling                                                                                                                                                   nucleus-discovery Pulling                                                                                                                                              nucleus-thumbnails Pulling                                                                                                                                             nucleus-resolver-cache Pulling                                                                                                                                         nucleus-api Pulling                                                                                                                                                    tagging-logrotate Pulling                                                                                                                                              nucleus-lft-lb Pulling                                                                                                                                                 nucleus-thumbnails Error                                                                                                                                               tagging-logrotate Error                                                                                                                                                nucleus-discovery Error                                                                                                                                                nucleus-resolver-cache Error                                                                                                                                           nucleus-search Error
 nucleus-navigator Error
 nucleus-lft-lb Error
 nucleus-log-processor Error
 nucleus-tagging Error
 nucleus-auth Error
 nucleus-lft Error
 utl-monpx Error
 nucleus-api Error
Error response from daemon: Head "https://nvcr.io/v2/nvidia/omniverse/nucleus-thumbnails/manifests/1.5.10": denied: {"errors": [{"code": "DENIED", "message": "Access Denied"}]}
An error occured while installing software on backend server. Please check logs

Any suggestion on how to solve this problem?

For anyone facing this issue, the problem is that I generated a personal KEY instead of a API Key!

2 Likes

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