Max level shown:
1 [ Nov 30 05:05:37 Enabled. ]
2 [ Nov 30 05:05:37 Rereading configuration. ]
3 [ Nov 30 05:05:39 Rereading configuration. ]
4 [ Nov 30 05:05:41 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=oxControlService21
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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible
20 ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default
21 + LISTEN_ADDR=fd00:1122:3344:101::16
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 + [[ oxControlService21 == unknown ]]
31 + [[ fd00:1122:3344:101::1 == unknown ]]
32 + ipadm delete-if oxControlService21
33 ipadm: Could not delete oxControlService21: Interface does not exist
34 + true
35 + ipadm create-if -t oxControlService21
36 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService21
37 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService21
38 + ipadm show-addr oxControlService21/ll
39 ipadm: Address object not found
40 + ipadm create-addr -t -T addrconf oxControlService21/ll
41 + ipadm show-addr oxControlService21/omicron6
42 ipadm: Address object not found
43 + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService21/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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot
50 note: configured to log to "/dev/stdout"
512023-11-30T05:05:42.243ZINFOcrucible-agent: dataset: "oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible"
522023-11-30T05:05:42.244ZINFOcrucible-agent: listen IP: [fd00:1122:3344:101::16]:32345
532023-11-30T05:05:42.244ZINFOcrucible-agent: SMF instance name downstairs_prefix: "downstairs"
542023-11-30T05:05:42.358ZINFOcrucible-agent (dropshot): listening local_addr = [fd00:1122:3344:101::16]:32345
552023-11-30T05:06:33.993ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::16]:32345 remote_addr = [fd00:1122:3344:101::a]:39512
562023-11-30T05:06:34.023ZINFOcrucible-agent (datafile): region 72667f94-4ec9-4760-8d86-1cd928a4b58e state: Requested
572023-11-30T05:06:34.023ZINFOcrucible-agent (dropshot): request completed latency_us = 12063 local_addr = [fd00:1122:3344:101::16]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:39512 req_id = 117fd72b-876c-40f3-8b75-3b85554b5235 response_code = 200 uri = /crucible/0/regions
582023-11-30T05:06:34.023ZINFOcrucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
592023-11-30T05:06:34.036ZINFOcrucible-agent (worker): zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e
602023-11-30T05:06:34.036ZINFOcrucible-agent (worker): zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e
612023-11-30T05:06:34.090ZINFOcrucible-agent (worker): creating region Region { id: RegionId("72667f94-4ec9-4760-8d86-1cd928a4b58e"), 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/72667f94-4ec9-4760-8d86-1cd928a4b58e" region = 72667f94-4ec9-4760-8d86-1cd928a4b58e
622023-11-30T05:06:34.256ZINFOcrucible-agent (dropshot): request completed latency_us = 837 local_addr = [fd00:1122:3344:101::16]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:39512 req_id = d28e1d44-d08c-4349-949a-31698b49e084 response_code = 200 uri = /crucible/0/regions
632023-11-30T05:06:34.274ZINFOcrucible-agent (worker): region files created ok region = 72667f94-4ec9-4760-8d86-1cd928a4b58e
642023-11-30T05:06:34.274ZINFOcrucible-agent (datafile): region 72667f94-4ec9-4760-8d86-1cd928a4b58e state: Requested -> Created
652023-11-30T05:06:34.274ZINFOcrucible-agent (worker): applying SMF actions post create...
662023-11-30T05:06:34.276ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-72667f94-4ec9-4760-8d86-1cd928a4b58e
672023-11-30T05:06:34.279ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-72667f94-4ec9-4760-8d86-1cd928a4b58e
682023-11-30T05:06:34.292ZINFOcrucible-agent (worker): creating config property group
692023-11-30T05:06:34.295ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-72667f94-4ec9-4760-8d86-1cd928a4b58e
702023-11-30T05:06:34.302ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e
712023-11-30T05:06:34.304ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
722023-11-30T05:06:34.304ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16
732023-11-30T05:06:34.305ZINFOcrucible-agent (worker): commit
742023-11-30T05:06:34.309ZINFOcrucible-agent (worker): ok!
752023-11-30T05:06:34.315ZINFOcrucible-agent (worker): SMF ok!
762023-11-30T05:06:34.919ZINFOcrucible-agent (dropshot): request completed latency_us = 71 local_addr = [fd00:1122:3344:101::16]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:39512 req_id = 8fef26fe-3a22-4272-a4ba-96c246f3632d response_code = 200 uri = /crucible/0/regions
772023-11-30T05:06:35.569ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::16]:32345 remote_addr = [fd00:1122:3344:101::a]:52537
782023-11-30T05:06:35.571ZINFOcrucible-agent (dropshot): request completed latency_us = 2134 local_addr = [fd00:1122:3344:101::16]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:52537 req_id = c5dfb25d-6fc6-4b08-aa9f-5345eaf8fc5e response_code = 200 uri = /crucible/0/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e
792023-11-30T05:06:35.572ZINFOcrucible-agent (datafile): path is "/data/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e"
802023-11-30T05:06:35.581ZINFOcrucible-agent (datafile): dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e
812023-11-30T05:06:35.589ZINFOcrucible-agent (datafile): region 72667f94-4ec9-4760-8d86-1cd928a4b58e state: Created -> Tombstoned
822023-11-30T05:06:35.589ZINFOcrucible-agent (worker): applying SMF actions before removal...
832023-11-30T05:06:35.589ZINFOcrucible-agent (dropshot): request completed latency_us = 17309 local_addr = [fd00:1122:3344:101::16]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::a]:52537 req_id = 31e35a7c-0aec-4df1-b76f-787f5db2fd71 response_code = 204 uri = /crucible/0/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e
842023-11-30T05:06:35.589ZINFOcrucible-agent (dropshot): request completed latency_us = 30 local_addr = [fd00:1122:3344:101::16]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:52537 req_id = 1eec42cf-8f18-4423-abf8-a4524f6b0dcb response_code = 200 uri = /crucible/0/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e
852023-11-30T05:06:35.590ZINFOcrucible-agent (worker): disabling downstairs instance: downstairs-72667f94-4ec9-4760-8d86-1cd928a4b58e (instance states: (Some(Online), None))
862023-11-30T05:06:35.595ZINFOcrucible-agent (worker): SMF ok!
872023-11-30T05:06:35.604ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e" region = 72667f94-4ec9-4760-8d86-1cd928a4b58e
882023-11-30T05:06:35.653ZINFOcrucible-agent (datafile): region 72667f94-4ec9-4760-8d86-1cd928a4b58e state: Tombstoned -> Destroyed
892023-11-30T05:06:35.663ZINFOcrucible-agent (dropshot): request completed latency_us = 64 local_addr = [fd00:1122:3344:101::16]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:52537 req_id = 09004ad4-3143-4375-898d-641375df00a9 response_code = 200 uri = /crucible/0/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e