1 | | [ Feb 3 11:25:40 Enabled. ] |
2 | | [ Feb 3 11:25:40 Rereading configuration. ] |
3 | | [ Feb 3 11:25:41 Rereading configuration. ] |
4 | | [ Feb 3 11:25:43 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/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 | | + [[ 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::18 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2024-02-03T11:25:43.897Z | INFO | crucible-agent: dataset: "oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible"
|
52 | 2024-02-03T11:25:43.902Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::18]:32345
|
53 | 2024-02-03T11:25:43.902Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2024-02-03T11:25:44.059Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::18]:32345
|
55 | 2024-02-03T11:26:21.374Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::18]:32345
remote_addr = [fd00:1122:3344:101::a]:54453
|
56 | 2024-02-03T11:26:21.423Z | INFO | crucible-agent (datafile): region 56499f5c-3ea3-4244-bcbb-b85cac37645d state: Requested
|
57 | 2024-02-03T11:26:21.426Z | INFO | crucible-agent (dropshot): request completed
latency_us = 13288
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:54453
req_id = 6b67f08e-71bd-489d-88a7-bc33c281378e
response_code = 200
uri = /crucible/0/regions
|
58 | 2024-02-03T11:26:21.427Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
59 | 2024-02-03T11:26:21.437Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/56499f5c-3ea3-4244-bcbb-b85cac37645d
|
60 | 2024-02-03T11:26:21.437Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/56499f5c-3ea3-4244-bcbb-b85cac37645d
|
61 | 2024-02-03T11:26:21.509Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("56499f5c-3ea3-4244-bcbb-b85cac37645d"), 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/56499f5c-3ea3-4244-bcbb-b85cac37645d"
region = 56499f5c-3ea3-4244-bcbb-b85cac37645d
|
62 | 2024-02-03T11:26:21.624Z | INFO | crucible-agent (dropshot): request completed
latency_us = 79
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:54453
req_id = dedc0b56-6576-4c9d-bdff-3d0ff7a25fc9
response_code = 200
uri = /crucible/0/regions
|
63 | 2024-02-03T11:26:21.667Z | INFO | crucible-agent (worker): region files created ok
region = 56499f5c-3ea3-4244-bcbb-b85cac37645d
|
64 | 2024-02-03T11:26:21.667Z | INFO | crucible-agent (datafile): region 56499f5c-3ea3-4244-bcbb-b85cac37645d state: Requested -> Created
|
65 | 2024-02-03T11:26:21.667Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2024-02-03T11:26:21.668Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-56499f5c-3ea3-4244-bcbb-b85cac37645d
|
67 | 2024-02-03T11:26:21.673Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-56499f5c-3ea3-4244-bcbb-b85cac37645d
|
68 | 2024-02-03T11:26:21.686Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2024-02-03T11:26:21.689Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-56499f5c-3ea3-4244-bcbb-b85cac37645d
|
70 | 2024-02-03T11:26:21.690Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/56499f5c-3ea3-4244-bcbb-b85cac37645d
|
71 | 2024-02-03T11:26:21.692Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2024-02-03T11:26:21.693Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18
|
73 | 2024-02-03T11:26:21.693Z | INFO | crucible-agent (worker): commit
|
74 | 2024-02-03T11:26:21.702Z | INFO | crucible-agent (worker): ok!
|
75 | 2024-02-03T11:26:21.708Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2024-02-03T11:26:21.992Z | INFO | crucible-agent (dropshot): request completed
latency_us = 105
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:54453
req_id = a87cd936-dc92-4240-a6ee-c1cd39539a2a
response_code = 200
uri = /crucible/0/regions
|
77 | 2024-02-03T11:26:22.479Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::18]:32345
remote_addr = [fd00:1122:3344:101::a]:58140
|
78 | 2024-02-03T11:26:22.479Z | INFO | crucible-agent (dropshot): request completed
latency_us = 73
local_addr = [fd00:1122:3344:101::18]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:58140
req_id = e429473c-c4d2-41b0-a7c3-c8a1741ba5de
response_code = 200
uri = /crucible/0/regions/56499f5c-3ea3-4244-bcbb-b85cac37645d
|
79 | 2024-02-03T11:26:22.479Z | INFO | crucible-agent (datafile): path is "/data/regions/56499f5c-3ea3-4244-bcbb-b85cac37645d"
|
80 | 2024-02-03T11:26:22.489Z | INFO | crucible-agent (datafile): dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/56499f5c-3ea3-4244-bcbb-b85cac37645d
|
81 | 2024-02-03T11:26:22.498Z | INFO | crucible-agent (datafile): region 56499f5c-3ea3-4244-bcbb-b85cac37645d state: Created -> Tombstoned
|
82 | 2024-02-03T11:26:22.498Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
83 | 2024-02-03T11:26:22.498Z | INFO | crucible-agent (dropshot): request completed
latency_us = 18735
local_addr = [fd00:1122:3344:101::18]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:58140
req_id = 305bf627-794a-497a-aa8b-9d5a28c98dad
response_code = 204
uri = /crucible/0/regions/56499f5c-3ea3-4244-bcbb-b85cac37645d
|
84 | 2024-02-03T11:26:22.498Z | INFO | crucible-agent (dropshot): request completed
latency_us = 24
local_addr = [fd00:1122:3344:101::18]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:58140
req_id = 1c5190f5-90cd-4501-a0ce-c6f618fa40f4
response_code = 200
uri = /crucible/0/regions/56499f5c-3ea3-4244-bcbb-b85cac37645d
|
85 | 2024-02-03T11:26:22.499Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-56499f5c-3ea3-4244-bcbb-b85cac37645d (instance states: (Some(Online), None))
|
86 | 2024-02-03T11:26:22.503Z | INFO | crucible-agent (worker): SMF ok!
|
87 | 2024-02-03T11:26:22.512Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/56499f5c-3ea3-4244-bcbb-b85cac37645d"
region = 56499f5c-3ea3-4244-bcbb-b85cac37645d
|
88 | 2024-02-03T11:26:22.581Z | INFO | crucible-agent (datafile): region 56499f5c-3ea3-4244-bcbb-b85cac37645d state: Tombstoned -> Destroyed
|
89 | 2024-02-03T11:26:22.590Z | INFO | crucible-agent (dropshot): request completed
latency_us = 80
local_addr = [fd00:1122:3344:101::18]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:58140
req_id = 71331f64-41ee-4f66-800e-47d2573df5c6
response_code = 200
uri = /crucible/0/regions/56499f5c-3ea3-4244-bcbb-b85cac37645d
|
90 | 2024-02-03T11:26:23.970Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::18]:32345
remote_addr = [fd00:1122:3344:101::a]:55415
|
91 | 2024-02-03T11:26:23.971Z | INFO | crucible-agent (datafile): region 17f23b37-195b-4296-9bea-157f89858d6a state: Requested
|
92 | 2024-02-03T11:26:23.973Z | INFO | crucible-agent (dropshot): request completed
latency_us = 2344
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:55415
req_id = 9c30f2aa-182b-49a2-aac1-15cc6dff3491
response_code = 200
uri = /crucible/0/regions
|
93 | 2024-02-03T11:26:23.973Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
94 | 2024-02-03T11:26:23.983Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/17f23b37-195b-4296-9bea-157f89858d6a
|
95 | 2024-02-03T11:26:23.983Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/17f23b37-195b-4296-9bea-157f89858d6a
|
96 | 2024-02-03T11:26:24.056Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("17f23b37-195b-4296-9bea-157f89858d6a"), 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/17f23b37-195b-4296-9bea-157f89858d6a"
region = 17f23b37-195b-4296-9bea-157f89858d6a
|
97 | 2024-02-03T11:26:24.133Z | INFO | crucible-agent (worker): region files created ok
region = 17f23b37-195b-4296-9bea-157f89858d6a
|
98 | 2024-02-03T11:26:24.133Z | INFO | crucible-agent (datafile): region 17f23b37-195b-4296-9bea-157f89858d6a state: Requested -> Created
|
99 | 2024-02-03T11:26:24.133Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
100 | 2024-02-03T11:26:24.135Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-17f23b37-195b-4296-9bea-157f89858d6a
|
101 | 2024-02-03T11:26:24.138Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-17f23b37-195b-4296-9bea-157f89858d6a
|
102 | 2024-02-03T11:26:24.148Z | INFO | crucible-agent (worker): creating config property group
|
103 | 2024-02-03T11:26:24.152Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-17f23b37-195b-4296-9bea-157f89858d6a
|
104 | 2024-02-03T11:26:24.153Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/17f23b37-195b-4296-9bea-157f89858d6a
|
105 | 2024-02-03T11:26:24.153Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
106 | 2024-02-03T11:26:24.153Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18
|
107 | 2024-02-03T11:26:24.153Z | INFO | crucible-agent (worker): commit
|
108 | 2024-02-03T11:26:24.157Z | INFO | crucible-agent (worker): ok!
|
109 | 2024-02-03T11:26:24.162Z | INFO | crucible-agent (worker): SMF ok!
|
110 | 2024-02-03T11:26:24.295Z | INFO | crucible-agent (dropshot): request completed
latency_us = 63
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:55415
req_id = 75edcd6a-33d8-448a-8670-1d7439a2fa86
response_code = 200
uri = /crucible/0/regions
|