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
validation for nomad job name and ID does not prohibit the null character. the job can be registered, but it causes unexpected problems downstream with multiple task drivers, and potentially causes problems because of indexing in memdb.
job validation should prohibit null character from name/ID of job, task group, task, etc..
this is a breaking change and should be added to the upgrade guide for the release which include it.
Update
The following environment variables are set in each task:
NOMAD_REGION=global
NOMAD_DC=dc1
NOMAD_NAMESPACE=default
NOMAD_JOB_NAME=example
NOMAD_GROUP_NAME=cache
NOMAD_TASK_NAME=redis
NOMAD_PORT_db=6379
NOMAD_ALLOC_NAME=example.cache[0]
If any of region, dc, namespace, job id/name, group name, task name, or port name include null characters, this will fail for most task drivers.
Namespace and port are currently restricted. Region, DC and the job identifiers are not.
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Nomad version
nomad 0.12.3
Issue
validation for nomad job name and ID does not prohibit the null character. the job can be registered, but it causes unexpected problems downstream with multiple task drivers, and potentially causes problems because of indexing in memdb.
job validation should prohibit null character from name/ID of job, task group, task, etc..
this is a breaking change and should be added to the upgrade guide for the release which include it.
Update
The following environment variables are set in each task:
If any of region, dc, namespace, job id/name, group name, task name, or port name include null characters, this will fail for most task drivers.
Namespace and port are currently restricted. Region, DC and the job identifiers are not.
The text was updated successfully, but these errors were encountered: