Share

Provisioner failed to register

Problem

In a Linux Thinclient or Workstation install ihe ComputeProvisioner.log file shows that the ComputeProvisioner failed to register with the error:

"source":"ComputeProvisioner", "message":"Failed to register. Host not found: lowercase-hostname; POST http://UPPERCASE-HOSTNAME:43100/ComputeQueue/v1/provisioner with session: lowercase-hostname:43100" }

Cause

On some Linux machines with non-standard configurations, an uppercase hostname is not recognized by the SCM due to a DNS resolution failure.

What to do

There are three workarounds for this issue:

  1. Correct the DNS configuration so that DNS resolves to the correct hostname.

  2. Add the lowercase hostname to the /etc/hosts file as an additional alias for 127.0.0.1.

  3. Change the static hostname to lowercase using hostnamectl .

Methods (2) and (3) will require that the Simulation Compute Manager service be stopped prior to any changes, and restarted after.

For Thinclient installations:

  1. Stop any existing Simulation Compute Manager instances with curl localhost:43500/terminate or curl <hostname>:43500/terminate.

  2. Allow sufficient time for the processes to exit cleanly.

  3. Make sure the SimulationCompute processes are terminated by calling /sbin/pidof SimulationCompute. If a process IDs are returned, kill the all processes using kill -9 '<process ID>'.

  4. Make sure the fs-harness process is terminated by calling /sbin/pidof fs-harness. If a process ID is returned, kill the process using kill -9 '<process ID>'.

  5. Make changes to hostname using desired method.

  6. Start the Simulation Compute Manager by running: $INSTALL_ROOT/opt/Autodesk/simulation-compute/bin/SimulationCompute.

For Workstation installations:

  1. Stop the Simulation Compute Manager with sudo systemctl stop adskscm.

  2. Make changes to hostname using desired method.

  3. Restart the Simulation Compute Manager with the command sudo systemctl start adskscm.

Was this information helpful?