Max level shown:
1 [ Jan 28 05:19:29 Enabled. ]
2 [ Jan 28 05:19:29 Rereading configuration. ]
3 [ Jan 28 05:19:31 Rereading configuration. ]
4 [ Jan 28 05:19:32 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=oxControlService18
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 + [[ oxControlService18 == unknown ]]
31 + [[ fd00:1122:3344:101::1 == unknown ]]
32 + ipadm delete-if oxControlService18
33 ipadm: Could not delete oxControlService18: Interface does not exist
34 + true
35 + ipadm create-if -t oxControlService18
36 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService18
37 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService18
38 + ipadm show-addr oxControlService18/ll
39 ipadm: Address object not found
40 + ipadm create-addr -t -T addrconf oxControlService18/ll
41 + ipadm show-addr oxControlService18/omicron6
42 ipadm: Address object not found
43 + ipadm create-addr -t -T static -a fd00:1122:3344:101::19 oxControlService18/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-28T05:19:33.093ZINFOcrucible-agent: dataset: "oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
522024-01-28T05:19:33.102ZINFOcrucible-agent: listen IP: [fd00:1122:3344:101::19]:32345
532024-01-28T05:19:33.102ZINFOcrucible-agent: SMF instance name downstairs_prefix: "downstairs"
542024-01-28T05:19:33.215ZINFOcrucible-agent (dropshot): listening local_addr = [fd00:1122:3344:101::19]:32345
552024-01-28T05:20:36.291ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::19]:32345 remote_addr = [fd00:1122:3344:101::b]:65410
562024-01-28T05:20:36.326ZINFOcrucible-agent (datafile): region 6dfc8c18-9575-4529-90fb-0dfd3ff5f52d state: Requested
572024-01-28T05:20:36.327ZINFOcrucible-agent (dropshot): request completed latency_us = 2768 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:65410 req_id = a4f51ace-af2e-4c84-a505-194218e5781b response_code = 200 uri = /crucible/0/regions
582024-01-28T05:20:36.331ZINFOcrucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
592024-01-28T05:20:36.341ZINFOcrucible-agent (worker): zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d
602024-01-28T05:20:36.341ZINFOcrucible-agent (worker): zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d
612024-01-28T05:20:36.386ZINFOcrucible-agent (worker): creating region Region { id: RegionId("6dfc8c18-9575-4529-90fb-0dfd3ff5f52d"), 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/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d" region = 6dfc8c18-9575-4529-90fb-0dfd3ff5f52d
622024-01-28T05:20:36.518ZINFOcrucible-agent (worker): region files created ok region = 6dfc8c18-9575-4529-90fb-0dfd3ff5f52d
632024-01-28T05:20:36.518ZINFOcrucible-agent (datafile): region 6dfc8c18-9575-4529-90fb-0dfd3ff5f52d state: Requested -> Created
642024-01-28T05:20:36.518ZINFOcrucible-agent (worker): applying SMF actions post create...
652024-01-28T05:20:36.518ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-6dfc8c18-9575-4529-90fb-0dfd3ff5f52d
662024-01-28T05:20:36.521ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-6dfc8c18-9575-4529-90fb-0dfd3ff5f52d
672024-01-28T05:20:36.529ZINFOcrucible-agent (worker): creating config property group
682024-01-28T05:20:36.531ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-6dfc8c18-9575-4529-90fb-0dfd3ff5f52d
692024-01-28T05:20:36.532ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d
702024-01-28T05:20:36.534ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
712024-01-28T05:20:36.534ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19
722024-01-28T05:20:36.534ZINFOcrucible-agent (worker): commit
732024-01-28T05:20:36.541ZINFOcrucible-agent (worker): ok!
742024-01-28T05:20:36.545ZINFOcrucible-agent (worker): SMF ok!
752024-01-28T05:20:36.643ZINFOcrucible-agent (dropshot): request completed latency_us = 672 local_addr = [fd00:1122:3344:101::19]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:65410 req_id = 8dfb6234-795e-4bd2-bd53-b09ad7abc69e response_code = 200 uri = /crucible/0/regions
762024-01-28T05:20:37.863ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::19]:32345 remote_addr = [fd00:1122:3344:101::b]:59379
772024-01-28T05:20:37.863ZINFOcrucible-agent (dropshot): request completed latency_us = 84 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:59379 req_id = 6e9a4901-cbdb-45d8-a742-b68c75bd8c5f response_code = 200 uri = /crucible/0/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d
782024-01-28T05:20:37.864ZINFOcrucible-agent (datafile): path is "/data/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d"
792024-01-28T05:20:37.874ZINFOcrucible-agent (datafile): dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d
802024-01-28T05:20:37.884ZINFOcrucible-agent (datafile): region 6dfc8c18-9575-4529-90fb-0dfd3ff5f52d state: Created -> Tombstoned
812024-01-28T05:20:37.884ZINFOcrucible-agent (worker): applying SMF actions before removal...
822024-01-28T05:20:37.884ZINFOcrucible-agent (dropshot): request completed latency_us = 20722 local_addr = [fd00:1122:3344:101::19]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::b]:59379 req_id = 79315bdc-4fd7-4b2f-8fc8-b64edd2dfbb0 response_code = 204 uri = /crucible/0/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d
832024-01-28T05:20:37.885ZINFOcrucible-agent (dropshot): request completed latency_us = 23 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:59379 req_id = 90b9c45f-6d61-41ed-8a51-6793366faaba response_code = 200 uri = /crucible/0/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d
842024-01-28T05:20:37.885ZINFOcrucible-agent (worker): disabling downstairs instance: downstairs-6dfc8c18-9575-4529-90fb-0dfd3ff5f52d (instance states: (Some(Online), None))
852024-01-28T05:20:37.889ZINFOcrucible-agent (worker): SMF ok!
862024-01-28T05:20:37.900ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d" region = 6dfc8c18-9575-4529-90fb-0dfd3ff5f52d
872024-01-28T05:20:37.948ZINFOcrucible-agent (dropshot): request completed latency_us = 115 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:59379 req_id = f6f80ca0-09f6-4432-b18c-d972164a5ce6 response_code = 200 uri = /crucible/0/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d
882024-01-28T05:20:37.954ZINFOcrucible-agent (datafile): region 6dfc8c18-9575-4529-90fb-0dfd3ff5f52d state: Tombstoned -> Destroyed
892024-01-28T05:20:38.123ZINFOcrucible-agent (dropshot): request completed latency_us = 50 local_addr = [fd00:1122:3344:101::19]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:59379 req_id = 4d0b34c5-8a27-40f6-be28-c9bd9a24607c response_code = 200 uri = /crucible/0/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d