Max level shown:
1 [ Oct 25 07:31:06 Enabled. ]
2 [ Oct 25 07:31:06 Rereading configuration. ]
3 [ Oct 25 07:31:07 Rereading configuration. ]
4 [ Oct 25 07:31:09 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=oxControlService17
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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible
20 ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default
21 + LISTEN_ADDR=fd00:1122:3344:101::18
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 + [[ oxControlService17 == unknown ]]
31 + [[ fd00:1122:3344:101::1 == unknown ]]
32 + ipadm delete-if oxControlService17
33 ipadm: Could not delete oxControlService17: Interface does not exist
34 + true
35 + ipadm create-if -t oxControlService17
36 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService17
37 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService17
38 + ipadm show-addr oxControlService17/ll
39 ipadm: Address object not found
40 + ipadm create-addr -t -T addrconf oxControlService17/ll
41 + ipadm show-addr oxControlService17/omicron6
42 ipadm: Address object not found
43 + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService17/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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot
50 note: configured to log to "/dev/stdout"
512023-10-25T07:31:09.848ZINFOcrucible-agent: dataset: "oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible"
522023-10-25T07:31:09.852ZINFOcrucible-agent: listen IP: [fd00:1122:3344:101::18]:32345
532023-10-25T07:31:09.852ZINFOcrucible-agent: SMF instance name downstairs_prefix: "downstairs"
542023-10-25T07:31:09.982ZINFOcrucible-agent (dropshot): listening local_addr = [fd00:1122:3344:101::18]:32345
552023-10-25T07:32:23.907ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::18]:32345 remote_addr = [fd00:1122:3344:101::c]:63574
562023-10-25T07:32:23.945ZINFOcrucible-agent (datafile): region d125b63d-ffa5-4d22-9b0e-56c8d480be99 state: Requested
572023-10-25T07:32:23.946ZINFOcrucible-agent (dropshot): request completed latency_us = 5041 local_addr = [fd00:1122:3344:101::18]:32345 method = POST remote_addr = [fd00:1122:3344:101::c]:63574 req_id = c021f24c-e11c-4ec8-9429-cc94de08342e response_code = 200 uri = /crucible/0/regions
582023-10-25T07:32:23.948ZINFOcrucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
592023-10-25T07:32:23.957ZINFOcrucible-agent (worker): zfs set reservation of 1342177280 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99
602023-10-25T07:32:23.957ZINFOcrucible-agent (worker): zfs set quota of 3221225472 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99
612023-10-25T07:32:24.000ZINFOcrucible-agent (worker): creating region Region { id: RegionId("d125b63d-ffa5-4d22-9b0e-56c8d480be99"), 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/d125b63d-ffa5-4d22-9b0e-56c8d480be99" region = d125b63d-ffa5-4d22-9b0e-56c8d480be99
622023-10-25T07:32:24.119ZINFOcrucible-agent (dropshot): request completed latency_us = 97 local_addr = [fd00:1122:3344:101::18]:32345 method = POST remote_addr = [fd00:1122:3344:101::c]:63574 req_id = d0a68650-fcd4-4599-86b0-52661c4d75cb response_code = 200 uri = /crucible/0/regions
632023-10-25T07:32:24.220ZINFOcrucible-agent (worker): region files created ok region = d125b63d-ffa5-4d22-9b0e-56c8d480be99
642023-10-25T07:32:24.220ZINFOcrucible-agent (datafile): region d125b63d-ffa5-4d22-9b0e-56c8d480be99 state: Requested -> Created
652023-10-25T07:32:24.220ZINFOcrucible-agent (worker): applying SMF actions post create...
662023-10-25T07:32:24.221ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-d125b63d-ffa5-4d22-9b0e-56c8d480be99
672023-10-25T07:32:24.225ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-d125b63d-ffa5-4d22-9b0e-56c8d480be99
682023-10-25T07:32:24.235ZINFOcrucible-agent (worker): creating config property group
692023-10-25T07:32:24.238ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-d125b63d-ffa5-4d22-9b0e-56c8d480be99
702023-10-25T07:32:24.238ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99
712023-10-25T07:32:24.238ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
722023-10-25T07:32:24.238ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18
732023-10-25T07:32:24.238ZINFOcrucible-agent (worker): commit
742023-10-25T07:32:24.248ZINFOcrucible-agent (worker): ok!
752023-10-25T07:32:24.252ZINFOcrucible-agent (worker): SMF ok!
762023-10-25T07:32:24.733ZINFOcrucible-agent (dropshot): request completed latency_us = 82 local_addr = [fd00:1122:3344:101::18]:32345 method = POST remote_addr = [fd00:1122:3344:101::c]:63574 req_id = 180d6ef8-a7f5-4f5b-8056-4375b48b09ea response_code = 200 uri = /crucible/0/regions
772023-10-25T07:32:25.054ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::18]:32345 remote_addr = [fd00:1122:3344:101::c]:50099
782023-10-25T07:32:25.085ZINFOcrucible-agent (dropshot): request completed latency_us = 100 local_addr = [fd00:1122:3344:101::18]:32345 method = GET remote_addr = [fd00:1122:3344:101::c]:50099 req_id = 68e9f303-8618-4562-bf26-3f5ceb3cd71c response_code = 200 uri = /crucible/0/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99
792023-10-25T07:32:25.085ZINFOcrucible-agent (datafile): path is "/data/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99"
802023-10-25T07:32:25.096ZINFOcrucible-agent (datafile): dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99
812023-10-25T07:32:25.106ZINFOcrucible-agent (datafile): region d125b63d-ffa5-4d22-9b0e-56c8d480be99 state: Created -> Tombstoned
822023-10-25T07:32:25.106ZINFOcrucible-agent (worker): applying SMF actions before removal...
832023-10-25T07:32:25.106ZINFOcrucible-agent (dropshot): request completed latency_us = 20376 local_addr = [fd00:1122:3344:101::18]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::c]:50099 req_id = dcbce494-9290-44d7-b00e-2fa0f566ab79 response_code = 204 uri = /crucible/0/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99
842023-10-25T07:32:25.106ZINFOcrucible-agent (dropshot): request completed latency_us = 27 local_addr = [fd00:1122:3344:101::18]:32345 method = GET remote_addr = [fd00:1122:3344:101::c]:50099 req_id = 9c3e6306-1349-4476-b332-70c4c587a297 response_code = 200 uri = /crucible/0/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99
852023-10-25T07:32:25.107ZINFOcrucible-agent (worker): disabling downstairs instance: downstairs-d125b63d-ffa5-4d22-9b0e-56c8d480be99 (instance states: (Some(Online), None))
862023-10-25T07:32:25.111ZINFOcrucible-agent (worker): SMF ok!
872023-10-25T07:32:25.122ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99" region = d125b63d-ffa5-4d22-9b0e-56c8d480be99
882023-10-25T07:32:25.174ZINFOcrucible-agent (datafile): region d125b63d-ffa5-4d22-9b0e-56c8d480be99 state: Tombstoned -> Destroyed
892023-10-25T07:32:25.179ZINFOcrucible-agent (dropshot): request completed latency_us = 60 local_addr = [fd00:1122:3344:101::18]:32345 method = GET remote_addr = [fd00:1122:3344:101::c]:50099 req_id = d65b626f-5bb2-4215-a18b-9d5908a8bf20 response_code = 200 uri = /crucible/0/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99