Max level shown:
1 [ Dec 11 18:48:07 Enabled. ]
2 [ Dec 11 18:48:07 Rereading configuration. ]
3 [ Dec 11 18:48:13 Rereading configuration. ]
4 [ Dec 11 18:48:19 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/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 + [[ 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::19 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::19]:32345' -P 19000 -p downstairs -s snapshot
50 note: configured to log to "/dev/stdout"
512023-12-11T18:48:20.513ZINFOcrucible-agent: dataset: "oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
522023-12-11T18:48:20.516ZINFOcrucible-agent: listen IP: [fd00:1122:3344:101::19]:32345
532023-12-11T18:48:20.516ZINFOcrucible-agent: SMF instance name downstairs_prefix: "downstairs"
542023-12-11T18:48:20.844ZINFOcrucible-agent (dropshot): listening local_addr = [fd00:1122:3344:101::19]:32345
552023-12-11T18:49:30.501ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::19]:32345 remote_addr = [fd00:1122:3344:101::a]:54697
562023-12-11T18:49:30.548ZINFOcrucible-agent (datafile): region cdf761a9-4ae2-4d34-ad52-2338fcb7c99e state: Requested
572023-12-11T18:49:30.549ZINFOcrucible-agent (dropshot): request completed latency_us = 9535 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:54697 req_id = 8d5a606e-74b8-43f6-9da7-55d6fb2f1f99 response_code = 200 uri = /crucible/0/regions
582023-12-11T18:49:30.549ZINFOcrucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
592023-12-11T18:49:30.560ZINFOcrucible-agent (worker): zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/cdf761a9-4ae2-4d34-ad52-2338fcb7c99e
602023-12-11T18:49:30.560ZINFOcrucible-agent (worker): zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/cdf761a9-4ae2-4d34-ad52-2338fcb7c99e
612023-12-11T18:49:30.622ZINFOcrucible-agent (worker): creating region Region { id: RegionId("cdf761a9-4ae2-4d34-ad52-2338fcb7c99e"), 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/cdf761a9-4ae2-4d34-ad52-2338fcb7c99e" region = cdf761a9-4ae2-4d34-ad52-2338fcb7c99e
622023-12-11T18:49:30.705ZINFOcrucible-agent (dropshot): request completed latency_us = 86 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:54697 req_id = 288adab2-2ce4-46ea-a580-0f958c592dc0 response_code = 200 uri = /crucible/0/regions
632023-12-11T18:49:30.774ZINFOcrucible-agent (worker): region files created ok region = cdf761a9-4ae2-4d34-ad52-2338fcb7c99e
642023-12-11T18:49:30.774ZINFOcrucible-agent (datafile): region cdf761a9-4ae2-4d34-ad52-2338fcb7c99e state: Requested -> Created
652023-12-11T18:49:30.774ZINFOcrucible-agent (worker): applying SMF actions post create...
662023-12-11T18:49:30.777ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-cdf761a9-4ae2-4d34-ad52-2338fcb7c99e
672023-12-11T18:49:30.783ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-cdf761a9-4ae2-4d34-ad52-2338fcb7c99e
682023-12-11T18:49:30.796ZINFOcrucible-agent (worker): creating config property group
692023-12-11T18:49:30.799ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-cdf761a9-4ae2-4d34-ad52-2338fcb7c99e
702023-12-11T18:49:30.800ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/cdf761a9-4ae2-4d34-ad52-2338fcb7c99e
712023-12-11T18:49:30.800ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
722023-12-11T18:49:30.800ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19
732023-12-11T18:49:30.800ZINFOcrucible-agent (worker): commit
742023-12-11T18:49:30.805ZINFOcrucible-agent (worker): ok!
752023-12-11T18:49:30.816ZINFOcrucible-agent (worker): SMF ok!
762023-12-11T18:49:31.412ZINFOcrucible-agent (dropshot): request completed latency_us = 69 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:54697 req_id = d4011047-6e8f-4ba5-a53d-cd3af043ed91 response_code = 200 uri = /crucible/0/regions
772023-12-11T18:49:32.047ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::19]:32345 remote_addr = [fd00:1122:3344:101::a]:42122
782023-12-11T18:49:32.047ZINFOcrucible-agent (dropshot): request completed latency_us = 239 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:42122 req_id = cc5a8201-4966-488e-be18-4bdbc57e2c96 response_code = 200 uri = /crucible/0/regions/cdf761a9-4ae2-4d34-ad52-2338fcb7c99e
792023-12-11T18:49:32.048ZINFOcrucible-agent (datafile): path is "/data/regions/cdf761a9-4ae2-4d34-ad52-2338fcb7c99e"
802023-12-11T18:49:32.058ZINFOcrucible-agent (datafile): dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/cdf761a9-4ae2-4d34-ad52-2338fcb7c99e
812023-12-11T18:49:32.067ZINFOcrucible-agent (datafile): region cdf761a9-4ae2-4d34-ad52-2338fcb7c99e state: Created -> Tombstoned
822023-12-11T18:49:32.067ZINFOcrucible-agent (worker): applying SMF actions before removal...
832023-12-11T18:49:32.067ZINFOcrucible-agent (dropshot): request completed latency_us = 19760 local_addr = [fd00:1122:3344:101::19]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::a]:42122 req_id = eeb2d800-0277-42b3-bd62-23c9551e7d43 response_code = 204 uri = /crucible/0/regions/cdf761a9-4ae2-4d34-ad52-2338fcb7c99e
842023-12-11T18:49:32.068ZINFOcrucible-agent (dropshot): request completed latency_us = 23 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:42122 req_id = 5787341c-2bde-482b-97b2-300aa13628fe response_code = 200 uri = /crucible/0/regions/cdf761a9-4ae2-4d34-ad52-2338fcb7c99e
852023-12-11T18:49:32.068ZINFOcrucible-agent (worker): disabling downstairs instance: downstairs-cdf761a9-4ae2-4d34-ad52-2338fcb7c99e (instance states: (Some(Online), None))
862023-12-11T18:49:32.072ZINFOcrucible-agent (worker): SMF ok!
872023-12-11T18:49:32.082ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/cdf761a9-4ae2-4d34-ad52-2338fcb7c99e" region = cdf761a9-4ae2-4d34-ad52-2338fcb7c99e
882023-12-11T18:49:32.132ZINFOcrucible-agent (datafile): region cdf761a9-4ae2-4d34-ad52-2338fcb7c99e state: Tombstoned -> Destroyed
892023-12-11T18:49:32.145ZINFOcrucible-agent (dropshot): request completed latency_us = 82 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:42122 req_id = 55a51d8e-7693-4cce-8aa3-124d542783b1 response_code = 200 uri = /crucible/0/regions/cdf761a9-4ae2-4d34-ad52-2338fcb7c99e
902023-12-11T18:54:57.456ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::19]:32345 remote_addr = [fd00:1122:3344:101::a]:54471
912023-12-11T18:54:57.457ZINFOcrucible-agent (datafile): region 57134dce-1fa1-49cc-ab0a-053366523465 state: Requested
922023-12-11T18:54:57.460ZINFOcrucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
932023-12-11T18:54:57.460ZINFOcrucible-agent (dropshot): request completed latency_us = 4028 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:54471 req_id = df735769-49d8-4725-a974-9e0c3d58f960 response_code = 200 uri = /crucible/0/regions
942023-12-11T18:54:57.471ZINFOcrucible-agent (worker): zfs set reservation of 2684354560 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/57134dce-1fa1-49cc-ab0a-053366523465
952023-12-11T18:54:57.471ZINFOcrucible-agent (worker): zfs set quota of 6442450944 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/57134dce-1fa1-49cc-ab0a-053366523465
962023-12-11T18:54:57.532ZINFOcrucible-agent (worker): creating region Region { id: RegionId("57134dce-1fa1-49cc-ab0a-053366523465"), 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/57134dce-1fa1-49cc-ab0a-053366523465" region = 57134dce-1fa1-49cc-ab0a-053366523465
972023-12-11T18:54:57.640ZINFOcrucible-agent (worker): region files created ok region = 57134dce-1fa1-49cc-ab0a-053366523465
982023-12-11T18:54:57.640ZINFOcrucible-agent (datafile): region 57134dce-1fa1-49cc-ab0a-053366523465 state: Requested -> Created
992023-12-11T18:54:57.640ZINFOcrucible-agent (worker): applying SMF actions post create...
1002023-12-11T18:54:57.642ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-57134dce-1fa1-49cc-ab0a-053366523465
1012023-12-11T18:54:57.654ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-57134dce-1fa1-49cc-ab0a-053366523465
1022023-12-11T18:54:57.669ZINFOcrucible-agent (dropshot): request completed latency_us = 80 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:54471 req_id = 89d541d2-a499-461a-ad99-ba0aa8b12e1d response_code = 200 uri = /crucible/0/regions
1032023-12-11T18:54:57.677ZINFOcrucible-agent (worker): creating config property group
1042023-12-11T18:54:57.683ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-57134dce-1fa1-49cc-ab0a-053366523465
1052023-12-11T18:54:57.683ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/57134dce-1fa1-49cc-ab0a-053366523465
1062023-12-11T18:54:57.683ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
1072023-12-11T18:54:57.683ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19
1082023-12-11T18:54:57.683ZINFOcrucible-agent (worker): commit
1092023-12-11T18:54:57.688ZINFOcrucible-agent (worker): ok!
1102023-12-11T18:54:57.695ZINFOcrucible-agent (worker): SMF ok!
1112023-12-11T18:55:01.882ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::19]:32345 remote_addr = [fd00:1122:3344:101::a]:44319
1122023-12-11T18:55:01.882ZINFOcrucible-agent (datafile): region faf96056-b30d-4585-8e64-e76c69b4f3ee state: Requested
1132023-12-11T18:55:01.882ZINFOcrucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
1142023-12-11T18:55:01.882ZINFOcrucible-agent (dropshot): request completed latency_us = 211 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:44319 req_id = c7c615a3-928d-4bfc-bf41-b4032d5904dc response_code = 200 uri = /crucible/0/regions
1152023-12-11T18:55:01.891ZINFOcrucible-agent (worker): zfs set reservation of 2684354560 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/faf96056-b30d-4585-8e64-e76c69b4f3ee
1162023-12-11T18:55:01.891ZINFOcrucible-agent (worker): zfs set quota of 6442450944 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/faf96056-b30d-4585-8e64-e76c69b4f3ee
1172023-12-11T18:55:01.959ZINFOcrucible-agent (worker): creating region Region { id: RegionId("faf96056-b30d-4585-8e64-e76c69b4f3ee"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19001, cert_pem: None, key_pem: None, root_pem: None } at "/data/regions/faf96056-b30d-4585-8e64-e76c69b4f3ee" region = faf96056-b30d-4585-8e64-e76c69b4f3ee
1182023-12-11T18:55:02.081ZINFOcrucible-agent (worker): region files created ok region = faf96056-b30d-4585-8e64-e76c69b4f3ee
1192023-12-11T18:55:02.081ZINFOcrucible-agent (datafile): region faf96056-b30d-4585-8e64-e76c69b4f3ee state: Requested -> Created
1202023-12-11T18:55:02.082ZINFOcrucible-agent (worker): applying SMF actions post create...
1212023-12-11T18:55:02.084ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-faf96056-b30d-4585-8e64-e76c69b4f3ee
1222023-12-11T18:55:02.090ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-faf96056-b30d-4585-8e64-e76c69b4f3ee
1232023-12-11T18:55:02.107ZINFOcrucible-agent (worker): creating config property group
1242023-12-11T18:55:02.115ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-faf96056-b30d-4585-8e64-e76c69b4f3ee
1252023-12-11T18:55:02.115ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/faf96056-b30d-4585-8e64-e76c69b4f3ee
1262023-12-11T18:55:02.115ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
1272023-12-11T18:55:02.115ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19
1282023-12-11T18:55:02.115ZINFOcrucible-agent (worker): commit
1292023-12-11T18:55:02.119ZINFOcrucible-agent (worker): ok!
1302023-12-11T18:55:02.124ZINFOcrucible-agent (worker): SMF ok!
1312023-12-11T18:55:02.165ZINFOcrucible-agent (dropshot): request completed latency_us = 81 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:44319 req_id = a4a0b9aa-8ca4-4df6-a839-eb2fe199e2a9 response_code = 200 uri = /crucible/0/regions
1322023-12-11T18:55:33.091ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::19]:32345 remote_addr = [fd00:1122:3344:101::a]:63861
1332023-12-11T18:55:33.091ZINFOcrucible-agent (dropshot): request completed latency_us = 68 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:63861 req_id = 8fa3328a-897a-4d82-ab87-5777763aacbd response_code = 200 uri = /crucible/0/regions/faf96056-b30d-4585-8e64-e76c69b4f3ee
1342023-12-11T18:55:33.091ZINFOcrucible-agent (datafile): path is "/data/regions/faf96056-b30d-4585-8e64-e76c69b4f3ee"
1352023-12-11T18:55:33.102ZINFOcrucible-agent (datafile): dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/faf96056-b30d-4585-8e64-e76c69b4f3ee
1362023-12-11T18:55:33.110ZINFOcrucible-agent (datafile): region faf96056-b30d-4585-8e64-e76c69b4f3ee state: Created -> Tombstoned
1372023-12-11T18:55:33.111ZINFOcrucible-agent (worker): applying SMF actions before removal...
1382023-12-11T18:55:33.111ZINFOcrucible-agent (dropshot): request completed latency_us = 19355 local_addr = [fd00:1122:3344:101::19]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::a]:63861 req_id = b0b898ed-cb6c-41fe-957b-c32b345a5718 response_code = 204 uri = /crucible/0/regions/faf96056-b30d-4585-8e64-e76c69b4f3ee
1392023-12-11T18:55:33.111ZINFOcrucible-agent (dropshot): request completed latency_us = 29 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:63861 req_id = b30d791f-6fe6-4ea7-96dc-ada545218e82 response_code = 200 uri = /crucible/0/regions/faf96056-b30d-4585-8e64-e76c69b4f3ee
1402023-12-11T18:55:33.112ZINFOcrucible-agent (worker): disabling downstairs instance: downstairs-faf96056-b30d-4585-8e64-e76c69b4f3ee (instance states: (Some(Online), None))
1412023-12-11T18:55:33.122ZINFOcrucible-agent (worker): SMF ok!
1422023-12-11T18:55:33.132ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/faf96056-b30d-4585-8e64-e76c69b4f3ee" region = faf96056-b30d-4585-8e64-e76c69b4f3ee
1432023-12-11T18:55:33.174ZINFOcrucible-agent (datafile): region faf96056-b30d-4585-8e64-e76c69b4f3ee state: Tombstoned -> Destroyed
1442023-12-11T18:55:33.213ZINFOcrucible-agent (dropshot): request completed latency_us = 1039 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:63861 req_id = fb876854-1b27-4ffe-9e26-2d83bc5f6b40 response_code = 200 uri = /crucible/0/regions/faf96056-b30d-4585-8e64-e76c69b4f3ee