Max level shown:
1 [ Dec 5 05:24:30 Enabled. ]
2 [ Dec 5 05:24:30 Rereading configuration. ]
3 [ Dec 5 05:24:31 Rereading configuration. ]
4 [ Dec 5 05:24:31 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=oxControlService13
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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible
20 ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default
21 + LISTEN_ADDR=fd00:1122:3344:101::16
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 + [[ oxControlService13 == unknown ]]
31 + [[ fd00:1122:3344:101::1 == unknown ]]
32 + ipadm delete-if oxControlService13
33 ipadm: Could not delete oxControlService13: Interface does not exist
34 + true
35 + ipadm create-if -t oxControlService13
36 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService13
37 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService13
38 + ipadm show-addr oxControlService13/ll
39 ipadm: Address object not found
40 + ipadm create-addr -t -T addrconf oxControlService13/ll
41 + ipadm show-addr oxControlService13/omicron6
42 ipadm: Address object not found
43 + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService13/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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot
50 note: configured to log to "/dev/stdout"
512023-12-05T05:24:32.492ZINFOcrucible-agent: dataset: "oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible"
522023-12-05T05:24:32.496ZINFOcrucible-agent: listen IP: [fd00:1122:3344:101::16]:32345
532023-12-05T05:24:32.496ZINFOcrucible-agent: SMF instance name downstairs_prefix: "downstairs"
542023-12-05T05:24:32.607ZINFOcrucible-agent (dropshot): listening local_addr = [fd00:1122:3344:101::16]:32345
552023-12-05T05:25:34.360ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::16]:32345 remote_addr = [fd00:1122:3344:101::a]:64150
562023-12-05T05:25:34.374ZINFOcrucible-agent (datafile): region a5720774-96f2-48fb-ac28-4abc5e187b3c state: Requested
572023-12-05T05:25:34.375ZINFOcrucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
582023-12-05T05:25:34.379ZINFOcrucible-agent (dropshot): request completed latency_us = 10563 local_addr = [fd00:1122:3344:101::16]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:64150 req_id = ce153d60-2100-429a-9c1f-5368fc400e8a response_code = 200 uri = /crucible/0/regions
592023-12-05T05:25:34.385ZINFOcrucible-agent (worker): zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c
602023-12-05T05:25:34.385ZINFOcrucible-agent (worker): zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c
612023-12-05T05:25:34.453ZINFOcrucible-agent (worker): creating region Region { id: RegionId("a5720774-96f2-48fb-ac28-4abc5e187b3c"), 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/a5720774-96f2-48fb-ac28-4abc5e187b3c" region = a5720774-96f2-48fb-ac28-4abc5e187b3c
622023-12-05T05:25:34.584ZINFOcrucible-agent (dropshot): request completed latency_us = 105 local_addr = [fd00:1122:3344:101::16]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:64150 req_id = dce8cbf7-530d-4109-b582-1ec3bda75611 response_code = 200 uri = /crucible/0/regions
632023-12-05T05:25:34.641ZINFOcrucible-agent (worker): region files created ok region = a5720774-96f2-48fb-ac28-4abc5e187b3c
642023-12-05T05:25:34.641ZINFOcrucible-agent (datafile): region a5720774-96f2-48fb-ac28-4abc5e187b3c state: Requested -> Created
652023-12-05T05:25:34.641ZINFOcrucible-agent (worker): applying SMF actions post create...
662023-12-05T05:25:34.642ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-a5720774-96f2-48fb-ac28-4abc5e187b3c
672023-12-05T05:25:34.646ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-a5720774-96f2-48fb-ac28-4abc5e187b3c
682023-12-05T05:25:34.657ZINFOcrucible-agent (worker): creating config property group
692023-12-05T05:25:34.660ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-a5720774-96f2-48fb-ac28-4abc5e187b3c
702023-12-05T05:25:34.661ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c
712023-12-05T05:25:34.661ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
722023-12-05T05:25:34.661ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16
732023-12-05T05:25:34.661ZINFOcrucible-agent (worker): commit
742023-12-05T05:25:34.666ZINFOcrucible-agent (worker): ok!
752023-12-05T05:25:34.670ZINFOcrucible-agent (worker): SMF ok!
762023-12-05T05:25:35.243ZINFOcrucible-agent (dropshot): request completed latency_us = 67 local_addr = [fd00:1122:3344:101::16]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:64150 req_id = cb0c90c4-1bba-4585-b067-f18092a1ef3d response_code = 200 uri = /crucible/0/regions
772023-12-05T05:25:35.529ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::16]:32345 remote_addr = [fd00:1122:3344:101::a]:51596
782023-12-05T05:25:35.530ZINFOcrucible-agent (dropshot): request completed latency_us = 119 local_addr = [fd00:1122:3344:101::16]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:51596 req_id = 4f8c781d-060d-492a-88dc-4292edf70fd1 response_code = 200 uri = /crucible/0/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c
792023-12-05T05:25:35.530ZINFOcrucible-agent (datafile): path is "/data/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c"
802023-12-05T05:25:35.539ZINFOcrucible-agent (datafile): dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c
812023-12-05T05:25:35.548ZINFOcrucible-agent (datafile): region a5720774-96f2-48fb-ac28-4abc5e187b3c state: Created -> Tombstoned
822023-12-05T05:25:35.548ZINFOcrucible-agent (worker): applying SMF actions before removal...
832023-12-05T05:25:35.548ZINFOcrucible-agent (dropshot): request completed latency_us = 18544 local_addr = [fd00:1122:3344:101::16]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::a]:51596 req_id = 0abc117e-4972-4bc9-b871-544f59c41fab response_code = 204 uri = /crucible/0/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c
842023-12-05T05:25:35.548ZINFOcrucible-agent (dropshot): request completed latency_us = 23 local_addr = [fd00:1122:3344:101::16]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:51596 req_id = 68845484-c2af-4435-8a0b-23f95ebc664a response_code = 200 uri = /crucible/0/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c
852023-12-05T05:25:35.549ZINFOcrucible-agent (worker): disabling downstairs instance: downstairs-a5720774-96f2-48fb-ac28-4abc5e187b3c (instance states: (Some(Online), None))
862023-12-05T05:25:35.554ZINFOcrucible-agent (worker): SMF ok!
872023-12-05T05:25:35.564ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c" region = a5720774-96f2-48fb-ac28-4abc5e187b3c
882023-12-05T05:25:35.613ZINFOcrucible-agent (datafile): region a5720774-96f2-48fb-ac28-4abc5e187b3c state: Tombstoned -> Destroyed
892023-12-05T05:25:35.628ZINFOcrucible-agent (dropshot): request completed latency_us = 78 local_addr = [fd00:1122:3344:101::16]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:51596 req_id = 5d6705be-9742-4e17-86a1-0bd8496b0e84 response_code = 200 uri = /crucible/0/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c
902023-12-05T05:25:38.145ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::16]:32345 remote_addr = [fd00:1122:3344:101::a]:50821
912023-12-05T05:25:38.175ZINFOcrucible-agent (datafile): region d94a2f80-6559-4bb9-b1a6-dcb3e159653c state: Requested
922023-12-05T05:25:38.175ZINFOcrucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
932023-12-05T05:25:38.175ZINFOcrucible-agent (dropshot): request completed latency_us = 350 local_addr = [fd00:1122:3344:101::16]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:50821 req_id = daefd843-3bc2-485e-a8bd-657861466bfb response_code = 200 uri = /crucible/0/regions
942023-12-05T05:25:38.185ZINFOcrucible-agent (worker): zfs set reservation of 2684354560 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c
952023-12-05T05:25:38.185ZINFOcrucible-agent (worker): zfs set quota of 6442450944 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c
962023-12-05T05:25:38.242ZINFOcrucible-agent (worker): creating region Region { id: RegionId("d94a2f80-6559-4bb9-b1a6-dcb3e159653c"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at "/data/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c" region = d94a2f80-6559-4bb9-b1a6-dcb3e159653c
972023-12-05T05:25:38.312ZINFOcrucible-agent (worker): region files created ok region = d94a2f80-6559-4bb9-b1a6-dcb3e159653c
982023-12-05T05:25:38.312ZINFOcrucible-agent (datafile): region d94a2f80-6559-4bb9-b1a6-dcb3e159653c state: Requested -> Created
992023-12-05T05:25:38.312ZINFOcrucible-agent (worker): applying SMF actions post create...
1002023-12-05T05:25:38.314ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-d94a2f80-6559-4bb9-b1a6-dcb3e159653c
1012023-12-05T05:25:38.318ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-d94a2f80-6559-4bb9-b1a6-dcb3e159653c
1022023-12-05T05:25:38.325ZINFOcrucible-agent (worker): creating config property group
1032023-12-05T05:25:38.328ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-d94a2f80-6559-4bb9-b1a6-dcb3e159653c
1042023-12-05T05:25:38.328ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c
1052023-12-05T05:25:38.328ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
1062023-12-05T05:25:38.328ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16
1072023-12-05T05:25:38.328ZINFOcrucible-agent (worker): commit
1082023-12-05T05:25:38.332ZINFOcrucible-agent (worker): ok!
1092023-12-05T05:25:38.336ZINFOcrucible-agent (worker): SMF ok!
1102023-12-05T05:25:38.498ZINFOcrucible-agent (dropshot): request completed latency_us = 78 local_addr = [fd00:1122:3344:101::16]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:50821 req_id = a77210be-672e-4791-8326-5ea1db80bb97 response_code = 200 uri = /crucible/0/regions
1112023-12-05T05:28:32.601ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::16]:32345 remote_addr = [fd00:1122:3344:101::a]:55271
1122023-12-05T05:28:32.601ZINFOcrucible-agent (dropshot): request completed latency_us = 489 local_addr = [fd00:1122:3344:101::16]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:55271 req_id = 188f0096-8f61-4564-91a7-63305638c1c8 response_code = 200 uri = /crucible/0/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c
1132023-12-05T05:28:32.602ZINFOcrucible-agent (datafile): path is "/data/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c"
1142023-12-05T05:28:32.614ZINFOcrucible-agent (datafile): dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c
1152023-12-05T05:28:32.623ZINFOcrucible-agent (datafile): region d94a2f80-6559-4bb9-b1a6-dcb3e159653c state: Created -> Tombstoned
1162023-12-05T05:28:32.623ZINFOcrucible-agent (worker): applying SMF actions before removal...
1172023-12-05T05:28:32.623ZINFOcrucible-agent (dropshot): request completed latency_us = 21439 local_addr = [fd00:1122:3344:101::16]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::a]:55271 req_id = 5f809e24-8103-445c-a4e9-4fa435e3678a response_code = 204 uri = /crucible/0/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c
1182023-12-05T05:28:32.623ZINFOcrucible-agent (dropshot): request completed latency_us = 32 local_addr = [fd00:1122:3344:101::16]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:55271 req_id = 7e1005f9-0458-4bab-9bda-0b08ebc53da5 response_code = 200 uri = /crucible/0/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c
1192023-12-05T05:28:32.625ZINFOcrucible-agent (worker): disabling downstairs instance: downstairs-d94a2f80-6559-4bb9-b1a6-dcb3e159653c (instance states: (Some(Online), None))
1202023-12-05T05:28:32.635ZINFOcrucible-agent (worker): SMF ok!
1212023-12-05T05:28:32.644ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c" region = d94a2f80-6559-4bb9-b1a6-dcb3e159653c
1222023-12-05T05:28:32.694ZINFOcrucible-agent (datafile): region d94a2f80-6559-4bb9-b1a6-dcb3e159653c state: Tombstoned -> Destroyed
1232023-12-05T05:28:32.713ZINFOcrucible-agent (dropshot): request completed latency_us = 606 local_addr = [fd00:1122:3344:101::16]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:55271 req_id = 87cd918f-b139-4d2e-be12-7d3d8aa5f6a0 response_code = 200 uri = /crucible/0/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c