1 | | [ Dec 30 06:22:41 Enabled. ] |
2 | | [ Dec 30 06:22:41 Rereading configuration. ] |
3 | | [ Dec 30 06:22:44 Rereading configuration. ] |
4 | | [ Dec 30 06:22:46 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=oxControlService11 |
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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible |
20 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
21 | | + LISTEN_ADDR=fd00:1122:3344:101::17 |
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 | | + [[ oxControlService11 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService11 |
33 | | ipadm: Could not delete oxControlService11: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService11 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService11 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService11 |
38 | | + ipadm show-addr oxControlService11/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService11/ll |
41 | | + ipadm show-addr oxControlService11/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService11/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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2023-12-30T06:22:47.488Z | INFO | crucible-agent: dataset: "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible"
|
52 | 2023-12-30T06:22:47.492Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::17]:32345
|
53 | 2023-12-30T06:22:47.492Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-12-30T06:22:47.614Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::17]:32345
|
55 | 2023-12-30T06:23:53.630Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::17]:32345
remote_addr = [fd00:1122:3344:101::b]:61445
|
56 | 2023-12-30T06:23:53.646Z | INFO | crucible-agent (datafile): region 03bf3a15-5107-4c4a-9c47-f5d9cc4e9754 state: Requested
|
57 | 2023-12-30T06:23:53.647Z | INFO | crucible-agent (dropshot): request completed
latency_us = 6478
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::b]:61445
req_id = ab7b70e2-d542-4897-bc9f-2429224beee8
response_code = 200
uri = /crucible/0/regions
|
58 | 2023-12-30T06:23:53.647Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
59 | 2023-12-30T06:23:53.660Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/03bf3a15-5107-4c4a-9c47-f5d9cc4e9754
|
60 | 2023-12-30T06:23:53.660Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/03bf3a15-5107-4c4a-9c47-f5d9cc4e9754
|
61 | 2023-12-30T06:23:53.704Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("03bf3a15-5107-4c4a-9c47-f5d9cc4e9754"), 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/03bf3a15-5107-4c4a-9c47-f5d9cc4e9754"
region = 03bf3a15-5107-4c4a-9c47-f5d9cc4e9754
|
62 | 2023-12-30T06:23:53.893Z | INFO | crucible-agent (worker): region files created ok
region = 03bf3a15-5107-4c4a-9c47-f5d9cc4e9754
|
63 | 2023-12-30T06:23:53.893Z | INFO | crucible-agent (datafile): region 03bf3a15-5107-4c4a-9c47-f5d9cc4e9754 state: Requested -> Created
|
64 | 2023-12-30T06:23:53.893Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
65 | 2023-12-30T06:23:53.897Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-03bf3a15-5107-4c4a-9c47-f5d9cc4e9754
|
66 | 2023-12-30T06:23:53.902Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-03bf3a15-5107-4c4a-9c47-f5d9cc4e9754
|
67 | 2023-12-30T06:23:53.915Z | INFO | crucible-agent (worker): creating config property group
|
68 | 2023-12-30T06:23:53.919Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-03bf3a15-5107-4c4a-9c47-f5d9cc4e9754
|
69 | 2023-12-30T06:23:53.919Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/03bf3a15-5107-4c4a-9c47-f5d9cc4e9754
|
70 | 2023-12-30T06:23:53.919Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
71 | 2023-12-30T06:23:53.919Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17
|
72 | 2023-12-30T06:23:53.919Z | INFO | crucible-agent (worker): commit
|
73 | 2023-12-30T06:23:53.924Z | INFO | crucible-agent (worker): ok!
|
74 | 2023-12-30T06:23:53.929Z | INFO | crucible-agent (worker): SMF ok!
|
75 | 2023-12-30T06:23:53.974Z | INFO | crucible-agent (dropshot): request completed
latency_us = 77
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::b]:61445
req_id = 9e2e3ee5-7205-48a5-a8fa-2cdfb6b05a33
response_code = 200
uri = /crucible/0/regions
|
76 | 2023-12-30T06:23:54.770Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::17]:32345
remote_addr = [fd00:1122:3344:101::b]:45333
|
77 | 2023-12-30T06:23:54.771Z | INFO | crucible-agent (dropshot): request completed
latency_us = 1735
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:45333
req_id = f6a1a0b8-e72d-4bdb-81bc-e36f0013a488
response_code = 200
uri = /crucible/0/regions/03bf3a15-5107-4c4a-9c47-f5d9cc4e9754
|
78 | 2023-12-30T06:23:54.773Z | INFO | crucible-agent (datafile): path is "/data/regions/03bf3a15-5107-4c4a-9c47-f5d9cc4e9754"
|
79 | 2023-12-30T06:23:54.783Z | INFO | crucible-agent (datafile): dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/03bf3a15-5107-4c4a-9c47-f5d9cc4e9754
|
80 | 2023-12-30T06:23:54.792Z | INFO | crucible-agent (datafile): region 03bf3a15-5107-4c4a-9c47-f5d9cc4e9754 state: Created -> Tombstoned
|
81 | 2023-12-30T06:23:54.792Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
82 | 2023-12-30T06:23:54.792Z | INFO | crucible-agent (dropshot): request completed
latency_us = 20466
local_addr = [fd00:1122:3344:101::17]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::b]:45333
req_id = 4ca01d24-1605-42b6-8741-ec9b3731fc44
response_code = 204
uri = /crucible/0/regions/03bf3a15-5107-4c4a-9c47-f5d9cc4e9754
|
83 | 2023-12-30T06:23:54.792Z | INFO | crucible-agent (dropshot): request completed
latency_us = 26
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:45333
req_id = eec7b2be-33fe-4f49-8dd2-2d157bfc78fe
response_code = 200
uri = /crucible/0/regions/03bf3a15-5107-4c4a-9c47-f5d9cc4e9754
|
84 | 2023-12-30T06:23:54.793Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-03bf3a15-5107-4c4a-9c47-f5d9cc4e9754 (instance states: (Some(Online), None))
|
85 | 2023-12-30T06:23:54.797Z | INFO | crucible-agent (worker): SMF ok!
|
86 | 2023-12-30T06:23:54.807Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/03bf3a15-5107-4c4a-9c47-f5d9cc4e9754"
region = 03bf3a15-5107-4c4a-9c47-f5d9cc4e9754
|
87 | 2023-12-30T06:23:54.854Z | INFO | crucible-agent (datafile): region 03bf3a15-5107-4c4a-9c47-f5d9cc4e9754 state: Tombstoned -> Destroyed
|
88 | 2023-12-30T06:23:54.892Z | INFO | crucible-agent (dropshot): request completed
latency_us = 47
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:45333
req_id = f9f86ea6-05b8-4ed5-a77b-86b8aa4d9c73
response_code = 200
uri = /crucible/0/regions/03bf3a15-5107-4c4a-9c47-f5d9cc4e9754
|
89 | 2023-12-30T06:29:55.078Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::17]:32345
remote_addr = [fd00:1122:3344:101::a]:50959
|
90 | 2023-12-30T06:29:55.079Z | INFO | crucible-agent (datafile): region 208261b8-0f10-41c4-a4e6-152e5c0af30c state: Requested
|
91 | 2023-12-30T06:29:55.083Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
92 | 2023-12-30T06:29:55.083Z | INFO | crucible-agent (dropshot): request completed
latency_us = 4836
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:50959
req_id = 1ea00f00-b20e-4300-b1db-3fd1b4e64daf
response_code = 200
uri = /crucible/0/regions
|
93 | 2023-12-30T06:29:55.093Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/208261b8-0f10-41c4-a4e6-152e5c0af30c
|
94 | 2023-12-30T06:29:55.093Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/208261b8-0f10-41c4-a4e6-152e5c0af30c
|
95 | 2023-12-30T06:29:55.155Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("208261b8-0f10-41c4-a4e6-152e5c0af30c"), 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/208261b8-0f10-41c4-a4e6-152e5c0af30c"
region = 208261b8-0f10-41c4-a4e6-152e5c0af30c
|
96 | 2023-12-30T06:29:55.400Z | INFO | crucible-agent (dropshot): request completed
latency_us = 87
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:50959
req_id = 144c3637-c750-4059-95a2-bb2f115816cb
response_code = 200
uri = /crucible/0/regions
|
97 | 2023-12-30T06:29:55.434Z | INFO | crucible-agent (worker): region files created ok
region = 208261b8-0f10-41c4-a4e6-152e5c0af30c
|
98 | 2023-12-30T06:29:55.434Z | INFO | crucible-agent (datafile): region 208261b8-0f10-41c4-a4e6-152e5c0af30c state: Requested -> Created
|
99 | 2023-12-30T06:29:55.434Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
100 | 2023-12-30T06:29:55.436Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-208261b8-0f10-41c4-a4e6-152e5c0af30c
|
101 | 2023-12-30T06:29:55.440Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-208261b8-0f10-41c4-a4e6-152e5c0af30c
|
102 | 2023-12-30T06:29:55.457Z | INFO | crucible-agent (worker): creating config property group
|
103 | 2023-12-30T06:29:55.460Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-208261b8-0f10-41c4-a4e6-152e5c0af30c
|
104 | 2023-12-30T06:29:55.460Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/208261b8-0f10-41c4-a4e6-152e5c0af30c
|
105 | 2023-12-30T06:29:55.460Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
106 | 2023-12-30T06:29:55.461Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17
|
107 | 2023-12-30T06:29:55.461Z | INFO | crucible-agent (worker): commit
|
108 | 2023-12-30T06:29:55.465Z | INFO | crucible-agent (worker): ok!
|
109 | 2023-12-30T06:29:55.469Z | INFO | crucible-agent (worker): SMF ok!
|
110 | 2023-12-30T06:29:55.734Z | INFO | crucible-agent (dropshot): request completed
latency_us = 672
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:50959
req_id = 86681488-b5fe-4111-93a2-251c8cb59a33
response_code = 200
uri = /crucible/0/regions
|