| 1 | | [ Aug 14 22:30:17 Enabled. ] |
| 2 | | [ Aug 14 22:30:17 Rereading configuration. ] |
| 3 | | [ Aug 14 22:30:17 Rereading configuration. ] |
| 4 | | [ Aug 14 22:30:18 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::5]:32221' |
| 18 | | ++ svcprop -c -p config/store svc:/oxide/cockroachdb:default |
| 19 | | + DATASTORE=/data |
| 20 | | ++ /opt/oxide/internal-dns-cli/bin/dnswait cockroach |
| 21 | | ++ head -n 5 |
| 22 | | ++ tr '\n' , |
| 23 | | note: configured to log to "/dev/stderr" |
| 24 | 2024-08-14T22:30:18.865Z | INFO | dnswait: using system configuration
|
| 25 | | + JOIN_ADDRS=096736ee-173c-4ab4-9218-85c2f4818050.host.control-plane.oxide.internal.:32221,4f9822a7-fb64-419c-8824-2c8538ed9a6a.host.control-plane.oxide.internal.:32221,734a7da0-4664-48e8-b4a5-4a758b3f3876.host.control-plane.oxide.internal.:32221,c7a204e7-7a9e-433d-a12b-a29fd64ac00e.host.control-plane.oxide.internal.:32221,e6f7e4b6-1ff5-456a-a3aa-13e35b2fda8b.host.control-plane.oxide.internal.:32221, |
| 26 | | + [[ -z 096736ee-173c-4ab4-9218-85c2f4818050.host.control-plane.oxide.internal.:32221,4f9822a7-fb64-419c-8824-2c8538ed9a6a.host.control-plane.oxide.internal.:32221,734a7da0-4664-48e8-b4a5-4a758b3f3876.host.control-plane.oxide.internal.:32221,c7a204e7-7a9e-433d-a12b-a29fd64ac00e.host.control-plane.oxide.internal.:32221,e6f7e4b6-1ff5-456a-a3aa-13e35b2fda8b.host.control-plane.oxide.internal.:32221, ]] |
| 27 | | + args=('--insecure' '--listen-addr' "$LISTEN_ADDR" '--http-addr' '127.0.0.1:8080' '--store' "$DATASTORE" '--join' "$JOIN_ADDRS") |
| 28 | | + exec /opt/oxide/cockroachdb/bin/cockroach start --insecure --listen-addr '[fd00:1122:3344:101::5]:32221' --http-addr 127.0.0.1:8080 --store /data --join 096736ee-173c-4ab4-9218-85c2f4818050.host.control-plane.oxide.internal.:32221,4f9822a7-fb64-419c-8824-2c8538ed9a6a.host.control-plane.oxide.internal.:32221,734a7da0-4664-48e8-b4a5-4a758b3f3876.host.control-plane.oxide.internal.:32221,c7a204e7-7a9e-433d-a12b-a29fd64ac00e.host.control-plane.oxide.internal.:32221,e6f7e4b6-1ff5-456a-a3aa-13e35b2fda8b.host.control-plane.oxide.internal.:32221, |
| 29 | | [ Aug 14 22:30:18 Method "start" exited with status 0. ] |
| 30 | | * |
| 31 | | * WARNING: ALL SECURITY CONTROLS HAVE BEEN DISABLED! |
| 32 | | * |
| 33 | | * This mode is intended for non-production testing only. |
| 34 | | * |
| 35 | | * In this mode: |
| 36 | | * - Your cluster is open to any client that can access fd00:1122:3344:101::5. |
| 37 | | * - Intruders with access to your machine or network can observe client-server traffic. |
| 38 | | * - Intruders can log in without password and read or write any data in the cluster. |
| 39 | | * - Intruders can consume all your server's resources and cause unavailability. |
| 40 | | * |
| 41 | | * |
| 42 | | * INFO: To start a secure server without mandating TLS for clients, |
| 43 | | * consider --accept-sql-without-tls instead. For other options, see: |
| 44 | | * |
| 45 | | * - https://go.crdb.dev/issue-v/53404/v22.1 |
| 46 | | * - https://www.cockroachlabs.com/docs/v22.1/secure-a-cluster.html |
| 47 | | * |
| 48 | | * |
| 49 | | * INFO: initial startup completed. |
| 50 | | * Node will now attempt to join a running cluster, or wait for `cockroach init`. |
| 51 | | * Client connections will be accepted after this completes successfully. |
| 52 | | * Check the log file(s) for progress. |
| 53 | | * |
| 54 | | CockroachDB node starting at 2024-08-14 22:30:37.697535917 +0000 UTC (took 18.1s) |
| 55 | | build: OSS v22.1.9-dirty @ 2022/10/26 21:17:46 (go1.17.13) |
| 56 | | webui: http://127.0.0.1:8080 |
| 57 | | sql: postgresql://root@[fd00:1122:3344:101::5]:32221/defaultdb?sslmode=disable |
| 58 | | sql (JDBC): jdbc:postgresql://[fd00:1122:3344:101::5]:32221/defaultdb?sslmode=disable&user=root |
| 59 | | RPC client flags: /opt/oxide/cockroachdb/bin/cockroach <client cmd> --host=[fd00:1122:3344:101::5]:32221 --insecure |
| 60 | | logs: /data/logs |
| 61 | | temp dir: /data/cockroach-temp391218328 |
| 62 | | external I/O path: /data/extern |
| 63 | | store[0]: path=/data |
| 64 | | storage engine: pebble |
| 65 | | clusterID: 7c5c3577-d10d-404a-9a3b-ab441cf8b253 |
| 66 | | status: initialized new node, joined pre-existing cluster |
| 67 | | nodeID: 3 |