I am running a small nomad + consul cluster (should be production in the future) with 3 servers (running nomad server + client and consul server + client) on each server.
I bootstrap the nomad acl inside my userdata script like this:
nomad acl bootstrap >
SECRET_ID="$(sed -n -e ‘/Secret ID =/ s/.*= *//p’ )"
echo “$SECRET_ID” >
nomad acl policy apply -description “Custom Policy” custom
after that the server will reboot once.
I am trying to get the nomad ui running and if i request the ui at http://:4646/ui i get an error response from following request: “/v1/acl/token/self” with message “rpc error: acl token lookup failed: missing secret id”.
I am new to nomad and don’t know how to fix this issue. The Nomad Documentation does not explain how to configure an nomad production environment. Maybe someone can help me with this problem