Max level shown:
1 [ Oct 31 04:28:12 Enabled. ]
2 [ Oct 31 04:28:12 Rereading configuration. ]
3 [ Oct 31 04:28:14 Rereading configuration. ]
4 [ Oct 31 04:28:18 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=oxControlService19
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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible
20 ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default
21 + LISTEN_ADDR=fd00:1122:3344:101::15
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 + [[ oxControlService19 == unknown ]]
31 + [[ fd00:1122:3344:101::1 == unknown ]]
32 + ipadm delete-if oxControlService19
33 ipadm: Could not delete oxControlService19: Interface does not exist
34 + true
35 + ipadm create-if -t oxControlService19
36 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService19
37 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService19
38 + ipadm show-addr oxControlService19/ll
39 ipadm: Address object not found
40 + ipadm create-addr -t -T addrconf oxControlService19/ll
41 + ipadm show-addr oxControlService19/omicron6
42 ipadm: Address object not found
43 + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService19/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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot
50 note: configured to log to "/dev/stdout"
512023-10-31T04:28:18.879ZINFOcrucible-agent: dataset: "oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
522023-10-31T04:28:18.883ZINFOcrucible-agent: listen IP: [fd00:1122:3344:101::15]:32345
532023-10-31T04:28:18.883ZINFOcrucible-agent: SMF instance name downstairs_prefix: "downstairs"
542023-10-31T04:28:19.080ZINFOcrucible-agent (dropshot): listening local_addr = [fd00:1122:3344:101::15]:32345
552023-10-31T04:29:27.211ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::15]:32345 remote_addr = [fd00:1122:3344:101::b]:64820
562023-10-31T04:29:27.284ZINFOcrucible-agent (datafile): region d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53 state: Requested
572023-10-31T04:29:27.287ZINFOcrucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
582023-10-31T04:29:27.287ZINFOcrucible-agent (dropshot): request completed latency_us = 9628 local_addr = [fd00:1122:3344:101::15]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:64820 req_id = 6c0aac90-e1f9-40c9-85d8-60ecfb5b4a79 response_code = 200 uri = /crucible/0/regions
592023-10-31T04:29:27.297ZINFOcrucible-agent (worker): zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53
602023-10-31T04:29:27.297ZINFOcrucible-agent (worker): zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53
612023-10-31T04:29:27.393ZINFOcrucible-agent (worker): creating region Region { id: RegionId("d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53"), 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/d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53" region = d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53
622023-10-31T04:29:27.489ZINFOcrucible-agent (dropshot): request completed latency_us = 84 local_addr = [fd00:1122:3344:101::15]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:64820 req_id = 284a79ef-a72e-4c6b-9f03-46a4fab7435a response_code = 200 uri = /crucible/0/regions
632023-10-31T04:29:27.561ZINFOcrucible-agent (worker): region files created ok region = d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53
642023-10-31T04:29:27.561ZINFOcrucible-agent (datafile): region d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53 state: Requested -> Created
652023-10-31T04:29:27.561ZINFOcrucible-agent (worker): applying SMF actions post create...
662023-10-31T04:29:27.562ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53
672023-10-31T04:29:27.567ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53
682023-10-31T04:29:27.580ZINFOcrucible-agent (worker): creating config property group
692023-10-31T04:29:27.584ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53
702023-10-31T04:29:27.585ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53
712023-10-31T04:29:27.585ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
722023-10-31T04:29:27.585ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15
732023-10-31T04:29:27.585ZINFOcrucible-agent (worker): commit
742023-10-31T04:29:27.590ZINFOcrucible-agent (worker): ok!
752023-10-31T04:29:27.603ZINFOcrucible-agent (worker): SMF ok!
762023-10-31T04:29:28.092ZINFOcrucible-agent (dropshot): request completed latency_us = 96 local_addr = [fd00:1122:3344:101::15]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:64820 req_id = fce15f4e-9a42-4135-a8f7-065758cfdc87 response_code = 200 uri = /crucible/0/regions
772023-10-31T04:29:28.534ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::15]:32345 remote_addr = [fd00:1122:3344:101::b]:49839
782023-10-31T04:29:28.566ZINFOcrucible-agent (dropshot): request completed latency_us = 90 local_addr = [fd00:1122:3344:101::15]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:49839 req_id = ae735ebe-4704-45a5-9171-2ceef1194a9f response_code = 200 uri = /crucible/0/regions/d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53
792023-10-31T04:29:28.567ZINFOcrucible-agent (datafile): path is "/data/regions/d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53"
802023-10-31T04:29:28.580ZINFOcrucible-agent (datafile): dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53
812023-10-31T04:29:28.590ZINFOcrucible-agent (datafile): region d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53 state: Created -> Tombstoned
822023-10-31T04:29:28.590ZINFOcrucible-agent (worker): applying SMF actions before removal...
832023-10-31T04:29:28.590ZINFOcrucible-agent (dropshot): request completed latency_us = 23786 local_addr = [fd00:1122:3344:101::15]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::b]:49839 req_id = f6f48465-9456-4fe6-9d77-414ebd382a04 response_code = 204 uri = /crucible/0/regions/d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53
842023-10-31T04:29:28.591ZINFOcrucible-agent (dropshot): request completed latency_us = 27 local_addr = [fd00:1122:3344:101::15]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:49839 req_id = 85999d90-5d97-427e-b935-1c038f23ce42 response_code = 200 uri = /crucible/0/regions/d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53
852023-10-31T04:29:28.592ZINFOcrucible-agent (worker): disabling downstairs instance: downstairs-d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53 (instance states: (Some(Online), None))
862023-10-31T04:29:28.596ZINFOcrucible-agent (worker): SMF ok!
872023-10-31T04:29:28.608ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53" region = d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53
882023-10-31T04:29:28.672ZINFOcrucible-agent (datafile): region d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53 state: Tombstoned -> Destroyed
892023-10-31T04:29:28.734ZINFOcrucible-agent (dropshot): request completed latency_us = 89 local_addr = [fd00:1122:3344:101::15]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:49839 req_id = 71efb039-b3f6-4cb5-97f9-4f96f9402a0e response_code = 200 uri = /crucible/0/regions/d5402c9a-dce3-4b9e-a6fe-9e39eeb2ff53