1 | | [ Oct 24 04:51:12 Enabled. ] |
2 | | [ Oct 24 04:51:12 Rereading configuration. ] |
3 | | [ Oct 24 04:51:16 Rereading configuration. ] |
4 | | [ Oct 24 04:51:22 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=oxControlService16 |
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::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 | | + [[ oxControlService16 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService16 |
33 | | ipadm: Could not delete oxControlService16: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService16 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService16 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService16 |
38 | | + ipadm show-addr oxControlService16/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService16/ll |
41 | | + ipadm show-addr oxControlService16/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService16/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::16]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2023-10-24T04:51:24.591Z | INFO | crucible-agent: dataset: "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible"
|
52 | 2023-10-24T04:51:24.595Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::16]:32345
|
53 | 2023-10-24T04:51:24.595Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-10-24T04:51:24.737Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::16]:32345
|
55 | 2023-10-24T04:52:22.736Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::16]:32345
remote_addr = [fd00:1122:3344:101::a]:44367
|
56 | 2023-10-24T04:52:22.799Z | INFO | crucible-agent (datafile): region b469ef74-4ed0-4352-802f-6c14d66e36dd state: Requested
|
57 | 2023-10-24T04:52:22.800Z | INFO | crucible-agent (dropshot): request completed
latency_us = 1861
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:44367
req_id = 631e0438-af32-4f87-a1fc-1bed50ee9144
response_code = 200
uri = /crucible/0/regions
|
58 | 2023-10-24T04:52:22.800Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
59 | 2023-10-24T04:52:22.811Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/b469ef74-4ed0-4352-802f-6c14d66e36dd
|
60 | 2023-10-24T04:52:22.811Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/b469ef74-4ed0-4352-802f-6c14d66e36dd
|
61 | 2023-10-24T04:52:22.862Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("b469ef74-4ed0-4352-802f-6c14d66e36dd"), 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/b469ef74-4ed0-4352-802f-6c14d66e36dd"
region = b469ef74-4ed0-4352-802f-6c14d66e36dd
|
62 | 2023-10-24T04:52:23.040Z | INFO | crucible-agent (worker): region files created ok
region = b469ef74-4ed0-4352-802f-6c14d66e36dd
|
63 | 2023-10-24T04:52:23.040Z | INFO | crucible-agent (datafile): region b469ef74-4ed0-4352-802f-6c14d66e36dd state: Requested -> Created
|
64 | 2023-10-24T04:52:23.040Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
65 | 2023-10-24T04:52:23.041Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-b469ef74-4ed0-4352-802f-6c14d66e36dd
|
66 | 2023-10-24T04:52:23.045Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-b469ef74-4ed0-4352-802f-6c14d66e36dd
|
67 | 2023-10-24T04:52:23.057Z | INFO | crucible-agent (worker): creating config property group
|
68 | 2023-10-24T04:52:23.061Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-b469ef74-4ed0-4352-802f-6c14d66e36dd
|
69 | 2023-10-24T04:52:23.062Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/b469ef74-4ed0-4352-802f-6c14d66e36dd
|
70 | 2023-10-24T04:52:23.062Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
71 | 2023-10-24T04:52:23.062Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16
|
72 | 2023-10-24T04:52:23.062Z | INFO | crucible-agent (worker): commit
|
73 | 2023-10-24T04:52:23.067Z | INFO | crucible-agent (worker): ok!
|
74 | 2023-10-24T04:52:23.077Z | INFO | crucible-agent (worker): SMF ok!
|
75 | 2023-10-24T04:52:23.143Z | INFO | crucible-agent (dropshot): request completed
latency_us = 76
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:44367
req_id = e5897463-a298-4143-a0f0-02142e9fd0e6
response_code = 200
uri = /crucible/0/regions
|
76 | 2023-10-24T04:52:23.483Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::16]:32345
remote_addr = [fd00:1122:3344:101::a]:46706
|
77 | 2023-10-24T04:52:23.515Z | INFO | crucible-agent (dropshot): request completed
latency_us = 82
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:46706
req_id = 88f254e6-9c5c-4ce2-af43-8c8a64449164
response_code = 200
uri = /crucible/0/regions/b469ef74-4ed0-4352-802f-6c14d66e36dd
|
78 | 2023-10-24T04:52:23.515Z | INFO | crucible-agent (datafile): path is "/data/regions/b469ef74-4ed0-4352-802f-6c14d66e36dd"
|
79 | 2023-10-24T04:52:23.527Z | INFO | crucible-agent (datafile): dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/b469ef74-4ed0-4352-802f-6c14d66e36dd
|
80 | 2023-10-24T04:52:23.537Z | INFO | crucible-agent (datafile): region b469ef74-4ed0-4352-802f-6c14d66e36dd state: Created -> Tombstoned
|
81 | 2023-10-24T04:52:23.537Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
82 | 2023-10-24T04:52:23.537Z | INFO | crucible-agent (dropshot): request completed
latency_us = 22081
local_addr = [fd00:1122:3344:101::16]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:46706
req_id = 0137e789-d6da-4d38-bade-50dd7612dd89
response_code = 204
uri = /crucible/0/regions/b469ef74-4ed0-4352-802f-6c14d66e36dd
|
83 | 2023-10-24T04:52:23.537Z | INFO | crucible-agent (dropshot): request completed
latency_us = 28
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:46706
req_id = ae34220a-62d0-4311-8a33-bd16a79a38c6
response_code = 200
uri = /crucible/0/regions/b469ef74-4ed0-4352-802f-6c14d66e36dd
|
84 | 2023-10-24T04:52:23.538Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-b469ef74-4ed0-4352-802f-6c14d66e36dd (instance states: (Some(Online), None))
|
85 | 2023-10-24T04:52:23.543Z | INFO | crucible-agent (worker): SMF ok!
|
86 | 2023-10-24T04:52:23.556Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/b469ef74-4ed0-4352-802f-6c14d66e36dd"
region = b469ef74-4ed0-4352-802f-6c14d66e36dd
|
87 | 2023-10-24T04:52:23.609Z | INFO | crucible-agent (datafile): region b469ef74-4ed0-4352-802f-6c14d66e36dd state: Tombstoned -> Destroyed
|
88 | 2023-10-24T04:52:23.642Z | INFO | crucible-agent (dropshot): request completed
latency_us = 69
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:46706
req_id = 5b4ec500-958a-4737-b779-c3af70c5e065
response_code = 200
uri = /crucible/0/regions/b469ef74-4ed0-4352-802f-6c14d66e36dd
|
89 | 2023-10-24T04:52:25.915Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::16]:32345
remote_addr = [fd00:1122:3344:101::a]:46876
|
90 | 2023-10-24T04:52:25.915Z | INFO | crucible-agent (datafile): region 133f7b2d-311a-4b08-a8cf-e820fa89bea2 state: Requested
|
91 | 2023-10-24T04:52:25.915Z | INFO | crucible-agent (dropshot): request completed
latency_us = 198
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:46876
req_id = a3062742-d435-4632-b789-a186002f41ac
response_code = 200
uri = /crucible/0/regions
|
92 | 2023-10-24T04:52:25.916Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
93 | 2023-10-24T04:52:25.925Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/133f7b2d-311a-4b08-a8cf-e820fa89bea2
|
94 | 2023-10-24T04:52:25.925Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/133f7b2d-311a-4b08-a8cf-e820fa89bea2
|
95 | 2023-10-24T04:52:25.986Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("133f7b2d-311a-4b08-a8cf-e820fa89bea2"), 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/133f7b2d-311a-4b08-a8cf-e820fa89bea2"
region = 133f7b2d-311a-4b08-a8cf-e820fa89bea2
|
96 | 2023-10-24T04:52:26.042Z | INFO | crucible-agent (worker): region files created ok
region = 133f7b2d-311a-4b08-a8cf-e820fa89bea2
|
97 | 2023-10-24T04:52:26.042Z | INFO | crucible-agent (datafile): region 133f7b2d-311a-4b08-a8cf-e820fa89bea2 state: Requested -> Created
|
98 | 2023-10-24T04:52:26.042Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
99 | 2023-10-24T04:52:26.043Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-133f7b2d-311a-4b08-a8cf-e820fa89bea2
|
100 | 2023-10-24T04:52:26.046Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-133f7b2d-311a-4b08-a8cf-e820fa89bea2
|
101 | 2023-10-24T04:52:26.053Z | INFO | crucible-agent (worker): creating config property group
|
102 | 2023-10-24T04:52:26.057Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-133f7b2d-311a-4b08-a8cf-e820fa89bea2
|
103 | 2023-10-24T04:52:26.057Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/133f7b2d-311a-4b08-a8cf-e820fa89bea2
|
104 | 2023-10-24T04:52:26.057Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
105 | 2023-10-24T04:52:26.057Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16
|
106 | 2023-10-24T04:52:26.057Z | INFO | crucible-agent (worker): commit
|
107 | 2023-10-24T04:52:26.060Z | INFO | crucible-agent (worker): ok!
|
108 | 2023-10-24T04:52:26.065Z | INFO | crucible-agent (worker): SMF ok!
|
109 | 2023-10-24T04:52:26.200Z | INFO | crucible-agent (dropshot): request completed
latency_us = 74
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:46876
req_id = 5bffb3df-8a54-4b75-98a3-50a5e6b6522f
response_code = 200
uri = /crucible/0/regions
|
110 | 2023-10-24T04:55:15.228Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::16]:32345
remote_addr = [fd00:1122:3344:101::a]:37654
|
111 | 2023-10-24T04:55:15.259Z | INFO | crucible-agent (dropshot): request completed
latency_us = 51
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:37654
req_id = e09cf8db-e476-4bcd-b539-53b8df078042
response_code = 200
uri = /crucible/0/regions/133f7b2d-311a-4b08-a8cf-e820fa89bea2
|
112 | 2023-10-24T04:55:15.259Z | INFO | crucible-agent (datafile): path is "/data/regions/133f7b2d-311a-4b08-a8cf-e820fa89bea2"
|
113 | 2023-10-24T04:55:15.272Z | INFO | crucible-agent (datafile): dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/133f7b2d-311a-4b08-a8cf-e820fa89bea2
|
114 | 2023-10-24T04:55:15.281Z | INFO | crucible-agent (datafile): region 133f7b2d-311a-4b08-a8cf-e820fa89bea2 state: Created -> Tombstoned
|
115 | 2023-10-24T04:55:15.281Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
116 | 2023-10-24T04:55:15.281Z | INFO | crucible-agent (dropshot): request completed
latency_us = 21872
local_addr = [fd00:1122:3344:101::16]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:37654
req_id = a166ee64-9715-478f-b796-c282672191d4
response_code = 204
uri = /crucible/0/regions/133f7b2d-311a-4b08-a8cf-e820fa89bea2
|
117 | 2023-10-24T04:55:15.281Z | INFO | crucible-agent (dropshot): request completed
latency_us = 23
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:37654
req_id = 0d2a1a98-da2c-436d-81a9-381a10e7d726
response_code = 200
uri = /crucible/0/regions/133f7b2d-311a-4b08-a8cf-e820fa89bea2
|
118 | 2023-10-24T04:55:15.283Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-133f7b2d-311a-4b08-a8cf-e820fa89bea2 (instance states: (Some(Online), None))
|
119 | 2023-10-24T04:55:15.292Z | INFO | crucible-agent (worker): SMF ok!
|
120 | 2023-10-24T04:55:15.305Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/133f7b2d-311a-4b08-a8cf-e820fa89bea2"
region = 133f7b2d-311a-4b08-a8cf-e820fa89bea2
|
121 | 2023-10-24T04:55:15.346Z | INFO | crucible-agent (dropshot): request completed
latency_us = 77
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:37654
req_id = 278719eb-d33d-46b0-a484-a5231910c268
response_code = 200
uri = /crucible/0/regions/133f7b2d-311a-4b08-a8cf-e820fa89bea2
|
122 | 2023-10-24T04:55:15.367Z | INFO | crucible-agent (datafile): region 133f7b2d-311a-4b08-a8cf-e820fa89bea2 state: Tombstoned -> Destroyed
|
123 | 2023-10-24T04:55:15.459Z | INFO | crucible-agent (dropshot): request completed
latency_us = 25
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:37654
req_id = 4be13c20-9e8e-410a-9133-ca5da48183b0
response_code = 200
uri = /crucible/0/regions/133f7b2d-311a-4b08-a8cf-e820fa89bea2
|