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

Nomad run in development mode fails on Windows 7 #3952

Closed
mark-brooks-180 opened this issue Mar 8, 2018 · 3 comments
Closed

Nomad run in development mode fails on Windows 7 #3952

mark-brooks-180 opened this issue Mar 8, 2018 · 3 comments

Comments

@mark-brooks-180
Copy link

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.7.1 (0b295d3)

Operating system and Environment details

Wndows 7 64bit

Issue

Nomad agent fails when run in development mode.

Reproduction steps

Simply run the agent in development mode "nomad.exe agent -dev"

Nomad Server logs (if appropriate)

C:\temp>nomad.exe agent -dev
No configuration files loaded
==> Starting Nomad agent...
==> Error starting agent: client setup failed: fingerprinting failed: Error while detecting network interface during fingerprinting: no network_interface given and failed to determine interface attached to default route
2018/03/08 10:46:40 [INFO] raft: Initial configuration (index=1): [{Suffrage:Voter ID:127.0.0.1:4647 Address:127.0.0.1:4647}]
2018/03/08 10:46:40 [INFO] raft: Node at 127.0.0.1:4647 [Follower] entering Follower state (Leader: "")
2018/03/08 10:46:40 [INFO] serf: EventMemberJoin: Mamba2.global 127.0.0.1
2018/03/08 10:46:40.892669 [INFO] nomad: starting 8 scheduling worker(s) for [batch system service _core]
2018/03/08 10:46:40.892669 [INFO] nomad: adding server Mamba2.global (Addr: 127.0.0.1:4647) (DC: dc1)
2018/03/08 10:46:40.892669 [DEBUG] server.nomad: lost contact with Nomad quorum, falling back to Consul for server list
2018/03/08 10:46:40.899669 [INFO] client: using state directory C:\Users\mbrooks\AppData\Local\Temp\NomadClient138187011
2018/03/08 10:46:40.902669 [INFO] client: using alloc directory C:\Users\mbrooks\AppData\Local\Temp\NomadClient443852934
2018/03/08 10:46:41.300692 [DEBUG] client: built-in fingerprints: [arch consul cpu host memory network nomad signal storage vault env_aws env_gce]
2018/03/08 10:46:41.892726 [ERR] consul: error looking up Nomad servers: server.nomad: unable to query Consul datacenters: Get http://127.0.0.1:8500/v1/catalog/datacenters: dial tcp 127.0.0.1:8500: connectex: No connection could be made because the target machine actively refused it.
2018/03/08 10:46:41.892726 [WARN] consul.sync: failed to update services in Consul: error querying Consul services: Get http://127.0.0.1:8500/v1/agent/services: dial tcp 127.0.0.1:8500: connectex: No connection could be made because the target machine actively refused it.
2018/03/08 10:46:42.301749 [DEBUG] client: fingerprinting consul every 15s
2018/03/08 10:46:42 [WARN] raft: Heartbeat timeout from "" reached, starting election
2018/03/08 10:46:42 [INFO] raft: Node at 127.0.0.1:4647 [Candidate] entering Candidate state in term 2
2018/03/08 10:46:42 [DEBUG] raft: Votes needed: 1
2018/03/08 10:46:42 [DEBUG] raft: Vote granted from 127.0.0.1:4647 in term 2. Tally: 1
2018/03/08 10:46:42 [INFO] raft: Election won. Tally: 1
2018/03/08 10:46:42 [INFO] raft: Node at 127.0.0.1:4647 [Leader] entering Leader state
2018/03/08 10:46:42.811779 [INFO] nomad: cluster leadership acquired
2018/03/08 10:46:42.812779 [DEBUG] leader: reconciling job summaries at index: 0
2018/03/08 10:46:43.372811 [DEBUG] fingerprint.cpu: frequency: 2794 MHz
2018/03/08 10:46:43.372811 [DEBUG] fingerprint.cpu: core count: 8

Nomad Client logs (if appropriate)

Job file (if appropriate)

@angrycub
Copy link
Contributor

angrycub commented Mar 8, 2018

Nomad v0.7.1 has an issue with network interface names with a space in them. We have fixed this in #3855 for 0.8.

You can:

  • use the --network-interface flag on the command line to the interface name of the network with your default route,
  • set the network_interface explicitly in the configuration, or
  • rename the interface to mitigate this issue.

@angrycub angrycub closed this as completed Mar 8, 2018
@mark-brooks-180
Copy link
Author

mark-brooks-180 commented Mar 8, 2018 via email

@github-actions
Copy link

github-actions bot commented Dec 3, 2022

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants