Questions about Hashicorp Nomad which is a simple and flexible scheduler and orchestrator to deploy and manage containers and non-containerized applications across on-premises and clouds at scale.
Questions tagged [nomad]
189 questions
0
votes
0 answers
nomad job failed to start docker
I have a docker image which contains a simple web page. it works fine on its own:
docker run -p 747:747
Also I wrote a nomad job to get the docker image and run it:
job "example" {
datacenters = ["dc1"]
type =…

Super Hornet
- 2,839
- 5
- 27
- 55
0
votes
1 answer
Hashicorp Nomad killed zookeeper process after start
I ran this code:
job "zookeeper" {
constraint {
attribute = "${attr.unique.network.ip-address}"
value = "130.250.58.163"
}
datacenters = ["nosql_dc"]
type = "service"
group "zookeeper" {
count = 1
…

Frank
- 11
- 2
0
votes
1 answer
Which filter to use to fetch precipitation data from nomad website?
I want to fetch precipitation data from nomad Website but I don't know which grib filter to use to fetch only preicipation data, can someone tell me which filters to use.

kaku
- 1
- 3
0
votes
0 answers
How to make and use makefile winidows Nomad open solver
I use an Open Solver open source called Nomad 3.8.1.
I installed MinGw with g++ and Visual Basic with nmake
I have several directories (build of software/ source code, etc)
In the example provided there are two files (basic_lib.cpp for calculate and…

ArnaudTheDevelopper
- 81
- 1
- 14
0
votes
1 answer
Persist periodic job run data in Nomad
I am doing POC of Nomad to run periodic jobs. It is very important that the history of job-runs is persisted. However, i see that when Nomad is killed, the job-run history data is lost.
Please suggest the solution for this.

rajya vardhan
- 1,121
- 4
- 16
- 29
0
votes
3 answers
Nomad periodic doesn't run bash script
I have this periodic task below in nomad. The purpose is to run a script on host nomad3 every 5 minutes. I've also included the contents of the script below.
job "periodic" {
datacenters = ["dc1"]
type = "batch"
periodic {
cron …

FrancisV
- 1,619
- 5
- 21
- 36
0
votes
2 answers
How to configure dynamic routing of gRPC requests with envoy, nomad and consul
We use nomad to deploy our applications - which provide gRPC endpoints - as tasks. The tasks are then registered to Consul, using nomad's service stanza.
The routing for our applications is achieved with envoy proxy. We are running central envoy…

Dominik Sandjaja
- 6,326
- 6
- 52
- 77
0
votes
1 answer
Consul/Nomad combo - How the consul healthcheck resolves its host IP
I have a setup with nomad and consul on my machine.
I start a service with a nomad job and have it registered successfully.
My issue is on IP resolutions:
- in Nomad UI, I can see the IP 10.0.75.1
- in Consul UI, in service discovery, I can see the…

Thibault Deheurles
- 1,211
- 13
- 21
0
votes
2 answers
Waiting on Nomad server
I am currently trying to build some integrations tests with Nomad.
For that I try:
nomad agent -dev -config=test.conf&
nomad run test.nomad
which of course fails, since it tries to submit the job before the server is running.
The bad option would…

abergmeier
- 13,224
- 13
- 64
- 120
0
votes
1 answer
I have a crazy amount of context switches when I import something from scikit-learn
we are using scikit-learn to find similar image clusters. We want to have an internal API for that but when we import objects from scikit or using it we get an very high number of context switches.
Either of those imports is creating a lot of…

HWM-Rocker
- 587
- 2
- 8
- 17
0
votes
1 answer
Hashi-UI and Nomad authentication
I need advice how to set up authentication to Hashi-UI for management Nomad and Consul. I have Debian 8 server and there I installed Terraform, I created terraform file. This download and run Nomad and Consul. That works, but if I access to Hashi-UI…

JaMe
- 147
- 2
- 11
0
votes
2 answers
Health-check of a redis job flagged as critical in Nomad
When deploying a Redis job in Nomad (0.6), I do not manage to have it healthy in Consul.
I start Consul in a container and make the port 8500 available on localhost.
$ docker container run --name consul -d -p 8500:8500 consul
When I run nomad, it…

Luc
- 16,604
- 34
- 121
- 183
0
votes
1 answer
Nomad+Docker: Using the local Docker image, avoiding cleanup
My problem
I use nomad to schedule and deploy Docker images across several nodes. I am using a pretty stable image, so I want that image to be loaded locally rather than fetched from Dockerhub each time.
The docker.cleanup.image argument should do…

Adam Matan
- 128,757
- 147
- 397
- 562
0
votes
1 answer
SAP HANA Vora distributed log service refused to start
I installed SAP HANA Vora on a 3 node MapR cluster. While trying to bring up Vora service via Vora Manager UI, I get the following error:
Error occurred while starting all services: vora-dlog refused to
start. Cannot continue Start All Jobs.…

AnshulN
- 1
0
votes
1 answer
Nomad client mode ask for consul. Can I ignore this?
Nomad client mode ask for consul.
Can I ignore this or I might deploy consul ?
Is it necessary?
nomad-client_1 |
2017/02/12 08:26:01.008267 [ERR]
client.consul: error reaping services in consul: Get http://127.0.0.1:8500/v1/agent/services: dial…

udomsak chundang
- 21
- 4