1 | | [ Dec 6 01:44:43 Enabled. ] |
2 | | [ Dec 6 01:44:43 Rereading configuration. ] |
3 | | [ Dec 6 01:44:43 Rereading configuration. ] |
4 | | [ Dec 6 01:44:53 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 |
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=oxControlService5 |
24 | | ++ svcprop -c -p config/gateway svc:/oxide/cockroachdb:default |
25 | | + GATEWAY=fd00:1122:3344:101::1 |
26 | | + [[ oxControlService5 == unknown ]] |
27 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
28 | | + ipadm delete-if oxControlService5 |
29 | | ipadm: Could not delete oxControlService5: Interface does not exist |
30 | | + true |
31 | | + ipadm create-if -t oxControlService5 |
32 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService5 |
33 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService5 |
34 | | + ipadm show-addr oxControlService5/ll |
35 | | ipadm: Address object not found |
36 | | + ipadm create-addr -t -T addrconf oxControlService5/ll |
37 | | + ipadm show-addr oxControlService5/omicron6 |
38 | | ipadm: Address object not found |
39 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::5 oxControlService5/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-06T01:44:54.507Z | INFO | dnswait: using system configuration
|
49 | | + JOIN_ADDRS=176b7585-5339-4913-a528-c6894d494cd8.host.control-plane.oxide.internal.:32221,4670e6d0-1b8d-40f9-879c-d59c3cfdd99f.host.control-plane.oxide.internal.:32221,589bb911-b0c9-45f2-9736-fa1eb9b3b271.host.control-plane.oxide.internal.:32221,bc420a00-86c4-4c4f-b6b9-be2069fb1960.host.control-plane.oxide.internal.:32221,c8a703de-60c8-4e01-8cc5-d48dce4df393.host.control-plane.oxide.internal.:32221, |
50 | | + [[ -z 176b7585-5339-4913-a528-c6894d494cd8.host.control-plane.oxide.internal.:32221,4670e6d0-1b8d-40f9-879c-d59c3cfdd99f.host.control-plane.oxide.internal.:32221,589bb911-b0c9-45f2-9736-fa1eb9b3b271.host.control-plane.oxide.internal.:32221,bc420a00-86c4-4c4f-b6b9-be2069fb1960.host.control-plane.oxide.internal.:32221,c8a703de-60c8-4e01-8cc5-d48dce4df393.host.control-plane.oxide.internal.:32221, ]] |
51 | | + args=('--insecure' '--listen-addr' "[$LISTEN_ADDR]:$LISTEN_PORT" '--store' "$DATASTORE" '--join' "$JOIN_ADDRS") |
52 | | + exec /opt/oxide/cockroachdb/bin/cockroach start --insecure --listen-addr '[fd00:1122:3344:101::5]:32221' --store /data --join 176b7585-5339-4913-a528-c6894d494cd8.host.control-plane.oxide.internal.:32221,4670e6d0-1b8d-40f9-879c-d59c3cfdd99f.host.control-plane.oxide.internal.:32221,589bb911-b0c9-45f2-9736-fa1eb9b3b271.host.control-plane.oxide.internal.:32221,bc420a00-86c4-4c4f-b6b9-be2069fb1960.host.control-plane.oxide.internal.:32221,c8a703de-60c8-4e01-8cc5-d48dce4df393.host.control-plane.oxide.internal.:32221, |
53 | | [ Dec 6 01:44:54 Method "start" exited with status 0. ] |