hashicorp / hashicorp/nomad

client reconfigured as server is still registered in Consul as client

Open
#8,799 5 comments 0 reactions 0 assignees View on GitHub
stage/needs-investigation theme/client theme/discovery
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

For reporting security vulnerabilities [please refer to the website.](https://www.nomadproject.io/security.html)

If you have a question, prepend your issue with `[question]` or preferably use the [nomad mailing list](https://www.nomadproject.io/community.html).

When the nomad client is started, it will register with consult. The role is client. However, the subsequent nomad server and client do not distinguish the nomad nodes based on this role, which will lead to confusion. For example, a nomad Start with the client role first, and then start it again as the server role. There are nonstandard operations in this operation. There is no cleaning up of local data. The newly started nomad server expects to join another nomad server cluster. However, the test shows that the original nomad server cluster will still find it and force it to join its member list。

This operation is not standardized, but the problems it brings show that if nomad does not actively change the role in the cluster, then the cluster should not actively modify the role of nodes through other ways. I think this logic is reasonable and has little to do with whether the operation is standard or not

If filing a bug please include the following:

### Nomad version
Output from `nomad version`
V 0.10.4
### Operating system and Environment details

### Issue

### Reproduction steps

### Job file (if appropriate)

### Nomad Client logs (if appropriate)
If possible please post relevant logs in the issue.

Logs and other artifacts may also be sent to: nomad-oss-debug@hashicorp.com

Please link to your Github issue in the email and reference it in the subject
line:

> To: nomad-oss-debug@hashicorp.com
>
> Subject: GH-1234: Errors garbage collecting allocs

Emails sent to that address are readable by all HashiCorp employees but are *not* publicly visible.

### Nomad Server logs (if appropriate)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.