You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can register nodes in Consul with their FQDN by using the node_name configuration directive. I can't however target these FQDN nodes with an ACL Policy Node Identity field because it does not allow . characters.
Reproduction Steps
$ consul acl token create -node-identity "foo.bar.baz:internal"
Failed to create new token: Unexpected response code: 500 (Node identity has an invalid name. Only lowercase alphanumeric characters, '-' and '_' are allowed)
@lukebigum The node_name parameter / -node CLI flag are intended to be used to specify the short name of the system, not a fully-qualified domain name.
The docs for these parameters also state "To query the node from DNS, the name must only contain alphanumeric characters and hyphens (-).", similarly indicating that characters like . – which are used in fully-qualified names – should be omitted.
Overview of the Issue
I can register nodes in Consul with their FQDN by using the
node_name
configuration directive. I can't however target these FQDN nodes with an ACL Policy Node Identity field because it does not allow.
characters.Reproduction Steps
Consul info for both Client and Server
Client info
Server info
Operating system and Environment details
CentOS 8, Consul 1.16.0
The text was updated successfully, but these errors were encountered: