Max level shown:
1 [ Feb 6 17:04:34 Enabled. ]
2 [ Feb 6 17:04:34 Rereading configuration. ]
3 [ Feb 6 17:04:38 Rereading configuration. ]
4 [ Feb 6 17:04:45 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=oxControlService12
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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible
20 ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default
21 + LISTEN_ADDR=fd00:1122:3344:101::15
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 + [[ oxControlService12 == unknown ]]
31 + [[ fd00:1122:3344:101::1 == unknown ]]
32 + ipadm delete-if oxControlService12
33 ipadm: Could not delete oxControlService12: Interface does not exist
34 + true
35 + ipadm create-if -t oxControlService12
36 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService12
37 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService12
38 + ipadm show-addr oxControlService12/ll
39 ipadm: Address object not found
40 + ipadm create-addr -t -T addrconf oxControlService12/ll
41 + ipadm show-addr oxControlService12/omicron6
42 ipadm: Address object not found
43 + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService12/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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot
50 note: configured to log to "/dev/stdout"
512024-02-06T17:04:46.616ZINFOcrucible-agent: dataset: "oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible"
522024-02-06T17:04:46.621ZINFOcrucible-agent: listen IP: [fd00:1122:3344:101::15]:32345
532024-02-06T17:04:46.621ZINFOcrucible-agent: SMF instance name downstairs_prefix: "downstairs"
542024-02-06T17:04:46.811ZINFOcrucible-agent (dropshot): listening local_addr = [fd00:1122:3344:101::15]:32345
552024-02-06T17:05:39.009ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::15]:32345 remote_addr = [fd00:1122:3344:101::b]:45598
562024-02-06T17:05:39.077ZINFOcrucible-agent (datafile): region fb0a0998-fc76-4022-91bd-f79baf20e90a state: Requested
572024-02-06T17:05:39.077ZINFOcrucible-agent (dropshot): request completed latency_us = 6676 local_addr = [fd00:1122:3344:101::15]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:45598 req_id = 0795116f-d1ef-4d4b-910e-93a3e0220360 response_code = 200 uri = /crucible/0/regions
582024-02-06T17:05:39.078ZINFOcrucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
592024-02-06T17:05:39.088ZINFOcrucible-agent (worker): zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a
602024-02-06T17:05:39.088ZINFOcrucible-agent (worker): zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a
612024-02-06T17:05:39.155ZINFOcrucible-agent (worker): creating region Region { id: RegionId("fb0a0998-fc76-4022-91bd-f79baf20e90a"), 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/fb0a0998-fc76-4022-91bd-f79baf20e90a" region = fb0a0998-fc76-4022-91bd-f79baf20e90a
622024-02-06T17:05:39.299ZINFOcrucible-agent (worker): region files created ok region = fb0a0998-fc76-4022-91bd-f79baf20e90a
632024-02-06T17:05:39.299ZINFOcrucible-agent (datafile): region fb0a0998-fc76-4022-91bd-f79baf20e90a state: Requested -> Created
642024-02-06T17:05:39.299ZINFOcrucible-agent (worker): applying SMF actions post create...
652024-02-06T17:05:39.300ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-fb0a0998-fc76-4022-91bd-f79baf20e90a
662024-02-06T17:05:39.304ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-fb0a0998-fc76-4022-91bd-f79baf20e90a
672024-02-06T17:05:39.313ZINFOcrucible-agent (dropshot): request completed latency_us = 69 local_addr = [fd00:1122:3344:101::15]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:45598 req_id = 2abe8bf1-5393-49ae-a8ce-b9eaf5a9abd1 response_code = 200 uri = /crucible/0/regions
682024-02-06T17:05:39.315ZINFOcrucible-agent (worker): creating config property group
692024-02-06T17:05:39.319ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-fb0a0998-fc76-4022-91bd-f79baf20e90a
702024-02-06T17:05:39.320ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a
712024-02-06T17:05:39.322ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
722024-02-06T17:05:39.322ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15
732024-02-06T17:05:39.322ZINFOcrucible-agent (worker): commit
742024-02-06T17:05:39.329ZINFOcrucible-agent (worker): ok!
752024-02-06T17:05:39.334ZINFOcrucible-agent (worker): SMF ok!
762024-02-06T17:05:40.640ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::15]:32345 remote_addr = [fd00:1122:3344:101::b]:54754
772024-02-06T17:05:40.641ZINFOcrucible-agent (dropshot): request completed latency_us = 513 local_addr = [fd00:1122:3344:101::15]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:54754 req_id = 55b720d8-d7c4-49e5-b2d1-dcf857404cdb response_code = 200 uri = /crucible/0/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a
782024-02-06T17:05:40.641ZINFOcrucible-agent (datafile): path is "/data/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a"
792024-02-06T17:05:40.651ZINFOcrucible-agent (datafile): dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a
802024-02-06T17:05:40.660ZINFOcrucible-agent (datafile): region fb0a0998-fc76-4022-91bd-f79baf20e90a state: Created -> Tombstoned
812024-02-06T17:05:40.661ZINFOcrucible-agent (worker): applying SMF actions before removal...
822024-02-06T17:05:40.661ZINFOcrucible-agent (dropshot): request completed latency_us = 19773 local_addr = [fd00:1122:3344:101::15]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::b]:54754 req_id = 8dae7eab-3c29-4996-afb2-be56c32d95ba response_code = 204 uri = /crucible/0/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a
832024-02-06T17:05:40.661ZINFOcrucible-agent (dropshot): request completed latency_us = 24 local_addr = [fd00:1122:3344:101::15]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:54754 req_id = b181ae93-114d-46c8-aa69-93d506293bff response_code = 200 uri = /crucible/0/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a
842024-02-06T17:05:40.662ZINFOcrucible-agent (worker): disabling downstairs instance: downstairs-fb0a0998-fc76-4022-91bd-f79baf20e90a (instance states: (Some(Online), None))
852024-02-06T17:05:40.666ZINFOcrucible-agent (worker): SMF ok!
862024-02-06T17:05:40.675ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a" region = fb0a0998-fc76-4022-91bd-f79baf20e90a
872024-02-06T17:05:40.736ZINFOcrucible-agent (datafile): region fb0a0998-fc76-4022-91bd-f79baf20e90a state: Tombstoned -> Destroyed
882024-02-06T17:05:40.758ZINFOcrucible-agent (dropshot): request completed latency_us = 70 local_addr = [fd00:1122:3344:101::15]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:54754 req_id = 27c4d763-1749-46c3-9c1a-27342582e0c4 response_code = 200 uri = /crucible/0/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a
892024-02-06T17:06:23.675ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::15]:32345 remote_addr = [fd00:1122:3344:101::a]:41341
902024-02-06T17:06:23.676ZINFOcrucible-agent (datafile): region f7883d29-84da-464f-a66a-a94f5c7a0e5d state: Requested
912024-02-06T17:06:23.676ZINFOcrucible-agent (dropshot): request completed latency_us = 971 local_addr = [fd00:1122:3344:101::15]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:41341 req_id = 277d33dd-b224-4932-8c43-0fac90faa71a response_code = 200 uri = /crucible/0/regions
922024-02-06T17:06:23.676ZINFOcrucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
932024-02-06T17:06:23.685ZINFOcrucible-agent (worker): zfs set reservation of 2684354560 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d
942024-02-06T17:06:23.685ZINFOcrucible-agent (worker): zfs set quota of 6442450944 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d
952024-02-06T17:06:23.739ZINFOcrucible-agent (worker): creating region Region { id: RegionId("f7883d29-84da-464f-a66a-a94f5c7a0e5d"), 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/f7883d29-84da-464f-a66a-a94f5c7a0e5d" region = f7883d29-84da-464f-a66a-a94f5c7a0e5d
962024-02-06T17:06:23.808ZINFOcrucible-agent (worker): region files created ok region = f7883d29-84da-464f-a66a-a94f5c7a0e5d
972024-02-06T17:06:23.808ZINFOcrucible-agent (datafile): region f7883d29-84da-464f-a66a-a94f5c7a0e5d state: Requested -> Created
982024-02-06T17:06:23.808ZINFOcrucible-agent (worker): applying SMF actions post create...
992024-02-06T17:06:23.809ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-f7883d29-84da-464f-a66a-a94f5c7a0e5d
1002024-02-06T17:06:23.812ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-f7883d29-84da-464f-a66a-a94f5c7a0e5d
1012024-02-06T17:06:23.819ZINFOcrucible-agent (worker): creating config property group
1022024-02-06T17:06:23.822ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-f7883d29-84da-464f-a66a-a94f5c7a0e5d
1032024-02-06T17:06:23.822ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d
1042024-02-06T17:06:23.822ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
1052024-02-06T17:06:23.822ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15
1062024-02-06T17:06:23.822ZINFOcrucible-agent (worker): commit
1072024-02-06T17:06:23.826ZINFOcrucible-agent (worker): ok!
1082024-02-06T17:06:23.832ZINFOcrucible-agent (worker): SMF ok!
1092024-02-06T17:06:23.992ZINFOcrucible-agent (dropshot): request completed latency_us = 67 local_addr = [fd00:1122:3344:101::15]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:41341 req_id = 28ece9ae-dd4b-4ab7-aaa5-d2935da780b7 response_code = 200 uri = /crucible/0/regions
1102024-02-06T17:12:06.538ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::15]:32345 remote_addr = [fd00:1122:3344:101::a]:45849
1112024-02-06T17:12:06.538ZINFOcrucible-agent (dropshot): request completed latency_us = 56 local_addr = [fd00:1122:3344:101::15]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:45849 req_id = c450d9d7-f6f5-47a0-b3f4-be2d00d4520c response_code = 200 uri = /crucible/0/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d
1122024-02-06T17:12:06.542ZINFOcrucible-agent (datafile): path is "/data/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d"
1132024-02-06T17:12:06.551ZINFOcrucible-agent (datafile): dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d
1142024-02-06T17:12:06.559ZINFOcrucible-agent (ZfsSnapshotInterface): snapshot is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d@7b23de1a-c7ea-4c85-9c25-9375bdee1c71
1152024-02-06T17:12:06.559ZINFOcrucible-agent (ZfsSnapshotInterface): parts is ["oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d", "7b23de1a-c7ea-4c85-9c25-9375bdee1c71"]
1162024-02-06T17:12:06.570ZINFOcrucible-agent (dropshot): request completed latency_us = 31980 local_addr = [fd00:1122:3344:101::15]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:45849 req_id = 48e23644-f97f-46ff-9f77-9ac39c127bf2 response_code = 200 uri = /crucible/0/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d/snapshots/7b23de1a-c7ea-4c85-9c25-9375bdee1c71
1172024-02-06T17:12:06.570ZINFOcrucible-agent (datafile): path is "/data/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d"
1182024-02-06T17:12:06.579ZINFOcrucible-agent (datafile): dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d
1192024-02-06T17:12:06.587ZINFOcrucible-agent (ZfsSnapshotInterface): snapshot is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d@7b23de1a-c7ea-4c85-9c25-9375bdee1c71
1202024-02-06T17:12:06.587ZINFOcrucible-agent (ZfsSnapshotInterface): parts is ["oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d", "7b23de1a-c7ea-4c85-9c25-9375bdee1c71"]
1212024-02-06T17:12:06.596ZINFOcrucible-agent (datafile): requesting running snapshot f7883d29-84da-464f-a66a-a94f5c7a0e5d-7b23de1a-c7ea-4c85-9c25-9375bdee1c71 state: Requested
1222024-02-06T17:12:06.597ZINFOcrucible-agent (worker): applying SMF actions for region f7883d29-84da-464f-a66a-a94f5c7a0e5d running snapshot 7b23de1a-c7ea-4c85-9c25-9375bdee1c71 (state Requested)...
1232024-02-06T17:12:06.597ZINFOcrucible-agent (dropshot): request completed latency_us = 26420 local_addr = [fd00:1122:3344:101::15]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:45849 req_id = 1acc4d73-0b02-4f54-bf29-674811bead5f response_code = 200 uri = /crucible/0/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d/snapshots/7b23de1a-c7ea-4c85-9c25-9375bdee1c71/run
1242024-02-06T17:12:06.601ZINFOcrucible-agent (worker): creating missing snapshot instance snapshot-f7883d29-84da-464f-a66a-a94f5c7a0e5d-7b23de1a-c7ea-4c85-9c25-9375bdee1c71
1252024-02-06T17:12:06.611ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:snapshot-f7883d29-84da-464f-a66a-a94f5c7a0e5d-7b23de1a-c7ea-4c85-9c25-9375bdee1c71
1262024-02-06T17:12:06.630ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:snapshot-f7883d29-84da-464f-a66a-a94f5c7a0e5d-7b23de1a-c7ea-4c85-9c25-9375bdee1c71
1272024-02-06T17:12:06.630ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d/.zfs/snapshot/7b23de1a-c7ea-4c85-9c25-9375bdee1c71
1282024-02-06T17:12:06.630ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
1292024-02-06T17:12:06.630ZINFOcrucible-agent (worker): ensure mode SCF_TYPE_ASTRING ro
1302024-02-06T17:12:06.630ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15
1312024-02-06T17:12:06.630ZINFOcrucible-agent (worker): commit
1322024-02-06T17:12:06.637ZINFOcrucible-agent (worker): ok!
1332024-02-06T17:12:06.646ZINFOcrucible-agent (worker): SMF ok!
1342024-02-06T17:12:06.646ZINFOcrucible-agent (datafile): region f7883d29-84da-464f-a66a-a94f5c7a0e5d running snapshot 7b23de1a-c7ea-4c85-9c25-9375bdee1c71 state: Requested -> Created