Training fails when logged-in as root#

Observed Error#

2023-05-04 10:15:40,465 ERROR:   Uncaught exception:
Traceback (most recent call last):
...
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
        status = StatusCode.PERMISSION_DENIED
        details = "User{username='root',UID=0} is not allowed to execute this method /cluster.cluster_mgmt_pb.ClusterManagement/InitCompileJob. Please use a non-root user."

Explanation#

Running as root is considered a big security concern. Therefore, the root user is disallowed to run jobs in the Cerebras cluster.