1 | | [ Dec 19 23:01:18 Enabled. ] |
2 | | [ Dec 19 23:01:18 Rereading configuration. ] |
3 | | [ Dec 19 23:01:19 Rereading configuration. ] |
4 | | [ Dec 19 23:01:29 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::3 |
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 | | ++ svcprop -c -p config/datalink svc:/oxide/cockroachdb:default |
23 | | + DATALINK=oxControlService9 |
24 | | ++ svcprop -c -p config/gateway svc:/oxide/cockroachdb:default |
25 | | + GATEWAY=fd00:1122:3344:101::1 |
26 | | + [[ oxControlService9 == unknown ]] |
27 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
28 | | + ipadm delete-if oxControlService9 |
29 | | ipadm: Could not delete oxControlService9: Interface does not exist |
30 | | + true |
31 | | + ipadm create-if -t oxControlService9 |
32 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService9 |
33 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService9 |
34 | | + ipadm show-addr oxControlService9/ll |
35 | | ipadm: Address object not found |
36 | | + ipadm create-addr -t -T addrconf oxControlService9/ll |
37 | | + ipadm show-addr oxControlService9/omicron6 |
38 | | ipadm: Address object not found |
39 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::3 oxControlService9/omicron6 |
40 | | + route get -inet6 default -inet6 fd00:1122:3344:101::1 |
41 | | default: not in table |
42 | | + route add -inet6 default -inet6 fd00:1122:3344:101::1 |
43 | | add net default: gateway fd00:1122:3344:101::1 |
44 | | ++ /opt/oxide/internal-dns-cli/bin/dnswait cockroach |
45 | | ++ head -n 5 |
46 | | ++ tr '\n' , |
47 | | note: configured to log to "/dev/stderr" |
48 | 2023-12-19T23:01:30.376Z | INFO | dnswait: using system configuration
|
49 | | + JOIN_ADDRS=27b27166-2734-4409-b6d8-9557b3956118.host.control-plane.oxide.internal.:32221,8661716b-9deb-496e-a80f-9e7183d7d40c.host.control-plane.oxide.internal.:32221,a2b50530-cea8-44ca-9039-1c21722dae22.host.control-plane.oxide.internal.:32221,b3aefdf0-ff4a-4bda-9cf3-a9252914fcd4.host.control-plane.oxide.internal.:32221,d1bf2dad-cfa5-403e-a7fc-29d6ef199701.host.control-plane.oxide.internal.:32221, |
50 | | + [[ -z 27b27166-2734-4409-b6d8-9557b3956118.host.control-plane.oxide.internal.:32221,8661716b-9deb-496e-a80f-9e7183d7d40c.host.control-plane.oxide.internal.:32221,a2b50530-cea8-44ca-9039-1c21722dae22.host.control-plane.oxide.internal.:32221,b3aefdf0-ff4a-4bda-9cf3-a9252914fcd4.host.control-plane.oxide.internal.:32221,d1bf2dad-cfa5-403e-a7fc-29d6ef199701.host.control-plane.oxide.internal.:32221, ]] |
51 | | + args=('--insecure' '--listen-addr' "[$LISTEN_ADDR]:$LISTEN_PORT" '--http-addr' '127.0.0.1:8080' '--store' "$DATASTORE" '--join' "$JOIN_ADDRS") |
52 | | + exec /opt/oxide/cockroachdb/bin/cockroach start --insecure --listen-addr '[fd00:1122:3344:101::3]:32221' --http-addr 127.0.0.1:8080 --store /data --join 27b27166-2734-4409-b6d8-9557b3956118.host.control-plane.oxide.internal.:32221,8661716b-9deb-496e-a80f-9e7183d7d40c.host.control-plane.oxide.internal.:32221,a2b50530-cea8-44ca-9039-1c21722dae22.host.control-plane.oxide.internal.:32221,b3aefdf0-ff4a-4bda-9cf3-a9252914fcd4.host.control-plane.oxide.internal.:32221,d1bf2dad-cfa5-403e-a7fc-29d6ef199701.host.control-plane.oxide.internal.:32221, |
53 | | [ Dec 19 23:01:30 Method "start" exited with status 0. ] |
54 | | * |
55 | | * WARNING: ALL SECURITY CONTROLS HAVE BEEN DISABLED! |
56 | | * |
57 | | * This mode is intended for non-production testing only. |
58 | | * |
59 | | * In this mode: |
60 | | * - Your cluster is open to any client that can access fd00:1122:3344:101::3. |
61 | | * - Intruders with access to your machine or network can observe client-server traffic. |
62 | | * - Intruders can log in without password and read or write any data in the cluster. |
63 | | * - Intruders can consume all your server's resources and cause unavailability. |
64 | | * |
65 | | * |
66 | | * INFO: To start a secure server without mandating TLS for clients, |
67 | | * consider --accept-sql-without-tls instead. For other options, see: |
68 | | * |
69 | | * - https://go.crdb.dev/issue-v/53404/v22.1 |
70 | | * - https://www.cockroachlabs.com/docs/v22.1/secure-a-cluster.html |
71 | | * |
72 | | * |
73 | | * INFO: initial startup completed. |
74 | | * Node will now attempt to join a running cluster, or wait for `cockroach init`. |
75 | | * Client connections will be accepted after this completes successfully. |
76 | | * Check the log file(s) for progress. |
77 | | * |
78 | | CockroachDB node starting at 2023-12-19 23:01:36.073406948 +0000 UTC (took 5.1s) |
79 | | build: OSS v22.1.9-dirty @ 2022/10/26 21:17:46 (go1.17.13) |
80 | | webui: http://127.0.0.1:8080 |
81 | | sql: postgresql://root@[fd00:1122:3344:101::3]:32221/defaultdb?sslmode=disable |
82 | | sql (JDBC): jdbc:postgresql://[fd00:1122:3344:101::3]:32221/defaultdb?sslmode=disable&user=root |
83 | | RPC client flags: /opt/oxide/cockroachdb/bin/cockroach <client cmd> --host=[fd00:1122:3344:101::3]:32221 --insecure |
84 | | logs: /data/logs |
85 | | temp dir: /data/cockroach-temp4156980797 |
86 | | external I/O path: /data/extern |
87 | | store[0]: path=/data |
88 | | storage engine: pebble |
89 | | clusterID: a7bbaf0e-dfb7-4e60-82ac-f06669152917 |
90 | | status: initialized new cluster |
91 | | nodeID: 1 |