Max level shown:
1 [ Jan 23 18:48:08 Enabled. ]
2 [ Jan 23 18:48:08 Rereading configuration. ]
3 [ Jan 23 18:48:09 Rereading configuration. ]
4 [ Jan 23 18:48:10 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=oxControlService22
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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible
20 ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default
21 + LISTEN_ADDR=fd00:1122:3344:101::18
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 + [[ oxControlService22 == unknown ]]
31 + [[ fd00:1122:3344:101::1 == unknown ]]
32 + ipadm delete-if oxControlService22
33 ipadm: Could not delete oxControlService22: Interface does not exist
34 + true
35 + ipadm create-if -t oxControlService22
36 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22
37 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22
38 + ipadm show-addr oxControlService22/ll
39 ipadm: Address object not found
40 + ipadm create-addr -t -T addrconf oxControlService22/ll
41 + ipadm show-addr oxControlService22/omicron6
42 ipadm: Address object not found
43 + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService22/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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot
50 note: configured to log to "/dev/stdout"
512024-01-23T18:48:11.567ZINFOcrucible-agent: dataset: "oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible"
522024-01-23T18:48:11.579ZINFOcrucible-agent: listen IP: [fd00:1122:3344:101::18]:32345
532024-01-23T18:48:11.579ZINFOcrucible-agent: SMF instance name downstairs_prefix: "downstairs"
542024-01-23T18:48:11.766ZINFOcrucible-agent (dropshot): listening local_addr = [fd00:1122:3344:101::18]:32345
552024-01-23T18:48:53.456ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::18]:32345 remote_addr = [fd00:1122:3344:101::a]:46924
562024-01-23T18:48:53.522ZINFOcrucible-agent (datafile): region 10a561e2-8496-4148-95d5-c8eaa6143416 state: Requested
572024-01-23T18:48:53.527ZINFOcrucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
582024-01-23T18:48:53.527ZINFOcrucible-agent (dropshot): request completed latency_us = 10855 local_addr = [fd00:1122:3344:101::18]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:46924 req_id = 1673a3a5-237d-4e4d-9323-036653c2dced response_code = 200 uri = /crucible/0/regions
592024-01-23T18:48:53.537ZINFOcrucible-agent (worker): zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/10a561e2-8496-4148-95d5-c8eaa6143416
602024-01-23T18:48:53.537ZINFOcrucible-agent (worker): zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/10a561e2-8496-4148-95d5-c8eaa6143416
612024-01-23T18:48:53.588ZINFOcrucible-agent (worker): creating region Region { id: RegionId("10a561e2-8496-4148-95d5-c8eaa6143416"), 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/10a561e2-8496-4148-95d5-c8eaa6143416" region = 10a561e2-8496-4148-95d5-c8eaa6143416
622024-01-23T18:48:53.833ZINFOcrucible-agent (dropshot): request completed latency_us = 91 local_addr = [fd00:1122:3344:101::18]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:46924 req_id = db7dfd16-477a-4302-ac82-bcde3bf98aab response_code = 200 uri = /crucible/0/regions
632024-01-23T18:48:53.905ZINFOcrucible-agent (worker): region files created ok region = 10a561e2-8496-4148-95d5-c8eaa6143416
642024-01-23T18:48:53.905ZINFOcrucible-agent (datafile): region 10a561e2-8496-4148-95d5-c8eaa6143416 state: Requested -> Created
652024-01-23T18:48:53.906ZINFOcrucible-agent (worker): applying SMF actions post create...
662024-01-23T18:48:53.906ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-10a561e2-8496-4148-95d5-c8eaa6143416
672024-01-23T18:48:53.910ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-10a561e2-8496-4148-95d5-c8eaa6143416
682024-01-23T18:48:53.923ZINFOcrucible-agent (worker): creating config property group
692024-01-23T18:48:53.927ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-10a561e2-8496-4148-95d5-c8eaa6143416
702024-01-23T18:48:53.928ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/10a561e2-8496-4148-95d5-c8eaa6143416
712024-01-23T18:48:53.928ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
722024-01-23T18:48:53.928ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18
732024-01-23T18:48:53.928ZINFOcrucible-agent (worker): commit
742024-01-23T18:48:53.933ZINFOcrucible-agent (worker): ok!
752024-01-23T18:48:53.938ZINFOcrucible-agent (worker): SMF ok!
762024-01-23T18:48:54.562ZINFOcrucible-agent (dropshot): request completed latency_us = 95 local_addr = [fd00:1122:3344:101::18]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:46924 req_id = 3a78d989-2741-4ac7-ba34-241007fa1c6e response_code = 200 uri = /crucible/0/regions
772024-01-23T18:48:54.982ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::18]:32345 remote_addr = [fd00:1122:3344:101::a]:54267
782024-01-23T18:48:54.982ZINFOcrucible-agent (dropshot): request completed latency_us = 97 local_addr = [fd00:1122:3344:101::18]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:54267 req_id = e88b5493-aedb-4db1-8707-00bfdd89f1b0 response_code = 200 uri = /crucible/0/regions/10a561e2-8496-4148-95d5-c8eaa6143416
792024-01-23T18:48:54.982ZINFOcrucible-agent (datafile): path is "/data/regions/10a561e2-8496-4148-95d5-c8eaa6143416"
802024-01-23T18:48:54.992ZINFOcrucible-agent (datafile): dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/10a561e2-8496-4148-95d5-c8eaa6143416
812024-01-23T18:48:55.001ZINFOcrucible-agent (datafile): region 10a561e2-8496-4148-95d5-c8eaa6143416 state: Created -> Tombstoned
822024-01-23T18:48:55.001ZINFOcrucible-agent (worker): applying SMF actions before removal...
832024-01-23T18:48:55.001ZINFOcrucible-agent (dropshot): request completed latency_us = 19187 local_addr = [fd00:1122:3344:101::18]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::a]:54267 req_id = 34d402b3-4388-4713-8a38-f1d35ff11b4b response_code = 204 uri = /crucible/0/regions/10a561e2-8496-4148-95d5-c8eaa6143416
842024-01-23T18:48:55.001ZINFOcrucible-agent (dropshot): request completed latency_us = 24 local_addr = [fd00:1122:3344:101::18]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:54267 req_id = 8d1a0300-6682-4c34-98b6-15a246b437ab response_code = 200 uri = /crucible/0/regions/10a561e2-8496-4148-95d5-c8eaa6143416
852024-01-23T18:48:55.002ZINFOcrucible-agent (worker): disabling downstairs instance: downstairs-10a561e2-8496-4148-95d5-c8eaa6143416 (instance states: (Some(Online), None))
862024-01-23T18:48:55.006ZINFOcrucible-agent (worker): SMF ok!
872024-01-23T18:48:55.017ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/10a561e2-8496-4148-95d5-c8eaa6143416" region = 10a561e2-8496-4148-95d5-c8eaa6143416
882024-01-23T18:48:55.067ZINFOcrucible-agent (datafile): region 10a561e2-8496-4148-95d5-c8eaa6143416 state: Tombstoned -> Destroyed
892024-01-23T18:48:55.109ZINFOcrucible-agent (dropshot): request completed latency_us = 94 local_addr = [fd00:1122:3344:101::18]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:54267 req_id = 8423fbee-4372-4217-bf62-882685b8ce1e response_code = 200 uri = /crucible/0/regions/10a561e2-8496-4148-95d5-c8eaa6143416
902024-01-23T18:48:56.358ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::18]:32345 remote_addr = [fd00:1122:3344:101::a]:38691
912024-01-23T18:48:56.419ZINFOcrucible-agent (datafile): region af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a state: Requested
922024-01-23T18:48:56.419ZINFOcrucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
932024-01-23T18:48:56.419ZINFOcrucible-agent (dropshot): request completed latency_us = 334 local_addr = [fd00:1122:3344:101::18]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:38691 req_id = 775e8fcf-6483-4d61-9b3d-d8a182056382 response_code = 200 uri = /crucible/0/regions
942024-01-23T18:48:56.430ZINFOcrucible-agent (worker): zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
952024-01-23T18:48:56.430ZINFOcrucible-agent (worker): zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
962024-01-23T18:48:56.477ZINFOcrucible-agent (worker): creating region Region { id: RegionId("af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a"), 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/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a" region = af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
972024-01-23T18:48:56.552ZINFOcrucible-agent (worker): region files created ok region = af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
982024-01-23T18:48:56.553ZINFOcrucible-agent (datafile): region af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a state: Requested -> Created
992024-01-23T18:48:56.553ZINFOcrucible-agent (worker): applying SMF actions post create...
1002024-01-23T18:48:56.554ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
1012024-01-23T18:48:56.558ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
1022024-01-23T18:48:56.567ZINFOcrucible-agent (worker): creating config property group
1032024-01-23T18:48:56.570ZINFOcrucible-agent (dropshot): request completed latency_us = 74 local_addr = [fd00:1122:3344:101::18]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:38691 req_id = 8844c342-b497-4ad9-be78-a3ecd6215f06 response_code = 200 uri = /crucible/0/regions
1042024-01-23T18:48:56.570ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
1052024-01-23T18:48:56.571ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
1062024-01-23T18:48:56.571ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
1072024-01-23T18:48:56.571ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18
1082024-01-23T18:48:56.571ZINFOcrucible-agent (worker): commit
1092024-01-23T18:48:56.575ZINFOcrucible-agent (worker): ok!
1102024-01-23T18:48:56.581ZINFOcrucible-agent (worker): SMF ok!
1112024-01-23T18:54:38.223ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::18]:32345 remote_addr = [fd00:1122:3344:101::a]:42473
1122024-01-23T18:54:38.224ZINFOcrucible-agent (dropshot): request completed latency_us = 65 local_addr = [fd00:1122:3344:101::18]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:42473 req_id = 650495df-5bc4-4ed1-89e5-05ffb288686f response_code = 200 uri = /crucible/0/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
1132024-01-23T18:54:38.224ZINFOcrucible-agent (datafile): path is "/data/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a"
1142024-01-23T18:54:38.233ZINFOcrucible-agent (datafile): dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
1152024-01-23T18:54:38.243ZINFOcrucible-agent (ZfsSnapshotInterface): snapshot is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a@e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe
1162024-01-23T18:54:38.243ZINFOcrucible-agent (ZfsSnapshotInterface): parts is ["oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a", "e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe"]
1172024-01-23T18:54:38.252ZINFOcrucible-agent (dropshot): request completed latency_us = 28458 local_addr = [fd00:1122:3344:101::18]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:42473 req_id = 770b607d-e1ab-47c7-a750-53bf2bbf328a response_code = 200 uri = /crucible/0/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a/snapshots/e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe
1182024-01-23T18:54:38.252ZINFOcrucible-agent (datafile): path is "/data/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a"
1192024-01-23T18:54:38.261ZINFOcrucible-agent (datafile): dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
1202024-01-23T18:54:38.270ZINFOcrucible-agent (ZfsSnapshotInterface): snapshot is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a@e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe
1212024-01-23T18:54:38.270ZINFOcrucible-agent (ZfsSnapshotInterface): parts is ["oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a", "e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe"]
1222024-01-23T18:54:38.279ZINFOcrucible-agent (datafile): requesting running snapshot af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a-e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe state: Requested
1232024-01-23T18:54:38.279ZINFOcrucible-agent (worker): applying SMF actions for region af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a running snapshot e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe (state Requested)...
1242024-01-23T18:54:38.279ZINFOcrucible-agent (dropshot): request completed latency_us = 27123 local_addr = [fd00:1122:3344:101::18]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:42473 req_id = f1cf3051-ccf0-44c4-aa09-17b3becee851 response_code = 200 uri = /crucible/0/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a/snapshots/e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe/run
1252024-01-23T18:54:38.288ZINFOcrucible-agent (worker): creating missing snapshot instance snapshot-af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a-e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe
1262024-01-23T18:54:38.292ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:snapshot-af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a-e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe
1272024-01-23T18:54:38.308ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:snapshot-af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a-e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe
1282024-01-23T18:54:38.308ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a/.zfs/snapshot/e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe
1292024-01-23T18:54:38.308ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
1302024-01-23T18:54:38.308ZINFOcrucible-agent (worker): ensure mode SCF_TYPE_ASTRING ro
1312024-01-23T18:54:38.308ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18
1322024-01-23T18:54:38.308ZINFOcrucible-agent (worker): commit
1332024-01-23T18:54:38.312ZINFOcrucible-agent (worker): ok!
1342024-01-23T18:54:38.317ZINFOcrucible-agent (worker): SMF ok!
1352024-01-23T18:54:38.317ZINFOcrucible-agent (datafile): region af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a running snapshot e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe state: Requested -> Created