Nomad: current nomad documentation (getting started/cluster) wrong

Created on 15 Dec 2016  路  5Comments  路  Source: hashicorp/nomad

If you have a question, prepend your issue with [question] or preferably use the nomad mailing list.

If filing a bug please include the following:

Nomad version

Nomad v0.5.1

Operating system and Environment details

macOS sierra with vagrant 1.9.1 with Vagrantfile from https://raw.githubusercontent.com/hashicorp/nomad/master/demo/vagrant/Vagrantfile

Issue

when attempting to follow https://www.nomadproject.io/intro/getting-started/cluster.html (having performed all the previous steps successfully) server startup fails with

vagrant@nomad:~$ sudo nomad agent -config server.hcl
==> Failed to parse HTTP advertise address: No valid advertise addresses, please set `advertise` manually

Reproduction steps

see above

With some Googling I think I understand where the problem is coming from, however the current documentation doesn't seem to have any bind/advertise statements in provided server.hcl and thus actively misleads newcomers

themdocs typbug

Most helpful comment

running through the Nomad getting started right now, this is still broken.

All 5 comments

Similarly, client configs do not work as specified because of 127.0.0.1 in server specification

Both documentation and Vagrantfile fix is in #2122

Basically setting advertise to localhost could do Really Bad Things if done in a production cluster, so the 0.5 started disallowing it. Sadly I didn't notice that broke our tutorial. Sorry, and thanks for the bug report!

@matt-e The getting started vagrantfile should be fixed as of #2822 getting merged

running through the Nomad getting started right now, this is still broken.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mancusogmu picture mancusogmu  路  3Comments

DanielDent picture DanielDent  路  3Comments

joliver picture joliver  路  3Comments

dvusboy picture dvusboy  路  3Comments

hynek picture hynek  路  3Comments