Getting a 400 (ACL support disabled) error

Just running a single node via the -dev command.

Cluster Start Command

sudo nomad agent -dev
-bind 0.0.0.0
-network-interface=‘{{ GetDefaultInterfaces | attr “name” }}’

nomad acl bootstrap → gives the following error:

Error bootstrapping: Unexpected response code: 400 (ACL support disabled)

Hi @Pie,

The configuration file does not get picked up by default, you will either need to pass the -config flag with its value of the file. You could also pass the -acl-enabled flag to your original command which will enable the ACL subsystem.

Thanks,
jrasell and the Nomad team

Got it. Used the below and that took effect.

sudo nomad agent -dev \
  -bind 0.0.0.0 \
  -network-interface='{{ GetDefaultInterfaces | attr "name" }}' \
  -config="/etc/nomad.d/nomad.hcl"

Where does the anonymous policy file live? @jrasell

I can only think that the below would make sense for this single node dev install?

/etc/nomad.d/