1 | | [ Feb 1 23:04:40 Enabled. ] |
2 | | [ Feb 1 23:04:40 Rereading configuration. ] |
3 | | [ Feb 1 23:04:41 Rereading configuration. ] |
4 | | [ Feb 1 23:04:44 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=oxControlService14 |
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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible |
20 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
21 | | + LISTEN_ADDR=fd00:1122:3344:101::12 |
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 | | + [[ oxControlService14 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService14 |
33 | | ipadm: Could not delete oxControlService14: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService14 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService14 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService14 |
38 | | + ipadm show-addr oxControlService14/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService14/ll |
41 | | + ipadm show-addr oxControlService14/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::12 oxControlService14/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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::12]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2024-02-01T23:04:45.817Z | INFO | crucible-agent: dataset: "oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
|
52 | 2024-02-01T23:04:45.824Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::12]:32345
|
53 | 2024-02-01T23:04:45.824Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2024-02-01T23:04:46.220Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::12]:32345
|
55 | 2024-02-01T23:11:45.583Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::a]:64444
|
56 | 2024-02-01T23:11:45.662Z | INFO | crucible-agent (datafile): region ac20cb35-1e4a-4bca-a17b-ffcd92e6b193 state: Requested
|
57 | 2024-02-01T23:11:45.665Z | INFO | crucible-agent (dropshot): request completed
latency_us = 11008
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:64444
req_id = 54c889c3-db57-496c-98ff-b44af52ee0d4
response_code = 200
uri = /crucible/0/regions
|
58 | 2024-02-01T23:11:45.670Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
59 | 2024-02-01T23:11:45.679Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ac20cb35-1e4a-4bca-a17b-ffcd92e6b193
|
60 | 2024-02-01T23:11:45.679Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ac20cb35-1e4a-4bca-a17b-ffcd92e6b193
|
61 | 2024-02-01T23:11:45.752Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("ac20cb35-1e4a-4bca-a17b-ffcd92e6b193"), 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/ac20cb35-1e4a-4bca-a17b-ffcd92e6b193"
region = ac20cb35-1e4a-4bca-a17b-ffcd92e6b193
|
62 | 2024-02-01T23:11:46.037Z | INFO | crucible-agent (dropshot): request completed
latency_us = 115
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:64444
req_id = b3816029-ba2d-43b1-bcdc-95c26a74022b
response_code = 200
uri = /crucible/0/regions
|
63 | 2024-02-01T23:11:46.122Z | INFO | crucible-agent (worker): region files created ok
region = ac20cb35-1e4a-4bca-a17b-ffcd92e6b193
|
64 | 2024-02-01T23:11:46.122Z | INFO | crucible-agent (datafile): region ac20cb35-1e4a-4bca-a17b-ffcd92e6b193 state: Requested -> Created
|
65 | 2024-02-01T23:11:46.122Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2024-02-01T23:11:46.123Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-ac20cb35-1e4a-4bca-a17b-ffcd92e6b193
|
67 | 2024-02-01T23:11:46.129Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-ac20cb35-1e4a-4bca-a17b-ffcd92e6b193
|
68 | 2024-02-01T23:11:46.144Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2024-02-01T23:11:46.148Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-ac20cb35-1e4a-4bca-a17b-ffcd92e6b193
|
70 | 2024-02-01T23:11:46.149Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/ac20cb35-1e4a-4bca-a17b-ffcd92e6b193
|
71 | 2024-02-01T23:11:46.151Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2024-02-01T23:11:46.152Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
|
73 | 2024-02-01T23:11:46.152Z | INFO | crucible-agent (worker): commit
|
74 | 2024-02-01T23:11:46.163Z | INFO | crucible-agent (worker): ok!
|
75 | 2024-02-01T23:11:46.168Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2024-02-01T23:11:46.522Z | INFO | crucible-agent (dropshot): request completed
latency_us = 72
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:64444
req_id = 05f76581-7ae7-4473-a33a-ff68bd48e4f6
response_code = 200
uri = /crucible/0/regions
|
77 | 2024-02-01T23:11:49.726Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::a]:39140
|
78 | 2024-02-01T23:11:49.727Z | INFO | crucible-agent (datafile): region f95b8766-f192-49cd-87b0-65601044e1c8 state: Requested
|
79 | 2024-02-01T23:11:49.729Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
80 | 2024-02-01T23:11:49.729Z | INFO | crucible-agent (dropshot): request completed
latency_us = 3450
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:39140
req_id = 1dfd9b01-f88c-4ba5-b8fc-4e0d91570796
response_code = 200
uri = /crucible/0/regions
|
81 | 2024-02-01T23:11:49.738Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f95b8766-f192-49cd-87b0-65601044e1c8
|
82 | 2024-02-01T23:11:49.738Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f95b8766-f192-49cd-87b0-65601044e1c8
|
83 | 2024-02-01T23:11:49.806Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("f95b8766-f192-49cd-87b0-65601044e1c8"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19001, cert_pem: None, key_pem: None, root_pem: None } at "/data/regions/f95b8766-f192-49cd-87b0-65601044e1c8"
region = f95b8766-f192-49cd-87b0-65601044e1c8
|
84 | 2024-02-01T23:11:49.908Z | INFO | crucible-agent (worker): region files created ok
region = f95b8766-f192-49cd-87b0-65601044e1c8
|
85 | 2024-02-01T23:11:49.909Z | INFO | crucible-agent (datafile): region f95b8766-f192-49cd-87b0-65601044e1c8 state: Requested -> Created
|
86 | 2024-02-01T23:11:49.909Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
87 | 2024-02-01T23:11:49.910Z | INFO | crucible-agent (worker): existing directory value /dev/null does not match /data/regions/ac20cb35-1e4a-4bca-a17b-ffcd92e6b193
|
88 | 2024-02-01T23:11:49.910Z | INFO | crucible-agent (worker): existing port value 0 does not match 19000
|
89 | 2024-02-01T23:11:49.910Z | INFO | crucible-agent (worker): existing address value 0.0.0.0 does not match fd00:1122:3344:101::12
|
90 | 2024-02-01T23:11:49.910Z | INFO | crucible-agent (worker): reconfig required
|
91 | 2024-02-01T23:11:49.910Z | INFO | crucible-agent (worker): using existing config property group
|
92 | 2024-02-01T23:11:49.910Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-ac20cb35-1e4a-4bca-a17b-ffcd92e6b193
|
93 | 2024-02-01T23:11:49.910Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/ac20cb35-1e4a-4bca-a17b-ffcd92e6b193
|
94 | 2024-02-01T23:11:49.910Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
95 | 2024-02-01T23:11:49.910Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
|
96 | 2024-02-01T23:11:49.910Z | INFO | crucible-agent (worker): commit
|
97 | 2024-02-01T23:11:49.914Z | INFO | crucible-agent (worker): ok!
|
98 | 2024-02-01T23:11:49.914Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-f95b8766-f192-49cd-87b0-65601044e1c8
|
99 | 2024-02-01T23:11:49.918Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-f95b8766-f192-49cd-87b0-65601044e1c8
|
100 | 2024-02-01T23:11:49.926Z | INFO | crucible-agent (worker): creating config property group
|
101 | 2024-02-01T23:11:49.930Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-f95b8766-f192-49cd-87b0-65601044e1c8
|
102 | 2024-02-01T23:11:49.930Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/f95b8766-f192-49cd-87b0-65601044e1c8
|
103 | 2024-02-01T23:11:49.931Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
|
104 | 2024-02-01T23:11:49.931Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
|
105 | 2024-02-01T23:11:49.931Z | INFO | crucible-agent (worker): commit
|
106 | 2024-02-01T23:11:49.935Z | INFO | crucible-agent (worker): ok!
|
107 | 2024-02-01T23:11:49.941Z | INFO | crucible-agent (worker): SMF ok!
|
108 | 2024-02-01T23:11:50.004Z | INFO | crucible-agent (dropshot): request completed
latency_us = 76
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:39140
req_id = ac78a91c-07cd-417a-b74b-be7647d8d60f
response_code = 200
uri = /crucible/0/regions
|
109 | 2024-02-01T23:12:20.415Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::a]:60771
|
110 | 2024-02-01T23:12:20.416Z | INFO | crucible-agent (dropshot): request completed
latency_us = 929
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:60771
req_id = a32f81a4-08f8-456d-adeb-7b9dd3cc7bb4
response_code = 200
uri = /crucible/0/regions/f95b8766-f192-49cd-87b0-65601044e1c8
|
111 | 2024-02-01T23:12:20.416Z | INFO | crucible-agent (datafile): path is "/data/regions/f95b8766-f192-49cd-87b0-65601044e1c8"
|
112 | 2024-02-01T23:12:20.427Z | INFO | crucible-agent (datafile): dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f95b8766-f192-49cd-87b0-65601044e1c8
|
113 | 2024-02-01T23:12:20.436Z | INFO | crucible-agent (datafile): region f95b8766-f192-49cd-87b0-65601044e1c8 state: Created -> Tombstoned
|
114 | 2024-02-01T23:12:20.436Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
115 | 2024-02-01T23:12:20.436Z | INFO | crucible-agent (dropshot): request completed
latency_us = 19666
local_addr = [fd00:1122:3344:101::12]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:60771
req_id = 253cf771-29c6-4086-b698-235a3aedf6f1
response_code = 204
uri = /crucible/0/regions/f95b8766-f192-49cd-87b0-65601044e1c8
|
116 | 2024-02-01T23:12:20.436Z | INFO | crucible-agent (dropshot): request completed
latency_us = 21
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:60771
req_id = 49b52a9c-1f47-4e74-8ba5-b6c57771d1b7
response_code = 200
uri = /crucible/0/regions/f95b8766-f192-49cd-87b0-65601044e1c8
|
117 | 2024-02-01T23:12:20.437Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-f95b8766-f192-49cd-87b0-65601044e1c8 (instance states: (Some(Online), None))
|
118 | 2024-02-01T23:12:20.442Z | INFO | crucible-agent (worker): existing directory value /dev/null does not match /data/regions/ac20cb35-1e4a-4bca-a17b-ffcd92e6b193
|
119 | 2024-02-01T23:12:20.442Z | INFO | crucible-agent (worker): existing port value 0 does not match 19000
|
120 | 2024-02-01T23:12:20.442Z | INFO | crucible-agent (worker): existing address value 0.0.0.0 does not match fd00:1122:3344:101::12
|
121 | 2024-02-01T23:12:20.442Z | INFO | crucible-agent (worker): reconfig required
|
122 | 2024-02-01T23:12:20.442Z | INFO | crucible-agent (worker): using existing config property group
|
123 | 2024-02-01T23:12:20.442Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-ac20cb35-1e4a-4bca-a17b-ffcd92e6b193
|
124 | 2024-02-01T23:12:20.443Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/ac20cb35-1e4a-4bca-a17b-ffcd92e6b193
|
125 | 2024-02-01T23:12:20.443Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
126 | 2024-02-01T23:12:20.443Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
|
127 | 2024-02-01T23:12:20.443Z | INFO | crucible-agent (worker): commit
|
128 | 2024-02-01T23:12:20.447Z | INFO | crucible-agent (worker): ok!
|
129 | 2024-02-01T23:12:20.447Z | INFO | crucible-agent (worker): SMF ok!
|
130 | 2024-02-01T23:12:20.456Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f95b8766-f192-49cd-87b0-65601044e1c8"
region = f95b8766-f192-49cd-87b0-65601044e1c8
|
131 | 2024-02-01T23:12:20.506Z | INFO | crucible-agent (datafile): region f95b8766-f192-49cd-87b0-65601044e1c8 state: Tombstoned -> Destroyed
|
132 | 2024-02-01T23:12:20.531Z | INFO | crucible-agent (dropshot): request completed
latency_us = 48
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:60771
req_id = 85036c92-56ce-4ad5-bf6e-eb4b6dd71acd
response_code = 200
uri = /crucible/0/regions/f95b8766-f192-49cd-87b0-65601044e1c8
|