Difference between revisions of "Nomad agent -dev"

From wikieduonline
Jump to navigation Jump to search
(Created page with "<pre> nomad agent -dev ==> No configuration files loaded ==> Starting Nomad agent... ==> Nomad agent configuration: Advertise Addrs: HTTP: 127.0.0.1:4646; RPC: 127.0.0...")
 
 
Line 1: Line 1:
 +
 +
[[nomad agent]] -dev
 +
 
<pre>
 
<pre>
nomad agent -dev
 
 
==> No configuration files loaded
 
==> No configuration files loaded
 
==> Starting Nomad agent...
 
==> Starting Nomad agent...

Latest revision as of 07:45, 17 July 2021

nomad agent -dev
==> No configuration files loaded
==> Starting Nomad agent...
==> Nomad agent configuration:

       Advertise Addrs: HTTP: 127.0.0.1:4646; RPC: 127.0.0.1:4647; Serf: 127.0.0.1:4648
            Bind Addrs: HTTP: 127.0.0.1:4646; RPC: 127.0.0.1:4647; Serf: 127.0.0.1:4648
                Client: true
             Log Level: DEBUG
                Region: global (DC: dc1)
                Server: true
               Version: 1.1.2

==> Nomad agent started! Log data will stream in below:

    2021-07-17T11:44:34.005+0400 [DEBUG] agent.plugin_loader.docker: using client connection initialized from environment: plugin_dir=
    2021-07-17T11:44:34.006+0400 [DEBUG] agent.plugin_loader.docker: using client connection initialized from environment: plugin_dir=
    2021-07-17T11:44:34.007+0400 [INFO]  agent: detected plugin: name=java type=driver plugin_version=0.1.0
    2021-07-17T11:44:34.007+0400 [INFO]  agent: detected plugin: name=docker type=driver plugin_version=0.1.0
    2021-07-17T11:44:34.007+0400 [INFO]  agent: detected plugin: name=raw_exec type=driver plugin_version=0.1.0
    2021-07-17T11:44:34.007+0400 [INFO]  agent: detected plugin: name=exec type=driver plugin_version=0.1.0
    2021-07-17T11:44:34.007+0400 [INFO]  agent: detected plugin: name=qemu type=driver plugin_version=0.1.0
    2021-07-17T11:44:34.020+0400 [INFO]  nomad.raft: initial configuration: index=1 servers="[{Suffrage:Voter ID:127.0.0.1:4647 Address:127.0.0.1:4647}]"
    2021-07-17T11:44:34.021+0400 [INFO]  nomad.raft: entering follower state: follower="Node at 127.0.0.1:4647 [Follower]" leader=
    2021-07-17T11:44:34.025+0400 [INFO]  nomad: serf: EventMemberJoin: XXX.local.global 127.0.0.1
    2021-07-17T11:44:34.025+0400 [INFO]  nomad: starting scheduling worker(s): num_workers=4 schedulers=[service, batch, system, _core]
    2021-07-17T11:44:34.031+0400 [INFO]  nomad: adding server: server="XXX.local.global (Addr: 127.0.0.1:4647) (DC: dc1)"
    2021-07-17T11:44:34.033+0400 [INFO]  client: using state directory: state_dir=/private/var/folders/m7/xqzgx7dn65jf7q91jsyqkgq0hzpzxz/T/NomadClient102010004
    2021-07-17T11:44:34.034+0400 [INFO]  client: using alloc directory: alloc_dir=/private/var/folders/m7/xqzgx7dn65jf7q91jsyqkgq0hzpzxz/T/NomadClient187266787
    2021-07-17T11:44:34.126+0400 [DEBUG] client.fingerprint_mgr: built-in fingerprints: fingerprinters=[arch, cni, consul, cpu, host, memory, network, nomad, signal, storage, vault, env_aws, env_gce, env_azure]
    2021-07-17T11:44:34.126+0400 [DEBUG] client.fingerprint_mgr: CNI config dir is not set or does not exist, skipping: cni_config_dir=
    2021-07-17T11:44:34.127+0400 [DEBUG] client.fingerprint_mgr: fingerprinting periodically: fingerprinter=consul period=15s
    2021-07-17T11:44:34.127+0400 [DEBUG] client.fingerprint_mgr.cpu: detected cpu frequency: MHz=2700
    2021-07-17T11:44:34.127+0400 [DEBUG] client.fingerprint_mgr.cpu: detected core count: cores=4
    2021-07-17T11:44:34.127+0400 [DEBUG] client.fingerprint_mgr.cpu: detected reservable cores: cpuset=[]
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: link speed could not be detected and no speed specified by user, falling back to default speed: mbits=1000
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: detected interface IP: interface=lo0 IP=127.0.0.1
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: detected interface IP: interface=lo0 IP=::1
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: link speed could not be detected, falling back to default speed: mbits=1000
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: link speed could not be detected, falling back to default speed: mbits=1000
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: link speed could not be detected, falling back to default speed: mbits=1000
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: link speed could not be detected, falling back to default speed: mbits=1000
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: link speed could not be detected, falling back to default speed: mbits=1000
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: link speed could not be detected, falling back to default speed: mbits=1000
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: link speed could not be detected, falling back to default speed: mbits=1000
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: link speed could not be detected, falling back to default speed: mbits=1000
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: link speed could not be detected, falling back to default speed: mbits=1000
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: link speed could not be detected, falling back to default speed: mbits=1000
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: link speed could not be detected, falling back to default speed: mbits=1000
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: link speed could not be detected, falling back to default speed: mbits=1000
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: link speed could not be detected, falling back to default speed: mbits=1000
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: link speed could not be detected, falling back to default speed: mbits=1000
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: link speed could not be detected, falling back to default speed: mbits=1000
    2021-07-17T11:44:34.208+0400 [DEBUG] client.fingerprint_mgr.network: link speed could not be detected, falling back to default speed: mbits=1000
    2021-07-17T11:44:34.217+0400 [DEBUG] client.fingerprint_mgr: fingerprinting periodically: fingerprinter=vault period=15s
    2021-07-17T11:44:35.929+0400 [WARN]  nomad.raft: heartbeat timeout reached, starting election: last-leader=
    2021-07-17T11:44:35.930+0400 [INFO]  nomad.raft: entering candidate state: node="Node at 127.0.0.1:4647 [Candidate]" term=2
    2021-07-17T11:44:35.930+0400 [DEBUG] nomad.raft: votes: needed=1
    2021-07-17T11:44:35.930+0400 [DEBUG] nomad.raft: vote granted: from=127.0.0.1:4647 term=2 tally=1
    2021-07-17T11:44:35.930+0400 [INFO]  nomad.raft: election won: tally=1
    2021-07-17T11:44:35.930+0400 [INFO]  nomad.raft: entering leader state: leader="Node at 127.0.0.1:4647 [Leader]"
    2021-07-17T11:44:35.931+0400 [INFO]  nomad: cluster leadership acquired
    2021-07-17T11:44:35.943+0400 [INFO]  nomad.core: established cluster id: cluster_id=5342760c-d109-59cc-4e81-2b5eb83458a4 create_time=1626507875940600000
    2021-07-17T11:44:40.230+0400 [DEBUG] client.fingerprint_mgr.env_gce: could not read value for attribute: attribute=machine-type error="Get "http://169.254.169.254/computeMetadata/v1/instance/machine-type": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
    2021-07-17T11:44:40.230+0400 [DEBUG] client.fingerprint_mgr.env_gce: error querying GCE Metadata URL, skipping
    2021-07-17T11:44:40.231+0400 [DEBUG] client.fingerprint_mgr.env_azure: could not read value for attribute: attribute=compute/azEnvironment error="Get "http://169.254.169.254/metadata/instance/compute/azEnvironment?api-version=2019-06-04&format=text": dial tcp 169.254.169.254:80: connect: host is down"
    2021-07-17T11:44:40.231+0400 [DEBUG] client.fingerprint_mgr: detected fingerprints: node_attrs=[arch, cpu, host, network, nomad, signal, storage]
    2021-07-17T11:44:40.231+0400 [INFO]  client.plugin: starting plugin manager: plugin-type=csi
    2021-07-17T11:44:40.232+0400 [INFO]  client.plugin: starting plugin manager: plugin-type=driver
    2021-07-17T11:44:40.233+0400 [INFO]  client.plugin: starting plugin manager: plugin-type=device
    2021-07-17T11:44:40.233+0400 [DEBUG] client.device_mgr: exiting since there are no device plugins
    2021-07-17T11:44:40.235+0400 [DEBUG] client.plugin: waiting on plugin manager initial fingerprint: plugin-type=driver
    2021-07-17T11:44:40.235+0400 [DEBUG] client.plugin: waiting on plugin manager initial fingerprint: plugin-type=device
    2021-07-17T11:44:40.235+0400 [DEBUG] client.plugin: finished plugin manager initial fingerprint: plugin-type=device
    2021-07-17T11:44:40.239+0400 [DEBUG] client.driver_mgr: initial driver fingerprint: driver=qemu health=undetected description=
    2021-07-17T11:44:40.239+0400 [DEBUG] client.driver_mgr: initial driver fingerprint: driver=exec health=undetected description="exec driver unsupported on client OS"
    2021-07-17T11:44:40.240+0400 [DEBUG] client.driver_mgr: initial driver fingerprint: driver=raw_exec health=healthy description=Healthy
    2021-07-17T11:44:40.248+0400 [DEBUG] client.driver_mgr.docker: could not connect to docker daemon: driver=docker endpoint=unix:///var/run/docker.sock error="Get "http://unix.sock/version": dial unix /var/run/docker.sock: connect: no such file or directory"
    2021-07-17T11:44:40.249+0400 [DEBUG] client.driver_mgr: initial driver fingerprint: driver=docker health=undetected description="Failed to connect to docker daemon"
    2021-07-17T11:44:40.251+0400 [DEBUG] client.server_mgr: new server list: new_servers=[127.0.0.1:4647] old_servers=[]
    2021-07-17T11:44:41.148+0400 [DEBUG] client.driver_mgr: initial driver fingerprint: driver=java health=healthy description=Healthy
    2021-07-17T11:44:41.148+0400 [DEBUG] client.driver_mgr: detected drivers: drivers="map[healthy:[raw_exec java] undetected:[qemu exec docker]]"
    2021-07-17T11:44:41.149+0400 [DEBUG] client.plugin: finished plugin manager initial fingerprint: plugin-type=driver
    2021-07-17T11:44:41.149+0400 [INFO]  client: started client: node_id=076a711f-df52-d291-1872-721a489fa783
    2021-07-17T11:44:41.162+0400 [DEBUG] client: updated allocations: index=1 total=0 pulled=0 filtered=0
    2021-07-17T11:44:41.166+0400 [DEBUG] client: allocation updates: added=0 removed=0 updated=0 ignored=0
    2021-07-17T11:44:41.166+0400 [DEBUG] client: allocation updates applied: added=0 removed=0 updated=0 ignored=0 errors=0
    2021-07-17T11:44:41.171+0400 [INFO]  client: node registration complete
    2021-07-17T11:44:41.174+0400 [DEBUG] client: state updated: node_status=ready
    2021-07-17T11:44:42.171+0400 [DEBUG] client: state changed, updating node and re-registering
    2021-07-17T11:44:42.173+0400 [INFO]  client: node registration complete


See also[edit]

Advertising: