hashicorp / faas-nomad

OpenFaaS plugin for Nomad
https://www.openfaas.com
MIT License
255 stars 45 forks source link

Issue in Vagrant up #94

Closed shishir-a412ed closed 3 years ago

shishir-a412ed commented 3 years ago

What are the steps to reproduce this issue?

  1. Vagrant up

What happens?

    default: Error querying node status: Get https://192.168.50.2:4646/v1/nodes: dial tcp 192.168.50.2:4646: connect: connection refused
    default: Error querying node status: Get https://192.168.50.2:4646/v1/nodes: dial tcp 192.168.50.2:4646: connect: connection refused
    default: Error querying node status: Get https://192.168.50.2:4646/v1/nodes: dial tcp 192.168.50.2:4646: connect: connection refused
    default: Error querying node status: Get https://192.168.50.2:4646/v1/nodes: dial tcp 192.168.50.2:4646: connect: connection refused
    default: Error querying node status: Get https://192.168.50.2:4646/v1/nodes: dial tcp 192.168.50.2:4646: connect: connection refused
    default: Error querying node status: Get https://192.168.50.2:4646/v1/nodes: dial tcp 192.168.50.2:4646: connect: connection refused
    default: Error querying node status: Get https://192.168.50.2:4646/v1/nodes: dial tcp 192.168.50.2:4646: connect: connection refused
    default: Error querying node status: Get https://192.168.50.2:4646/v1/nodes: dial tcp 192.168.50.2:4646: connect: connection refused

What were you expecting to happen?

Complete the vagrant setup successfully.

What versions of the software are you using?

Operating System: … macOS Catalina v10.15.5

OpenFaaS Version:

Nomad Version:

shishir-a412ed commented 3 years ago

@acornies Any pointers on how to debug?

masimpkin commented 3 years ago

There seems like it may be an issue with "nomad-formula/nomad/defaults.yaml". It specifies a default directory of "/etc/nomad" instead of "/etc/nomad.d". If you modify "/etc/systemd/system/nomad.service" and execute "systemctl daemon-reload", you can then start nomad with "service nomad start". There are still other issues though.