| 1 | | [ Jun 25 07:08:41 Enabled. ] |
| 2 | | [ Jun 25 07:08:41 Rereading configuration. ] |
| 3 | | [ Jun 25 07:08:41 Rereading configuration. ] |
| 4 | | [ Jun 25 07:08:42 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]: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-06-25T07:08:42.924Z | INFO | dnswait: using system configuration
|
| 25 | | + JOIN_ADDRS=106fbba8-16ba-474f-bae5-20cf7d63514b.host.control-plane.oxide.internal.:32221,465eb41f-4880-4a29-95e7-b0fca4e4cb63.host.control-plane.oxide.internal.:32221,6ce8da26-8d27-40ea-a3a2-49002174d50f.host.control-plane.oxide.internal.:32221,908ccae6-e2ae-437f-97b1-6e34b094859a.host.control-plane.oxide.internal.:32221,9b0df50c-c445-439e-90f5-eb10853e39c3.host.control-plane.oxide.internal.:32221, |
| 26 | | + [[ -z 106fbba8-16ba-474f-bae5-20cf7d63514b.host.control-plane.oxide.internal.:32221,465eb41f-4880-4a29-95e7-b0fca4e4cb63.host.control-plane.oxide.internal.:32221,6ce8da26-8d27-40ea-a3a2-49002174d50f.host.control-plane.oxide.internal.:32221,908ccae6-e2ae-437f-97b1-6e34b094859a.host.control-plane.oxide.internal.:32221,9b0df50c-c445-439e-90f5-eb10853e39c3.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::4]:32221' --http-addr 127.0.0.1:8080 --store /data --join 106fbba8-16ba-474f-bae5-20cf7d63514b.host.control-plane.oxide.internal.:32221,465eb41f-4880-4a29-95e7-b0fca4e4cb63.host.control-plane.oxide.internal.:32221,6ce8da26-8d27-40ea-a3a2-49002174d50f.host.control-plane.oxide.internal.:32221,908ccae6-e2ae-437f-97b1-6e34b094859a.host.control-plane.oxide.internal.:32221,9b0df50c-c445-439e-90f5-eb10853e39c3.host.control-plane.oxide.internal.:32221, |
| 29 | | [ Jun 25 07:08:42 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::4. |
| 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 | | * |
| 55 | | * WARNING: The server appears to be unable to contact the other nodes in the cluster. Please try: |
| 56 | | * |
| 57 | | * - starting the other nodes, if you haven't already; |
| 58 | | * - double-checking that the '--join' and '--listen'/'--advertise' flags are set up correctly; |
| 59 | | * - running the 'cockroach init' command if you are trying to initialize a new cluster. |
| 60 | | * |
| 61 | | * If problems persist, please see https://www.cockroachlabs.com/docs/v22.1/cluster-setup-troubleshooting.html. |
| 62 | | * |
| 63 | | CockroachDB node starting at 2024-06-25 07:09:59.912598469 +0000 UTC (took 76.6s) |
| 64 | | build: OSS v22.1.9-dirty @ 2022/10/26 21:17:46 (go1.17.13) |
| 65 | | webui: http://127.0.0.1:8080 |
| 66 | | sql: postgresql://root@[fd00:1122:3344:101::4]:32221/defaultdb?sslmode=disable |
| 67 | | sql (JDBC): jdbc:postgresql://[fd00:1122:3344:101::4]:32221/defaultdb?sslmode=disable&user=root |
| 68 | | RPC client flags: /opt/oxide/cockroachdb/bin/cockroach <client cmd> --host=[fd00:1122:3344:101::4]:32221 --insecure |
| 69 | | logs: /data/logs |
| 70 | | temp dir: /data/cockroach-temp3766407036 |
| 71 | | external I/O path: /data/extern |
| 72 | | store[0]: path=/data |
| 73 | | storage engine: pebble |
| 74 | | clusterID: 87c6ee0b-8211-41ac-bc9a-939e82d9fdc5 |
| 75 | | status: initialized new node, joined pre-existing cluster |
| 76 | | nodeID: 5 |