+ CONSUL_BIND=
+ [ -n  ]
+ CONSUL_CLIENT=
+ [ -n  ]
+ CONSUL_DATA_DIR=/consul/data
+ CONSUL_CONFIG_DIR=/consul/config
+ [ -n  ]
+ [ a = - ]
+ [ agent = agent ]
+ shift
+ set -- consul agent -data-dir=/consul/data -config-dir=/consul/config -bootstrap-expect=3 -enable-script-checks -retry-join=onap-consul-server-0.consul-server -retry-join=onap-consul-server-1.consul-server -retry-join=onap-consul-server-2.consul-server -client=0.0.0.0 -server -ui
+ [ consul = consul ]
+ stat -c %u /consul/data
+ id -u consul
+ [ 100 != 100 ]
+ stat -c %u /consul/config
+ id -u consul
+ [ 100 != 100 ]
+ [ ! -z ]
+ exec consul agent -data-dir=/consul/data -config-dir=/consul/config -bootstrap-expect=3 -enable-script-checks -retry-join=onap-consul-server-0.consul-server -retry-join=onap-consul-server-1.consul-server -retry-join=onap-consul-server-2.consul-server -client=0.0.0.0 -server -ui
bootstrap_expect > 0: expecting 3 servers
==> Starting Consul agent...
==> Consul agent running!
           Version: 'v1.0.6'
           Node ID: '9f14ac15-f907-d88f-b3d2-861cadd93d44'
         Node name: 'onap-consul-server-2'
        Datacenter: 'dc1' (Segment: '<all>')
            Server: true (Bootstrap: false)
       Client Addr: [0.0.0.0] (HTTP: 8500, HTTPS: -1, DNS: 8600)
      Cluster Addr: 10.233.69.248 (LAN: 8301, WAN: 8302)
           Encrypt: Gossip: false, TLS-Outgoing: false, TLS-Incoming: false

==> Log data will now stream in as it occurs:

    2022/10/14 14:27:57 [INFO] raft: Initial configuration (index=0): []
    2022/10/14 14:27:57 [INFO] raft: Node at 10.233.69.248:8300 [Follower] entering Follower state (Leader: "")
    2022/10/14 14:27:57 [INFO] serf: EventMemberJoin: onap-consul-server-2.dc1 10.233.69.248
    2022/10/14 14:27:57 [INFO] serf: EventMemberJoin: onap-consul-server-2 10.233.69.248
    2022/10/14 14:27:57 [INFO] consul: Handled member-join event for server "onap-consul-server-2.dc1" in area "wan"
    2022/10/14 14:27:57 [INFO] consul: Adding LAN server onap-consul-server-2 (Addr: tcp/10.233.69.248:8300) (DC: dc1)
    2022/10/14 14:27:57 [INFO] agent: Started DNS server 0.0.0.0:8600 (tcp)
    2022/10/14 14:27:57 [INFO] agent: Started DNS server 0.0.0.0:8600 (udp)
    2022/10/14 14:27:57 [INFO] agent: Started HTTP server on [::]:8500 (tcp)
    2022/10/14 14:27:57 [INFO] agent: started state syncer
    2022/10/14 14:27:57 [INFO] agent: Retry join LAN is supported for: aliyun aws azure digitalocean gce os scaleway softlayer
    2022/10/14 14:27:57 [INFO] agent: Joining LAN cluster...
    2022/10/14 14:27:57 [INFO] agent: (LAN) joining: [onap-consul-server-0.consul-server onap-consul-server-1.consul-server onap-consul-server-2.consul-server]
    2022/10/14 14:27:59 [INFO] serf: EventMemberJoin: onap-consul-5c69875fbb-8n6c5 10.233.70.177
    2022/10/14 14:27:59 [INFO] serf: EventMemberJoin: onap-consul-server-1 10.233.71.99
    2022/10/14 14:27:59 [INFO] serf: EventMemberJoin: onap-consul-server-0 10.233.70.58
    2022/10/14 14:27:59 [INFO] consul: Adding LAN server onap-consul-server-1 (Addr: tcp/10.233.71.99:8300) (DC: dc1)
    2022/10/14 14:27:59 [INFO] consul: Found expected number of peers, attempting bootstrap: 10.233.70.58:8300,10.233.69.248:8300,10.233.71.99:8300
    2022/10/14 14:27:59 [INFO] serf: EventMemberJoin: onap-consul-server-1.dc1 10.233.71.99
    2022/10/14 14:27:59 [INFO] serf: EventMemberJoin: onap-consul-server-0.dc1 10.233.70.58
    2022/10/14 14:27:59 [INFO] consul: Handled member-join event for server "onap-consul-server-1.dc1" in area "wan"
    2022/10/14 14:27:59 [INFO] consul: Handled member-join event for server "onap-consul-server-0.dc1" in area "wan"
    2022/10/14 14:27:59 [INFO] consul: Adding LAN server onap-consul-server-0 (Addr: tcp/10.233.70.58:8300) (DC: dc1)
2022/10/14 14:28:00 [DEBUG] raft-net: 10.233.69.248:8300 accepted connection from: 127.0.0.6:47271
    2022/10/14 14:28:00 [INFO] consul: New leader elected: onap-consul-server-0
    2022/10/14 14:28:00 [INFO] agent: Synced node info
2022/10/14 14:28:01 [DEBUG] raft-net: 10.233.69.248:8300 accepted connection from: 127.0.0.6:55563
    2022/10/14 14:28:03 [WARN] memberlist: Failed to resolve onap-consul-server-2.consul-server: lookup onap-consul-server-2.consul-server on 169.254.25.10:53: no such host
    2022/10/14 14:28:03 [INFO] agent: (LAN) joined: 2 Err: <nil>
    2022/10/14 14:28:03 [INFO] agent: Join LAN completed. Synced with 2 initial agents
==> Newer Consul version available: 1.13.2 (currently running: 1.0.6)
    2022/10/15 04:09:52 [INFO] consul.fsm: snapshot created in 67.217µs
    2022/10/15 04:09:52 [INFO] raft: Starting snapshot up to 8192
    2022/10/15 04:09:52 [INFO] snapshot: Creating new snapshot at /consul/data/raft/snapshots/2-8192-1665806992813.tmp
    2022/10/15 04:09:52 [INFO] raft: Snapshot to 8192 complete
    2022/10/15 09:38:08 [ERR] yamux: keepalive failed: session shutdown
    2022/10/15 18:09:26 [INFO] consul.fsm: snapshot created in 78.728µs
    2022/10/15 18:09:26 [INFO] raft: Starting snapshot up to 16384
    2022/10/15 18:09:26 [INFO] snapshot: Creating new snapshot at /consul/data/raft/snapshots/2-16384-1665857366320.tmp
    2022/10/15 18:09:26 [INFO] raft: Compacting logs from 1 to 6144
    2022/10/15 18:09:26 [INFO] raft: Snapshot to 16384 complete
==> Newer Consul version available: 1.13.2 (currently running: 1.0.6)
    2022/10/16 08:07:45 [INFO] consul.fsm: snapshot created in 51.613µs
    2022/10/16 08:07:45 [INFO] raft: Starting snapshot up to 24576
    2022/10/16 08:07:45 [INFO] snapshot: Creating new snapshot at /consul/data/raft/snapshots/2-24576-1665907665210.tmp
    2022/10/16 08:07:45 [INFO] snapshot: reaping snapshot /consul/data/raft/snapshots/2-8192-1665806992813
    2022/10/16 08:07:45 [INFO] raft: Compacting logs from 6145 to 14336
    2022/10/16 08:07:45 [INFO] raft: Snapshot to 24576 complete
==> Newer Consul version available: 1.13.2 (currently running: 1.0.6)
    2022/10/16 22:05:13 [INFO] consul.fsm: snapshot created in 68.463µs
    2022/10/16 22:05:13 [INFO] raft: Starting snapshot up to 32769
    2022/10/16 22:05:13 [INFO] snapshot: Creating new snapshot at /consul/data/raft/snapshots/2-32769-1665957913956.tmp
    2022/10/16 22:05:13 [INFO] snapshot: reaping snapshot /consul/data/raft/snapshots/2-16384-1665857366320
    2022/10/16 22:05:13 [INFO] raft: Compacting logs from 14337 to 22529
    2022/10/16 22:05:13 [INFO] raft: Snapshot to 32769 complete
    2022/10/17 02:19:12 [ERR] yamux: keepalive failed: session shutdown
    2022/10/17 12:00:40 [INFO] consul.fsm: snapshot created in 182.871µs
    2022/10/17 12:00:40 [INFO] raft: Starting snapshot up to 40961
    2022/10/17 12:00:40 [INFO] snapshot: Creating new snapshot at /consul/data/raft/snapshots/2-40961-1666008040274.tmp
    2022/10/17 12:00:40 [INFO] snapshot: reaping snapshot /consul/data/raft/snapshots/2-24576-1665907665210
    2022/10/17 12:00:40 [INFO] raft: Compacting logs from 22530 to 30721
    2022/10/17 12:00:40 [INFO] raft: Snapshot to 40961 complete
==> Newer Consul version available: 1.13.2 (currently running: 1.0.6)
    2022/10/18 01:56:18 [INFO] consul.fsm: snapshot created in 67.992µs
    2022/10/18 01:56:18 [INFO] raft: Starting snapshot up to 49155
    2022/10/18 01:56:18 [INFO] snapshot: Creating new snapshot at /consul/data/raft/snapshots/2-49155-1666058178401.tmp
    2022/10/18 01:56:18 [INFO] snapshot: reaping snapshot /consul/data/raft/snapshots/2-32769-1665957913956
    2022/10/18 01:56:18 [INFO] raft: Compacting logs from 30722 to 38915
    2022/10/18 01:56:18 [INFO] raft: Snapshot to 49155 complete
    2022/10/18 04:32:32 [WARN] yamux: failed to send ping reply: session shutdown
    2022/10/18 04:32:32 [ERR] yamux: keepalive failed: session shutdown
