Max level shown:
1 [ Dec 6 01:45:29 Enabled. ]
2 [ Dec 6 01:45:29 Rereading configuration. ]
3 [ Dec 6 01:45:30 Rereading configuration. ]
4 [ Dec 6 01:45:31 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::1a
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::1a 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::1a]:32345' -P 19000 -p downstairs -s snapshot
50 note: configured to log to "/dev/stdout"
512023-12-06T01:45:31.947ZINFOcrucible-agent: dataset: "oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
522023-12-06T01:45:31.951ZINFOcrucible-agent: listen IP: [fd00:1122:3344:101::1a]:32345
532023-12-06T01:45:31.951ZINFOcrucible-agent: SMF instance name downstairs_prefix: "downstairs"
542023-12-06T01:45:32.291ZINFOcrucible-agent (dropshot): listening local_addr = [fd00:1122:3344:101::1a]:32345
552023-12-06T01:46:40.378ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::1a]:32345 remote_addr = [fd00:1122:3344:101::a]:34942
562023-12-06T01:46:40.460ZINFOcrucible-agent (datafile): region 55033cef-a64d-4be5-b5f9-ab799ab5a4af state: Requested
572023-12-06T01:46:40.462ZINFOcrucible-agent (dropshot): request completed latency_us = 18543 local_addr = [fd00:1122:3344:101::1a]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:34942 req_id = b807190f-9552-4b58-b649-0700e87c02a0 response_code = 200 uri = /crucible/0/regions
582023-12-06T01:46:40.462ZINFOcrucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
592023-12-06T01:46:40.475ZINFOcrucible-agent (worker): zfs set reservation of 2684354560 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af
602023-12-06T01:46:40.475ZINFOcrucible-agent (worker): zfs set quota of 6442450944 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af
612023-12-06T01:46:40.538ZINFOcrucible-agent (worker): creating region Region { id: RegionId("55033cef-a64d-4be5-b5f9-ab799ab5a4af"), 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/55033cef-a64d-4be5-b5f9-ab799ab5a4af" region = 55033cef-a64d-4be5-b5f9-ab799ab5a4af
622023-12-06T01:46:40.656ZINFOcrucible-agent (dropshot): request completed latency_us = 90 local_addr = [fd00:1122:3344:101::1a]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:34942 req_id = aec74773-5733-4f20-ae67-ad6ab1f502c7 response_code = 200 uri = /crucible/0/regions
632023-12-06T01:46:40.804ZINFOcrucible-agent (worker): region files created ok region = 55033cef-a64d-4be5-b5f9-ab799ab5a4af
642023-12-06T01:46:40.804ZINFOcrucible-agent (datafile): region 55033cef-a64d-4be5-b5f9-ab799ab5a4af state: Requested -> Created
652023-12-06T01:46:40.804ZINFOcrucible-agent (worker): applying SMF actions post create...
662023-12-06T01:46:40.806ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-55033cef-a64d-4be5-b5f9-ab799ab5a4af
672023-12-06T01:46:40.811ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-55033cef-a64d-4be5-b5f9-ab799ab5a4af
682023-12-06T01:46:40.833ZINFOcrucible-agent (worker): creating config property group
692023-12-06T01:46:40.837ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-55033cef-a64d-4be5-b5f9-ab799ab5a4af
702023-12-06T01:46:40.843ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af
712023-12-06T01:46:40.845ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
722023-12-06T01:46:40.845ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a
732023-12-06T01:46:40.845ZINFOcrucible-agent (worker): commit
742023-12-06T01:46:40.849ZINFOcrucible-agent (worker): ok!
752023-12-06T01:46:40.855ZINFOcrucible-agent (worker): SMF ok!
762023-12-06T01:46:41.035ZINFOcrucible-agent (dropshot): request completed latency_us = 99 local_addr = [fd00:1122:3344:101::1a]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:34942 req_id = e73de1a6-d01a-4686-abce-11f327fc4f4f response_code = 200 uri = /crucible/0/regions
772023-12-06T01:49:36.981ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::1a]:32345 remote_addr = [fd00:1122:3344:101::a]:63245
782023-12-06T01:49:36.982ZINFOcrucible-agent (dropshot): request completed latency_us = 198 local_addr = [fd00:1122:3344:101::1a]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:63245 req_id = 85d6b48b-78c7-443a-81d1-954ef6226060 response_code = 200 uri = /crucible/0/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af
792023-12-06T01:49:36.982ZINFOcrucible-agent (datafile): path is "/data/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af"
802023-12-06T01:49:36.992ZINFOcrucible-agent (datafile): dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af
812023-12-06T01:49:37.001ZINFOcrucible-agent (datafile): region 55033cef-a64d-4be5-b5f9-ab799ab5a4af state: Created -> Tombstoned
822023-12-06T01:49:37.001ZINFOcrucible-agent (worker): applying SMF actions before removal...
832023-12-06T01:49:37.001ZINFOcrucible-agent (dropshot): request completed latency_us = 19679 local_addr = [fd00:1122:3344:101::1a]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::a]:63245 req_id = c5f9ee93-304b-48e1-be88-8544c7e739fc response_code = 204 uri = /crucible/0/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af
842023-12-06T01:49:37.001ZINFOcrucible-agent (dropshot): request completed latency_us = 26 local_addr = [fd00:1122:3344:101::1a]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:63245 req_id = e72528d9-1646-4116-9054-ac076adca0e3 response_code = 200 uri = /crucible/0/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af
852023-12-06T01:49:37.002ZINFOcrucible-agent (worker): disabling downstairs instance: downstairs-55033cef-a64d-4be5-b5f9-ab799ab5a4af (instance states: (Some(Online), None))
862023-12-06T01:49:37.009ZINFOcrucible-agent (worker): SMF ok!
872023-12-06T01:49:37.021ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af" region = 55033cef-a64d-4be5-b5f9-ab799ab5a4af
882023-12-06T01:49:37.073ZINFOcrucible-agent (datafile): region 55033cef-a64d-4be5-b5f9-ab799ab5a4af state: Tombstoned -> Destroyed
892023-12-06T01:49:37.104ZINFOcrucible-agent (dropshot): request completed latency_us = 76 local_addr = [fd00:1122:3344:101::1a]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:63245 req_id = 8d7e4d3f-a3a7-430e-85eb-aac1a42b72e5 response_code = 200 uri = /crucible/0/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af