Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Levant doesnt support Nomad 1.6.1 "node_pool". #499

Open
erulabs opened this issue Aug 24, 2023 · 6 comments
Open

Levant doesnt support Nomad 1.6.1 "node_pool". #499

erulabs opened this issue Aug 24, 2023 · 6 comments

Comments

@erulabs
Copy link

erulabs commented Aug 24, 2023

Description

Levant doesnt support Nomad 1.6.1 "node_pool"

Relevant Nomad job specification file

job "test" {
  datacenters = ["dc1"]
  region      = "global"
  type        = "system"
  node_pool   = "all"
  ...

Output of levant version:

levant version
Levant v0.3.2-Homebrew

Output of consul version:

Consul v1.14.9

Output of nomad version:

Nomad v1.6.1

Levant outputs:

[ERROR] levant/command: error parsing 'job': 1 error occurred:
	* job: invalid key: node_pool

Looks like Levant hasn't had a release against nomad since 1.4 - Is this repo still supported? If so, could we get levant upgrades and releases to follow Nomad releases?

@aminovpavel
Copy link

aminovpavel commented Aug 30, 2023

Same issue on the latest commit (1e34edc)

Are there any updates?

@aminovpavel
Copy link

@aminovpavel
Copy link

Tried to fix this problem with key verification. The error went away, but node_pool still does not appear in Nomad. It feels like Levant is not fully deploying the job structure into Nomad.

@erulabs
Copy link
Author

erulabs commented Sep 18, 2023

Looks like this has been fixed on Nomad in hashicorp/nomad#18366

I still wonder if we need a new build here, as several other stanzas like the wait block in template are not supported by Levant as well (is this also an issue with Nomad?)

@erulabs
Copy link
Author

erulabs commented Sep 27, 2023

This issue has been open without a response from Hashicorp for about a month now. It's blocking our usage of Nomad functionality.

Is levant still a maintained project?

@grabango-thampton
Copy link

Maybe try the latest release?

https://github.com/hashicorp/levant/releases/tag/v0.3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants