Max level shown:
1 [ Dec 5 05:08:17 Enabled. ]
2 [ Dec 5 05:08:17 Rereading configuration. ]
3 [ Dec 5 05:08:20 Rereading configuration. ]
4 [ Dec 5 05:08:25 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_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 + [[ 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::19 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_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-05T05:08:26.474ZINFOcrucible-agent: dataset: "oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
522023-12-05T05:08:26.478ZINFOcrucible-agent: listen IP: [fd00:1122:3344:101::19]:32345
532023-12-05T05:08:26.478ZINFOcrucible-agent: SMF instance name downstairs_prefix: "downstairs"
542023-12-05T05:08:26.609ZINFOcrucible-agent (dropshot): listening local_addr = [fd00:1122:3344:101::19]:32345
552023-12-05T05:09:27.072ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::19]:32345 remote_addr = [fd00:1122:3344:101::c]:37057
562023-12-05T05:09:27.114ZINFOcrucible-agent (datafile): region b4013600-169b-46df-bbd8-dec7be6445a7 state: Requested
572023-12-05T05:09:27.117ZINFOcrucible-agent (dropshot): request completed latency_us = 18521 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::c]:37057 req_id = ca97eab8-b530-419a-8bc0-971831160be3 response_code = 200 uri = /crucible/0/regions
582023-12-05T05:09:27.117ZINFOcrucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
592023-12-05T05:09:27.129ZINFOcrucible-agent (worker): zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/b4013600-169b-46df-bbd8-dec7be6445a7
602023-12-05T05:09:27.129ZINFOcrucible-agent (worker): zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/b4013600-169b-46df-bbd8-dec7be6445a7
612023-12-05T05:09:27.184ZINFOcrucible-agent (worker): creating region Region { id: RegionId("b4013600-169b-46df-bbd8-dec7be6445a7"), 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/b4013600-169b-46df-bbd8-dec7be6445a7" region = b4013600-169b-46df-bbd8-dec7be6445a7
622023-12-05T05:09:27.272ZINFOcrucible-agent (dropshot): request completed latency_us = 85 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::c]:37057 req_id = ad644928-8713-462e-9b93-5f04874f293a response_code = 200 uri = /crucible/0/regions
632023-12-05T05:09:27.396ZINFOcrucible-agent (worker): region files created ok region = b4013600-169b-46df-bbd8-dec7be6445a7
642023-12-05T05:09:27.396ZINFOcrucible-agent (datafile): region b4013600-169b-46df-bbd8-dec7be6445a7 state: Requested -> Created
652023-12-05T05:09:27.396ZINFOcrucible-agent (worker): applying SMF actions post create...
662023-12-05T05:09:27.399ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-b4013600-169b-46df-bbd8-dec7be6445a7
672023-12-05T05:09:27.404ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-b4013600-169b-46df-bbd8-dec7be6445a7
682023-12-05T05:09:27.422ZINFOcrucible-agent (worker): creating config property group
692023-12-05T05:09:27.431ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-b4013600-169b-46df-bbd8-dec7be6445a7
702023-12-05T05:09:27.431ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/b4013600-169b-46df-bbd8-dec7be6445a7
712023-12-05T05:09:27.434ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
722023-12-05T05:09:27.434ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19
732023-12-05T05:09:27.434ZINFOcrucible-agent (worker): commit
742023-12-05T05:09:27.439ZINFOcrucible-agent (worker): ok!
752023-12-05T05:09:27.444ZINFOcrucible-agent (worker): SMF ok!
762023-12-05T05:09:27.661ZINFOcrucible-agent (dropshot): request completed latency_us = 99 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::c]:37057 req_id = 5308836a-e857-40ff-bba8-e88de3b0d2e0 response_code = 200 uri = /crucible/0/regions
772023-12-05T05:09:28.286ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::19]:32345 remote_addr = [fd00:1122:3344:101::c]:44562
782023-12-05T05:09:28.286ZINFOcrucible-agent (dropshot): request completed latency_us = 185 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::c]:44562 req_id = 8b7df976-3191-415a-8263-480d8a456584 response_code = 200 uri = /crucible/0/regions/b4013600-169b-46df-bbd8-dec7be6445a7
792023-12-05T05:09:28.287ZINFOcrucible-agent (datafile): path is "/data/regions/b4013600-169b-46df-bbd8-dec7be6445a7"
802023-12-05T05:09:28.296ZINFOcrucible-agent (datafile): dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/b4013600-169b-46df-bbd8-dec7be6445a7
812023-12-05T05:09:28.305ZINFOcrucible-agent (datafile): region b4013600-169b-46df-bbd8-dec7be6445a7 state: Created -> Tombstoned
822023-12-05T05:09:28.305ZINFOcrucible-agent (worker): applying SMF actions before removal...
832023-12-05T05:09:28.305ZINFOcrucible-agent (dropshot): request completed latency_us = 19021 local_addr = [fd00:1122:3344:101::19]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::c]:44562 req_id = e9235702-6ac6-4c70-8e0e-43ce1f85240d response_code = 204 uri = /crucible/0/regions/b4013600-169b-46df-bbd8-dec7be6445a7
842023-12-05T05:09:28.306ZINFOcrucible-agent (dropshot): request completed latency_us = 24 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::c]:44562 req_id = a017f342-f372-4d8d-a255-3990c52a78f1 response_code = 200 uri = /crucible/0/regions/b4013600-169b-46df-bbd8-dec7be6445a7
852023-12-05T05:09:28.306ZINFOcrucible-agent (worker): disabling downstairs instance: downstairs-b4013600-169b-46df-bbd8-dec7be6445a7 (instance states: (Some(Online), None))
862023-12-05T05:09:28.311ZINFOcrucible-agent (worker): SMF ok!
872023-12-05T05:09:28.321ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/b4013600-169b-46df-bbd8-dec7be6445a7" region = b4013600-169b-46df-bbd8-dec7be6445a7
882023-12-05T05:09:28.362ZINFOcrucible-agent (dropshot): request completed latency_us = 717 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::c]:44562 req_id = aacb4561-42f7-4efd-8078-fd8921a68704 response_code = 200 uri = /crucible/0/regions/b4013600-169b-46df-bbd8-dec7be6445a7
892023-12-05T05:09:28.367ZINFOcrucible-agent (datafile): region b4013600-169b-46df-bbd8-dec7be6445a7 state: Tombstoned -> Destroyed
902023-12-05T05:09:28.433ZINFOcrucible-agent (dropshot): request completed latency_us = 21 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::c]:44562 req_id = da4329f2-4d6c-4eab-b5ea-e303bf418caa response_code = 200 uri = /crucible/0/regions/b4013600-169b-46df-bbd8-dec7be6445a7