Max level shown:
1 [ Oct 4 20:50:41 Enabled. ]
2 [ Oct 4 20:50:41 Rereading configuration. ]
3 [ Oct 4 20:50:43 Rereading configuration. ]
4 [ Oct 4 20:50:43 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=oxControlService11
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::14
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 + [[ oxControlService11 == unknown ]]
31 + [[ fd00:1122:3344:101::1 == unknown ]]
32 + ipadm delete-if oxControlService11
33 ipadm: Could not delete oxControlService11: Interface does not exist
34 + true
35 + ipadm create-if -t oxControlService11
36 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService11
37 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService11
38 + ipadm show-addr oxControlService11/ll
39 ipadm: Address object not found
40 + ipadm create-addr -t -T addrconf oxControlService11/ll
41 + ipadm show-addr oxControlService11/omicron6
42 ipadm: Address object not found
43 + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService11/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::14]:32345' -P 19000 -p downstairs -s snapshot
50 note: configured to log to "/dev/stdout"
512023-10-04T20:50:44.398ZINFOcrucible-agent: dataset: "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible"
522023-10-04T20:50:44.399ZINFOcrucible-agent: listen IP: [fd00:1122:3344:101::14]:32345
532023-10-04T20:50:44.399ZINFOcrucible-agent: SMF instance name downstairs_prefix: "downstairs"
542023-10-04T20:50:44.479ZINFOcrucible-agent (dropshot): listening local_addr = [fd00:1122:3344:101::14]:32345
552023-10-04T20:51:47.615ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::14]:32345 remote_addr = [fd00:1122:3344:101::b]:59247
562023-10-04T20:51:47.646ZINFOcrucible-agent (datafile): region 0fe81705-8299-45e9-a9f1-8b24efb50091 state: Requested
572023-10-04T20:51:47.648ZINFOcrucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
582023-10-04T20:51:47.648ZINFOcrucible-agent (dropshot): request completed latency_us = 1730 local_addr = [fd00:1122:3344:101::14]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:59247 req_id = c52b2bcc-bdd7-448b-b984-5217ce54eb04 response_code = 200 uri = /crucible/0/regions
592023-10-04T20:51:47.658ZINFOcrucible-agent (worker): zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0fe81705-8299-45e9-a9f1-8b24efb50091
602023-10-04T20:51:47.658ZINFOcrucible-agent (worker): zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0fe81705-8299-45e9-a9f1-8b24efb50091
612023-10-04T20:51:47.777ZINFOcrucible-agent (dropshot): request completed latency_us = 93 local_addr = [fd00:1122:3344:101::14]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:59247 req_id = 110fe570-f0bc-4010-a0e7-7122cefea571 response_code = 200 uri = /crucible/0/regions
622023-10-04T20:51:47.908ZINFOcrucible-agent (worker): creating region Region { id: RegionId("0fe81705-8299-45e9-a9f1-8b24efb50091"), 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/0fe81705-8299-45e9-a9f1-8b24efb50091" region = 0fe81705-8299-45e9-a9f1-8b24efb50091
632023-10-04T20:51:48.202ZINFOcrucible-agent (worker): region files created ok region = 0fe81705-8299-45e9-a9f1-8b24efb50091
642023-10-04T20:51:48.202ZINFOcrucible-agent (datafile): region 0fe81705-8299-45e9-a9f1-8b24efb50091 state: Requested -> Created
652023-10-04T20:51:48.202ZINFOcrucible-agent (worker): applying SMF actions post create...
662023-10-04T20:51:48.213ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-0fe81705-8299-45e9-a9f1-8b24efb50091
672023-10-04T20:51:48.267ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-0fe81705-8299-45e9-a9f1-8b24efb50091
682023-10-04T20:51:48.276ZINFOcrucible-agent (dropshot): request completed latency_us = 79 local_addr = [fd00:1122:3344:101::14]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:59247 req_id = 5087addb-cd29-4cec-9db6-f992652b3821 response_code = 200 uri = /crucible/0/regions
692023-10-04T20:51:48.640ZINFOcrucible-agent (worker): creating config property group
702023-10-04T20:51:48.683ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-0fe81705-8299-45e9-a9f1-8b24efb50091
712023-10-04T20:51:48.684ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/0fe81705-8299-45e9-a9f1-8b24efb50091
722023-10-04T20:51:48.684ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
732023-10-04T20:51:48.684ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14
742023-10-04T20:51:48.684ZINFOcrucible-agent (worker): commit
752023-10-04T20:51:48.759ZINFOcrucible-agent (worker): ok!
762023-10-04T20:51:48.825ZINFOcrucible-agent (worker): SMF ok!
772023-10-04T20:51:49.351ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::14]:32345 remote_addr = [fd00:1122:3344:101::b]:52695
782023-10-04T20:51:49.382ZINFOcrucible-agent (dropshot): request completed latency_us = 130 local_addr = [fd00:1122:3344:101::14]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:52695 req_id = 39c88e49-fb24-413b-a964-8d98e0516869 response_code = 200 uri = /crucible/0/regions/0fe81705-8299-45e9-a9f1-8b24efb50091
792023-10-04T20:51:49.382ZINFOcrucible-agent (datafile): path is "/data/regions/0fe81705-8299-45e9-a9f1-8b24efb50091"
802023-10-04T20:51:49.394ZINFOcrucible-agent (datafile): dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0fe81705-8299-45e9-a9f1-8b24efb50091
812023-10-04T20:51:49.405ZINFOcrucible-agent (datafile): region 0fe81705-8299-45e9-a9f1-8b24efb50091 state: Created -> Tombstoned
822023-10-04T20:51:49.405ZINFOcrucible-agent (worker): applying SMF actions before removal...
832023-10-04T20:51:49.405ZINFOcrucible-agent (dropshot): request completed latency_us = 23079 local_addr = [fd00:1122:3344:101::14]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::b]:52695 req_id = 1e535f94-a28f-4102-8b39-e904a039ecf9 response_code = 204 uri = /crucible/0/regions/0fe81705-8299-45e9-a9f1-8b24efb50091
842023-10-04T20:51:49.408ZINFOcrucible-agent (dropshot): request completed latency_us = 461 local_addr = [fd00:1122:3344:101::14]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:52695 req_id = fcdef00e-bcdd-4bab-8345-5e13d72daadb response_code = 200 uri = /crucible/0/regions/0fe81705-8299-45e9-a9f1-8b24efb50091
852023-10-04T20:51:49.416ZERROcrucible-agent (worker): remove downstairs instance: downstairs-0fe81705-8299-45e9-a9f1-8b24efb50091
862023-10-04T20:51:49.416ZINFOcrucible-agent (worker): instance states: (Some(Online), None)
872023-10-04T20:51:49.448ZINFOcrucible-agent (worker): SMF ok!
882023-10-04T20:51:49.459ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0fe81705-8299-45e9-a9f1-8b24efb50091" region = 0fe81705-8299-45e9-a9f1-8b24efb50091
892023-10-04T20:51:49.527ZINFOcrucible-agent (datafile): region 0fe81705-8299-45e9-a9f1-8b24efb50091 state: Tombstoned -> Destroyed
902023-10-04T20:51:49.552ZINFOcrucible-agent (dropshot): request completed latency_us = 71 local_addr = [fd00:1122:3344:101::14]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:52695 req_id = 986ce37f-5d38-4223-bfb4-526b8f10953f response_code = 200 uri = /crucible/0/regions/0fe81705-8299-45e9-a9f1-8b24efb50091
912023-10-04T20:51:52.448ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::14]:32345 remote_addr = [fd00:1122:3344:101::b]:48043
922023-10-04T20:51:52.511ZINFOcrucible-agent (datafile): region e05556e3-a733-42b9-bc5f-e9c607437070 state: Requested
932023-10-04T20:51:52.511ZINFOcrucible-agent (dropshot): request completed latency_us = 255 local_addr = [fd00:1122:3344:101::14]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:48043 req_id = b58e985a-5a0c-4658-bc97-d8c8ad0d7241 response_code = 200 uri = /crucible/0/regions
942023-10-04T20:51:52.511ZINFOcrucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
952023-10-04T20:51:52.520ZINFOcrucible-agent (worker): zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/e05556e3-a733-42b9-bc5f-e9c607437070
962023-10-04T20:51:52.520ZINFOcrucible-agent (worker): zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/e05556e3-a733-42b9-bc5f-e9c607437070
972023-10-04T20:51:52.620ZINFOcrucible-agent (worker): creating region Region { id: RegionId("e05556e3-a733-42b9-bc5f-e9c607437070"), 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/e05556e3-a733-42b9-bc5f-e9c607437070" region = e05556e3-a733-42b9-bc5f-e9c607437070
982023-10-04T20:51:52.715ZINFOcrucible-agent (worker): region files created ok region = e05556e3-a733-42b9-bc5f-e9c607437070
992023-10-04T20:51:52.715ZINFOcrucible-agent (datafile): region e05556e3-a733-42b9-bc5f-e9c607437070 state: Requested -> Created
1002023-10-04T20:51:52.715ZINFOcrucible-agent (worker): applying SMF actions post create...
1012023-10-04T20:51:52.723ZERROcrucible-agent (worker): remove downstairs instance: downstairs-0fe81705-8299-45e9-a9f1-8b24efb50091
1022023-10-04T20:51:52.724ZINFOcrucible-agent (worker): instance states: (Some(Disabled), None)
1032023-10-04T20:51:52.725ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-e05556e3-a733-42b9-bc5f-e9c607437070
1042023-10-04T20:51:52.730ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-e05556e3-a733-42b9-bc5f-e9c607437070
1052023-10-04T20:51:52.760ZINFOcrucible-agent (worker): creating config property group
1062023-10-04T20:51:52.775ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-e05556e3-a733-42b9-bc5f-e9c607437070
1072023-10-04T20:51:52.775ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/e05556e3-a733-42b9-bc5f-e9c607437070
1082023-10-04T20:51:52.775ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
1092023-10-04T20:51:52.775ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14
1102023-10-04T20:51:52.775ZINFOcrucible-agent (worker): commit
1112023-10-04T20:51:52.801ZINFOcrucible-agent (worker): ok!
1122023-10-04T20:51:52.817ZINFOcrucible-agent (worker): SMF ok!
1132023-10-04T20:51:52.881ZINFOcrucible-agent (dropshot): request completed latency_us = 84 local_addr = [fd00:1122:3344:101::14]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:48043 req_id = 1055b0ae-9659-433a-a9d9-e4277ddb3052 response_code = 200 uri = /crucible/0/regions
1142023-10-04T20:55:15.180ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::14]:32345 remote_addr = [fd00:1122:3344:101::b]:42436
1152023-10-04T20:55:15.180ZINFOcrucible-agent (dropshot): request completed latency_us = 58 local_addr = [fd00:1122:3344:101::14]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:42436 req_id = 4ee65b0f-bf22-4fe5-adad-3605b34ad61c response_code = 200 uri = /crucible/0/regions/e05556e3-a733-42b9-bc5f-e9c607437070
1162023-10-04T20:55:15.180ZINFOcrucible-agent (datafile): path is "/data/regions/e05556e3-a733-42b9-bc5f-e9c607437070"
1172023-10-04T20:55:15.192ZINFOcrucible-agent (datafile): dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/e05556e3-a733-42b9-bc5f-e9c607437070
1182023-10-04T20:55:15.201ZINFOcrucible-agent (datafile): region e05556e3-a733-42b9-bc5f-e9c607437070 state: Created -> Tombstoned
1192023-10-04T20:55:15.201ZINFOcrucible-agent (worker): applying SMF actions before removal...
1202023-10-04T20:55:15.204ZINFOcrucible-agent (dropshot): request completed latency_us = 23547 local_addr = [fd00:1122:3344:101::14]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::b]:42436 req_id = 6724311a-9c56-436e-8eab-a63acec1df18 response_code = 204 uri = /crucible/0/regions/e05556e3-a733-42b9-bc5f-e9c607437070
1212023-10-04T20:55:15.204ZINFOcrucible-agent (dropshot): request completed latency_us = 80 local_addr = [fd00:1122:3344:101::14]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:42436 req_id = 3e64646e-bbbc-4e8d-a6d1-ac5995df0187 response_code = 200 uri = /crucible/0/regions/e05556e3-a733-42b9-bc5f-e9c607437070
1222023-10-04T20:55:15.211ZERROcrucible-agent (worker): remove downstairs instance: downstairs-0fe81705-8299-45e9-a9f1-8b24efb50091
1232023-10-04T20:55:15.211ZINFOcrucible-agent (worker): instance states: (Some(Disabled), None)
1242023-10-04T20:55:15.212ZERROcrucible-agent (worker): remove downstairs instance: downstairs-e05556e3-a733-42b9-bc5f-e9c607437070
1252023-10-04T20:55:15.212ZINFOcrucible-agent (worker): instance states: (Some(Online), None)
1262023-10-04T20:55:15.223ZINFOcrucible-agent (worker): SMF ok!
1272023-10-04T20:55:15.235ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/e05556e3-a733-42b9-bc5f-e9c607437070" region = e05556e3-a733-42b9-bc5f-e9c607437070
1282023-10-04T20:55:15.309ZINFOcrucible-agent (dropshot): request completed latency_us = 92 local_addr = [fd00:1122:3344:101::14]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:42436 req_id = 6ba4cf4f-91ac-4d77-a437-7ceb09d79968 response_code = 200 uri = /crucible/0/regions/e05556e3-a733-42b9-bc5f-e9c607437070
1292023-10-04T20:55:15.314ZINFOcrucible-agent (datafile): region e05556e3-a733-42b9-bc5f-e9c607437070 state: Tombstoned -> Destroyed
1302023-10-04T20:55:15.407ZINFOcrucible-agent (dropshot): request completed latency_us = 32 local_addr = [fd00:1122:3344:101::14]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:42436 req_id = f3b8c50c-66c0-4545-9d68-c45867748d0f response_code = 200 uri = /crucible/0/regions/e05556e3-a733-42b9-bc5f-e9c607437070