| 1 | | [ May 15 03:40:46 Enabled. ] |
| 2 | | [ May 15 03:40:46 Rereading configuration. ] |
| 3 | | [ May 15 03:40:46 Rereading configuration. ] |
| 4 | | [ May 15 03:40:48 Executing start method ("/opt/oxide/lib/svc/manifest/cockroachdb.sh"). ] |
| 5 | | + set -o errexit |
| 6 | | + set -o pipefail |
| 7 | | + . /lib/svc/share/smf_include.sh |
| 8 | | ++ SMF_EXIT_OK=0 |
| 9 | | ++ SMF_EXIT_NODAEMON=94 |
| 10 | | ++ SMF_EXIT_ERR_FATAL=95 |
| 11 | | ++ SMF_EXIT_ERR_CONFIG=96 |
| 12 | | ++ SMF_EXIT_MON_DEGRADE=97 |
| 13 | | ++ SMF_EXIT_MON_OFFLINE=98 |
| 14 | | ++ SMF_EXIT_ERR_NOSMF=99 |
| 15 | | ++ SMF_EXIT_ERR_PERM=100 |
| 16 | | ++ svcprop -c -p config/listen_addr svc:/oxide/cockroachdb:default |
| 17 | | + LISTEN_ADDR=fd00:1122:3344:101::4 |
| 18 | | ++ svcprop -c -p config/listen_port svc:/oxide/cockroachdb:default |
| 19 | | + LISTEN_PORT=32221 |
| 20 | | ++ svcprop -c -p config/store svc:/oxide/cockroachdb:default |
| 21 | | + DATASTORE=/data |
| 22 | | ++ /opt/oxide/internal-dns-cli/bin/dnswait cockroach |
| 23 | | ++ head -n 5 |
| 24 | | ++ tr '\n' , |
| 25 | | note: configured to log to "/dev/stderr" |
| 26 | 2024-05-15T03:40:48.131Z | INFO | dnswait: using system configuration
|
| 27 | | + JOIN_ADDRS=33617341-0e42-4606-af77-7218b715c843.host.control-plane.oxide.internal.:32221,6902bf68-ffad-4fc1-b80e-458a68762cf6.host.control-plane.oxide.internal.:32221,69c30efd-d7d7-478c-bba8-a1cf5aea8a09.host.control-plane.oxide.internal.:32221,add72082-13f2-4ab6-be34-f7f1d1687420.host.control-plane.oxide.internal.:32221,da15b7fc-8960-40d3-a9f8-615036fefa1a.host.control-plane.oxide.internal.:32221, |
| 28 | | + [[ -z 33617341-0e42-4606-af77-7218b715c843.host.control-plane.oxide.internal.:32221,6902bf68-ffad-4fc1-b80e-458a68762cf6.host.control-plane.oxide.internal.:32221,69c30efd-d7d7-478c-bba8-a1cf5aea8a09.host.control-plane.oxide.internal.:32221,add72082-13f2-4ab6-be34-f7f1d1687420.host.control-plane.oxide.internal.:32221,da15b7fc-8960-40d3-a9f8-615036fefa1a.host.control-plane.oxide.internal.:32221, ]] |
| 29 | | + args=('--insecure' '--listen-addr' "[$LISTEN_ADDR]:$LISTEN_PORT" '--http-addr' '127.0.0.1:8080' '--store' "$DATASTORE" '--join' "$JOIN_ADDRS") |
| 30 | | + exec /opt/oxide/cockroachdb/bin/cockroach start --insecure --listen-addr '[fd00:1122:3344:101::4]:32221' --http-addr 127.0.0.1:8080 --store /data --join 33617341-0e42-4606-af77-7218b715c843.host.control-plane.oxide.internal.:32221,6902bf68-ffad-4fc1-b80e-458a68762cf6.host.control-plane.oxide.internal.:32221,69c30efd-d7d7-478c-bba8-a1cf5aea8a09.host.control-plane.oxide.internal.:32221,add72082-13f2-4ab6-be34-f7f1d1687420.host.control-plane.oxide.internal.:32221,da15b7fc-8960-40d3-a9f8-615036fefa1a.host.control-plane.oxide.internal.:32221, |
| 31 | | [ May 15 03:40:48 Method "start" exited with status 0. ] |
| 32 | | * |
| 33 | | * WARNING: ALL SECURITY CONTROLS HAVE BEEN DISABLED! |
| 34 | | * |
| 35 | | * This mode is intended for non-production testing only. |
| 36 | | * |
| 37 | | * In this mode: |
| 38 | | * - Your cluster is open to any client that can access fd00:1122:3344:101::4. |
| 39 | | * - Intruders with access to your machine or network can observe client-server traffic. |
| 40 | | * - Intruders can log in without password and read or write any data in the cluster. |
| 41 | | * - Intruders can consume all your server's resources and cause unavailability. |
| 42 | | * |
| 43 | | * |
| 44 | | * INFO: To start a secure server without mandating TLS for clients, |
| 45 | | * consider --accept-sql-without-tls instead. For other options, see: |
| 46 | | * |
| 47 | | * - https://go.crdb.dev/issue-v/53404/v22.1 |
| 48 | | * - https://www.cockroachlabs.com/docs/v22.1/secure-a-cluster.html |
| 49 | | * |
| 50 | | * |
| 51 | | * INFO: initial startup completed. |
| 52 | | * Node will now attempt to join a running cluster, or wait for `cockroach init`. |
| 53 | | * Client connections will be accepted after this completes successfully. |
| 54 | | * Check the log file(s) for progress. |
| 55 | | * |
| 56 | | CockroachDB node starting at 2024-05-15 03:41:08.182307209 +0000 UTC (took 19.5s) |
| 57 | | build: OSS v22.1.9-dirty @ 2022/10/26 21:17:46 (go1.17.13) |
| 58 | | webui: http://127.0.0.1:8080 |
| 59 | | sql: postgresql://root@[fd00:1122:3344:101::4]:32221/defaultdb?sslmode=disable |
| 60 | | sql (JDBC): jdbc:postgresql://[fd00:1122:3344:101::4]:32221/defaultdb?sslmode=disable&user=root |
| 61 | | RPC client flags: /opt/oxide/cockroachdb/bin/cockroach <client cmd> --host=[fd00:1122:3344:101::4]:32221 --insecure |
| 62 | | logs: /data/logs |
| 63 | | temp dir: /data/cockroach-temp742034248 |
| 64 | | external I/O path: /data/extern |
| 65 | | store[0]: path=/data |
| 66 | | storage engine: pebble |
| 67 | | clusterID: afdd5671-700f-4192-9a53-2d572f2fc125 |
| 68 | | status: initialized new node, joined pre-existing cluster |
| 69 | | nodeID: 5 |