Getting Started example on Mac OS X Yosemite - "failed to find a node for placement"

103 views
Skip to first unread message

Nico Mürdter

unread,
Dec 4, 2015, 8:11:53 AM12/4/15
to Nomad
Hi everyone,

Currently I'm trying to run Nomad on OS X Yosemite. So far it's no problem running a local cluster of 1 Server and 2 Clients as described in the "Getting Started"-guide. But when I try to run the example job I receive the error "failed to find a node for placement". Of course I removed the constraint for only running on linux nodes in the example.nomad file. On Linux everything is working fine. Does anybody has an idea?

Thanks in advance :)

Ranjib Dey

unread,
Dec 4, 2015, 10:28:29 AM12/4/15
to Nico Mürdter, Nomad
what does the log in nomad server says? can you share the agent configs and the job configs, can be mismatch dc etc or unsatsfied resource constrain (like iops). server logs should reveal that,
cheers
ranjib

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/nomad/issues
IRC: #nomad-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Nomad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomad-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nomad-tool/34482693-8216-4c91-a378-31895cbb0ffe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nico Mürdter

unread,
Dec 7, 2015, 3:31:56 AM12/7/15
to Nomad
I attached the logs so you can have a look

Kindly,
Nico
client1.hcl
client1.log
client2.hcl
client2.log
example.log
example.nomad
server.hcl
server.log

Alex Dadgar

unread,
Dec 8, 2015, 2:51:59 PM12/8/15
to Nico Mürdter, Nomad
Hey if you look at the client logs you will see this:

    2015/12/07 09:29:23 [DEBUG] driver.exec: only available on linux, disabling
    2015/12/07 09:29:23 [DEBUG] client: available drivers [java]

The only driver you can run is java. You can enable raw_exec as well if you want. Your job file is trying to run an "exec" driver which you don't have on any of the clients. Further your example.nomad file is running the "exec" driver but the config block is that of a "docker" driver.


Nico Mürdter

unread,
Dec 9, 2015, 4:43:57 AM12/9/15
to Nomad
Oh, you're right, it's working now. What an embarrassing little mistake.... Thank you for your help.

Best Regards,
Nico
Reply all
Reply to author
Forward
0 new messages