Max level shown:
1 [ Jan 31 21:19:41 Enabled. ]
2 [ Jan 31 21:19:41 Rereading configuration. ]
3 [ Jan 31 21:19:43 Rereading configuration. ]
4 [ Jan 31 21:19: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=oxControlService20
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 + [[ oxControlService20 == unknown ]]
31 + [[ fd00:1122:3344:101::1 == unknown ]]
32 + ipadm delete-if oxControlService20
33 ipadm: Could not delete oxControlService20: Interface does not exist
34 + true
35 + ipadm create-if -t oxControlService20
36 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService20
37 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService20
38 + ipadm show-addr oxControlService20/ll
39 ipadm: Address object not found
40 + ipadm create-addr -t -T addrconf oxControlService20/ll
41 + ipadm show-addr oxControlService20/omicron6
42 ipadm: Address object not found
43 + ipadm create-addr -t -T static -a fd00:1122:3344:101::19 oxControlService20/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"
512024-01-31T21:19:46.712ZINFOcrucible-agent: dataset: "oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
522024-01-31T21:19:46.719ZINFOcrucible-agent: listen IP: [fd00:1122:3344:101::19]:32345
532024-01-31T21:19:46.719ZINFOcrucible-agent: SMF instance name downstairs_prefix: "downstairs"
542024-01-31T21:19:47.053ZINFOcrucible-agent (dropshot): listening local_addr = [fd00:1122:3344:101::19]:32345
552024-01-31T21:21:10.921ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::19]:32345 remote_addr = [fd00:1122:3344:101::b]:38151
562024-01-31T21:21:10.931ZINFOcrucible-agent (datafile): region ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a state: Requested
572024-01-31T21:21:10.931ZINFOcrucible-agent (dropshot): request completed latency_us = 2952 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:38151 req_id = 5c979d7b-2711-4722-b910-2038d1d8b374 response_code = 200 uri = /crucible/0/regions
582024-01-31T21:21:10.934ZINFOcrucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
592024-01-31T21:21:10.943ZINFOcrucible-agent (worker): zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a
602024-01-31T21:21:10.943ZINFOcrucible-agent (worker): zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a
612024-01-31T21:21:10.997ZINFOcrucible-agent (worker): creating region Region { id: RegionId("ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a"), 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/ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a" region = ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a
622024-01-31T21:21:11.094ZINFOcrucible-agent (dropshot): request completed latency_us = 88 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:38151 req_id = 499a8628-5a52-42a4-8f42-3497b9ceeab8 response_code = 200 uri = /crucible/0/regions
632024-01-31T21:21:11.168ZINFOcrucible-agent (worker): region files created ok region = ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a
642024-01-31T21:21:11.168ZINFOcrucible-agent (datafile): region ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a state: Requested -> Created
652024-01-31T21:21:11.168ZINFOcrucible-agent (worker): applying SMF actions post create...
662024-01-31T21:21:11.168ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a
672024-01-31T21:21:11.172ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a
682024-01-31T21:21:11.180ZINFOcrucible-agent (worker): creating config property group
692024-01-31T21:21:11.183ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a
702024-01-31T21:21:11.184ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a
712024-01-31T21:21:11.184ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
722024-01-31T21:21:11.184ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19
732024-01-31T21:21:11.184ZINFOcrucible-agent (worker): commit
742024-01-31T21:21:11.189ZINFOcrucible-agent (worker): ok!
752024-01-31T21:21:11.194ZINFOcrucible-agent (worker): SMF ok!
762024-01-31T21:21:11.439ZINFOcrucible-agent (dropshot): request completed latency_us = 86 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:38151 req_id = 920b13a7-682a-4f03-8770-1578668e0e46 response_code = 200 uri = /crucible/0/regions
772024-01-31T21:21:11.685ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::19]:32345 remote_addr = [fd00:1122:3344:101::b]:53726
782024-01-31T21:21:11.685ZINFOcrucible-agent (dropshot): request completed latency_us = 65 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:53726 req_id = cdfb9edf-69b6-4676-b54d-84fac5fd6af9 response_code = 200 uri = /crucible/0/regions/ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a
792024-01-31T21:21:11.685ZINFOcrucible-agent (datafile): path is "/data/regions/ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a"
802024-01-31T21:21:11.695ZINFOcrucible-agent (datafile): dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a
812024-01-31T21:21:11.703ZINFOcrucible-agent (datafile): region ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a state: Created -> Tombstoned
822024-01-31T21:21:11.703ZINFOcrucible-agent (worker): applying SMF actions before removal...
832024-01-31T21:21:11.703ZINFOcrucible-agent (dropshot): request completed latency_us = 17847 local_addr = [fd00:1122:3344:101::19]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::b]:53726 req_id = 786e3576-9871-41cc-80e4-66852960e831 response_code = 204 uri = /crucible/0/regions/ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a
842024-01-31T21:21:11.703ZINFOcrucible-agent (dropshot): request completed latency_us = 23 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:53726 req_id = cfd767aa-5711-4be3-93e1-808312201d74 response_code = 200 uri = /crucible/0/regions/ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a
852024-01-31T21:21:11.704ZINFOcrucible-agent (worker): disabling downstairs instance: downstairs-ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a (instance states: (Some(Online), None))
862024-01-31T21:21:11.709ZINFOcrucible-agent (worker): SMF ok!
872024-01-31T21:21:11.719ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a" region = ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a
882024-01-31T21:21:11.769ZINFOcrucible-agent (datafile): region ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a state: Tombstoned -> Destroyed
892024-01-31T21:21:11.851ZINFOcrucible-agent (dropshot): request completed latency_us = 79 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:53726 req_id = 048cc80c-5445-4583-8237-7f86f967ba59 response_code = 200 uri = /crucible/0/regions/ab1558d0-21a8-4ff1-8217-4e6bbb4ba38a
902024-01-31T21:21:14.266ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::19]:32345 remote_addr = [fd00:1122:3344:101::a]:55027
912024-01-31T21:21:14.327ZINFOcrucible-agent (datafile): region 298c457e-3a97-43ad-b67e-7619aa70229b state: Requested
922024-01-31T21:21:14.328ZINFOcrucible-agent (dropshot): request completed latency_us = 388 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:55027 req_id = 0bc23950-9079-42c1-b54c-3fb1c585daa8 response_code = 200 uri = /crucible/0/regions
932024-01-31T21:21:14.328ZINFOcrucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
942024-01-31T21:21:14.336ZINFOcrucible-agent (worker): zfs set reservation of 2684354560 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/298c457e-3a97-43ad-b67e-7619aa70229b
952024-01-31T21:21:14.336ZINFOcrucible-agent (worker): zfs set quota of 6442450944 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/298c457e-3a97-43ad-b67e-7619aa70229b
962024-01-31T21:21:14.384ZINFOcrucible-agent (worker): creating region Region { id: RegionId("298c457e-3a97-43ad-b67e-7619aa70229b"), 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/298c457e-3a97-43ad-b67e-7619aa70229b" region = 298c457e-3a97-43ad-b67e-7619aa70229b
972024-01-31T21:21:14.450ZINFOcrucible-agent (worker): region files created ok region = 298c457e-3a97-43ad-b67e-7619aa70229b
982024-01-31T21:21:14.450ZINFOcrucible-agent (datafile): region 298c457e-3a97-43ad-b67e-7619aa70229b state: Requested -> Created
992024-01-31T21:21:14.450ZINFOcrucible-agent (worker): applying SMF actions post create...
1002024-01-31T21:21:14.452ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-298c457e-3a97-43ad-b67e-7619aa70229b
1012024-01-31T21:21:14.455ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-298c457e-3a97-43ad-b67e-7619aa70229b
1022024-01-31T21:21:14.463ZINFOcrucible-agent (worker): creating config property group
1032024-01-31T21:21:14.467ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-298c457e-3a97-43ad-b67e-7619aa70229b
1042024-01-31T21:21:14.467ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/298c457e-3a97-43ad-b67e-7619aa70229b
1052024-01-31T21:21:14.467ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
1062024-01-31T21:21:14.467ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19
1072024-01-31T21:21:14.467ZINFOcrucible-agent (worker): commit
1082024-01-31T21:21:14.471ZINFOcrucible-agent (worker): ok!
1092024-01-31T21:21:14.477ZINFOcrucible-agent (worker): SMF ok!
1102024-01-31T21:21:14.665ZINFOcrucible-agent (dropshot): request completed latency_us = 72 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:55027 req_id = 76e62d53-9d91-463f-ba17-10ae9dc2c2b2 response_code = 200 uri = /crucible/0/regions
1112024-01-31T21:27:00.262ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::19]:32345 remote_addr = [fd00:1122:3344:101::a]:61301
1122024-01-31T21:27:00.262ZINFOcrucible-agent (dropshot): request completed latency_us = 90 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:61301 req_id = 32ed91b4-1722-4585-b087-14ecb8a2508a response_code = 200 uri = /crucible/0/regions/298c457e-3a97-43ad-b67e-7619aa70229b
1132024-01-31T21:27:00.265ZINFOcrucible-agent (datafile): path is "/data/regions/298c457e-3a97-43ad-b67e-7619aa70229b"
1142024-01-31T21:27:00.276ZINFOcrucible-agent (datafile): dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/298c457e-3a97-43ad-b67e-7619aa70229b
1152024-01-31T21:27:00.285ZINFOcrucible-agent (ZfsSnapshotInterface): snapshot is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/298c457e-3a97-43ad-b67e-7619aa70229b@3059f5d0-7848-47d3-98f8-2e259ba9f020
1162024-01-31T21:27:00.285ZINFOcrucible-agent (ZfsSnapshotInterface): parts is ["oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/298c457e-3a97-43ad-b67e-7619aa70229b", "3059f5d0-7848-47d3-98f8-2e259ba9f020"]
1172024-01-31T21:27:00.296ZINFOcrucible-agent (dropshot): request completed latency_us = 34365 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:61301 req_id = c64c7391-f054-4cfe-99c0-73c6d690915c response_code = 200 uri = /crucible/0/regions/298c457e-3a97-43ad-b67e-7619aa70229b/snapshots/3059f5d0-7848-47d3-98f8-2e259ba9f020
1182024-01-31T21:27:00.297ZINFOcrucible-agent (datafile): path is "/data/regions/298c457e-3a97-43ad-b67e-7619aa70229b"
1192024-01-31T21:27:00.305ZINFOcrucible-agent (datafile): dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/298c457e-3a97-43ad-b67e-7619aa70229b
1202024-01-31T21:27:00.313ZINFOcrucible-agent (ZfsSnapshotInterface): snapshot is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/298c457e-3a97-43ad-b67e-7619aa70229b@3059f5d0-7848-47d3-98f8-2e259ba9f020
1212024-01-31T21:27:00.313ZINFOcrucible-agent (ZfsSnapshotInterface): parts is ["oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/298c457e-3a97-43ad-b67e-7619aa70229b", "3059f5d0-7848-47d3-98f8-2e259ba9f020"]
1222024-01-31T21:27:00.321ZINFOcrucible-agent (datafile): requesting running snapshot 298c457e-3a97-43ad-b67e-7619aa70229b-3059f5d0-7848-47d3-98f8-2e259ba9f020 state: Requested
1232024-01-31T21:27:00.327ZINFOcrucible-agent (worker): applying SMF actions for region 298c457e-3a97-43ad-b67e-7619aa70229b running snapshot 3059f5d0-7848-47d3-98f8-2e259ba9f020 (state Requested)...
1242024-01-31T21:27:00.327ZINFOcrucible-agent (dropshot): request completed latency_us = 30051 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:61301 req_id = 6240a2a3-66b8-4932-94c9-689937ec790e response_code = 200 uri = /crucible/0/regions/298c457e-3a97-43ad-b67e-7619aa70229b/snapshots/3059f5d0-7848-47d3-98f8-2e259ba9f020/run
1252024-01-31T21:27:00.333ZINFOcrucible-agent (worker): creating missing snapshot instance snapshot-298c457e-3a97-43ad-b67e-7619aa70229b-3059f5d0-7848-47d3-98f8-2e259ba9f020
1262024-01-31T21:27:00.352ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:snapshot-298c457e-3a97-43ad-b67e-7619aa70229b-3059f5d0-7848-47d3-98f8-2e259ba9f020
1272024-01-31T21:27:00.393ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:snapshot-298c457e-3a97-43ad-b67e-7619aa70229b-3059f5d0-7848-47d3-98f8-2e259ba9f020
1282024-01-31T21:27:00.394ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/298c457e-3a97-43ad-b67e-7619aa70229b/.zfs/snapshot/3059f5d0-7848-47d3-98f8-2e259ba9f020
1292024-01-31T21:27:00.394ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
1302024-01-31T21:27:00.394ZINFOcrucible-agent (worker): ensure mode SCF_TYPE_ASTRING ro
1312024-01-31T21:27:00.394ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19
1322024-01-31T21:27:00.394ZINFOcrucible-agent (worker): commit
1332024-01-31T21:27:00.406ZINFOcrucible-agent (worker): ok!
1342024-01-31T21:27:00.413ZINFOcrucible-agent (worker): SMF ok!
1352024-01-31T21:27:00.413ZINFOcrucible-agent (datafile): region 298c457e-3a97-43ad-b67e-7619aa70229b running snapshot 3059f5d0-7848-47d3-98f8-2e259ba9f020 state: Requested -> Created