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:
Correct the DNS configuration so that DNS resolves to the correct hostname.
Add the lowercase hostname to the /etc/hosts file as an additional alias for 127.0.0.1.
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:
Stop any existing Simulation Compute Manager instances with
curl localhost:43500/terminateorcurl <hostname>:43500/terminate.Allow sufficient time for the processes to exit cleanly.
Make sure the SimulationCompute processes are terminated by calling
/sbin/pidof SimulationCompute. If a process IDs are returned, kill the all processes usingkill -9 '<process ID>'.Make sure the fs-harness process is terminated by calling
/sbin/pidof fs-harness. If a process ID is returned, kill the process usingkill -9 '<process ID>'.Make changes to hostname using desired method.
Start the Simulation Compute Manager by running:
$INSTALL_ROOT/opt/Autodesk/simulation-compute/bin/SimulationCompute.
For Workstation installations:
Stop the Simulation Compute Manager with
sudo systemctl stop adskscm.Make changes to hostname using desired method.
Restart the Simulation Compute Manager with the command
sudo systemctl start adskscm.
