Max level shown:
1 [ Oct 26 23:28:04 Enabled. ]
2 [ Oct 26 23:28:04 Rereading configuration. ]
3 [ Oct 26 23:28:08 Rereading configuration. ]
4 [ Oct 26 23:28:15 Executing start method ("/opt/oxide/lib/svc/manifest/crucible/agent.sh"). ]
5 + . /lib/svc/share/smf_include.sh
6 ++ SMF_EXIT_OK=0
7 ++ SMF_EXIT_NODAEMON=94
8 ++ SMF_EXIT_ERR_FATAL=95
9 ++ SMF_EXIT_ERR_CONFIG=96
10 ++ SMF_EXIT_MON_DEGRADE=97
11 ++ SMF_EXIT_MON_OFFLINE=98
12 ++ SMF_EXIT_ERR_NOSMF=99
13 ++ SMF_EXIT_ERR_PERM=100
14 ++ svcprop -c -p config/datalink svc:/oxide/crucible/agent:default
15 + DATALINK=oxControlService19
16 ++ svcprop -c -p config/gateway svc:/oxide/crucible/agent:default
17 + GATEWAY=fd00:1122:3344:101::1
18 ++ svcprop -c -p config/dataset svc:/oxide/crucible/agent:default
19 + DATASET=oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible
20 ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default
21 + LISTEN_ADDR=fd00:1122:3344:101::19
22 ++ svcprop -c -p config/listen_port svc:/oxide/crucible/agent:default
23 + LISTEN_PORT=32345
24 ++ svcprop -c -p config/portbase svc:/oxide/crucible/agent:default
25 + PORTBASE=19000
26 ++ svcprop -c -p config/downstairs_prefix svc:/oxide/crucible/agent:default
27 + DOWNSTAIRS_PREFIX=downstairs
28 ++ svcprop -c -p config/snapshot_prefix svc:/oxide/crucible/agent:default
29 + SNAPSHOT_PREFIX=snapshot
30 + [[ oxControlService19 == unknown ]]
31 + [[ fd00:1122:3344:101::1 == unknown ]]
32 + ipadm delete-if oxControlService19
33 ipadm: Could not delete oxControlService19: Interface does not exist
34 + true
35 + ipadm create-if -t oxControlService19
36 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService19
37 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService19
38 + ipadm show-addr oxControlService19/ll
39 ipadm: Address object not found
40 + ipadm create-addr -t -T addrconf oxControlService19/ll
41 + ipadm show-addr oxControlService19/omicron6
42 ipadm: Address object not found
43 + ipadm create-addr -t -T static -a fd00:1122:3344:101::19 oxControlService19/omicron6
44 + route get -inet6 default -inet6 fd00:1122:3344:101::1
45 default: not in table
46 + route add -inet6 default -inet6 fd00:1122:3344:101::1
47 add net default: gateway fd00:1122:3344:101::1
48 + args=('-D' '/opt/oxide/crucible/bin/crucible-downstairs' '--dataset' "$DATASET" '-l' "[$LISTEN_ADDR]:$LISTEN_PORT" '-P' "$PORTBASE" '-p' "$DOWNSTAIRS_PREFIX" '-s' "$SNAPSHOT_PREFIX")
49 + exec /opt/oxide/crucible/bin/crucible-agent run -D /opt/oxide/crucible/bin/crucible-downstairs --dataset oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::19]:32345' -P 19000 -p downstairs -s snapshot
50 note: configured to log to "/dev/stdout"
512023-10-26T23:28:16.367ZINFOcrucible-agent: dataset: "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible"
522023-10-26T23:28:16.372ZINFOcrucible-agent: listen IP: [fd00:1122:3344:101::19]:32345
532023-10-26T23:28:16.372ZINFOcrucible-agent: SMF instance name downstairs_prefix: "downstairs"
542023-10-26T23:28:16.668ZINFOcrucible-agent (dropshot): listening local_addr = [fd00:1122:3344:101::19]:32345
552023-10-26T23:29:20.683ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::19]:32345 remote_addr = [fd00:1122:3344:101::a]:63305
562023-10-26T23:29:20.715ZINFOcrucible-agent (datafile): region 0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e state: Requested
572023-10-26T23:29:20.719ZINFOcrucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
582023-10-26T23:29:20.719ZINFOcrucible-agent (dropshot): request completed latency_us = 4877 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:63305 req_id = fc983461-1eca-48ac-9f62-0c1c59f5199b response_code = 200 uri = /crucible/0/regions
592023-10-26T23:29:20.730ZINFOcrucible-agent (worker): zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e
602023-10-26T23:29:20.730ZINFOcrucible-agent (worker): zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e
612023-10-26T23:29:20.783ZINFOcrucible-agent (worker): creating region Region { id: RegionId("0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 16, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at "/data/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e" region = 0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e
622023-10-26T23:29:20.866ZINFOcrucible-agent (dropshot): request completed latency_us = 77 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:63305 req_id = b80342a6-e8f4-4a52-acea-b1a3af118e27 response_code = 200 uri = /crucible/0/regions
632023-10-26T23:29:21.057ZINFOcrucible-agent (worker): region files created ok region = 0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e
642023-10-26T23:29:21.057ZINFOcrucible-agent (datafile): region 0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e state: Requested -> Created
652023-10-26T23:29:21.057ZINFOcrucible-agent (worker): applying SMF actions post create...
662023-10-26T23:29:21.058ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e
672023-10-26T23:29:21.061ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e
682023-10-26T23:29:21.069ZINFOcrucible-agent (worker): creating config property group
692023-10-26T23:29:21.071ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e
702023-10-26T23:29:21.072ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e
712023-10-26T23:29:21.072ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
722023-10-26T23:29:21.072ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19
732023-10-26T23:29:21.072ZINFOcrucible-agent (worker): commit
742023-10-26T23:29:21.081ZINFOcrucible-agent (worker): ok!
752023-10-26T23:29:21.085ZINFOcrucible-agent (worker): SMF ok!
762023-10-26T23:29:21.169ZINFOcrucible-agent (dropshot): request completed latency_us = 65 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:63305 req_id = f1932c6d-d425-4a16-bf3a-4a76b1f31fec response_code = 200 uri = /crucible/0/regions
772023-10-26T23:29:21.716ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::19]:32345 remote_addr = [fd00:1122:3344:101::a]:65270
782023-10-26T23:29:21.747ZINFOcrucible-agent (dropshot): request completed latency_us = 88 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:65270 req_id = e96bae27-4e66-4677-9a68-9f97dad71992 response_code = 200 uri = /crucible/0/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e
792023-10-26T23:29:21.747ZINFOcrucible-agent (datafile): path is "/data/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e"
802023-10-26T23:29:21.758ZINFOcrucible-agent (datafile): dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e
812023-10-26T23:29:21.768ZINFOcrucible-agent (datafile): region 0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e state: Created -> Tombstoned
822023-10-26T23:29:21.768ZINFOcrucible-agent (worker): applying SMF actions before removal...
832023-10-26T23:29:21.768ZINFOcrucible-agent (dropshot): request completed latency_us = 21251 local_addr = [fd00:1122:3344:101::19]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::a]:65270 req_id = 61870ad1-aa9f-4b85-b77a-65100075da93 response_code = 204 uri = /crucible/0/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e
842023-10-26T23:29:21.768ZINFOcrucible-agent (dropshot): request completed latency_us = 25 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:65270 req_id = 0b64abd2-3d4d-4fa7-8649-24d50d54a0e3 response_code = 200 uri = /crucible/0/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e
852023-10-26T23:29:21.769ZINFOcrucible-agent (worker): disabling downstairs instance: downstairs-0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e (instance states: (Some(Online), None))
862023-10-26T23:29:21.773ZINFOcrucible-agent (worker): SMF ok!
872023-10-26T23:29:21.785ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e" region = 0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e
882023-10-26T23:29:21.845ZINFOcrucible-agent (datafile): region 0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e state: Tombstoned -> Destroyed
892023-10-26T23:29:21.852ZINFOcrucible-agent (dropshot): request completed latency_us = 92 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:65270 req_id = 96ffb20b-bf1c-4ab0-90c9-98322ec1e386 response_code = 200 uri = /crucible/0/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e