1 | | [ Dec 14 12:51:41 Enabled. ] |
2 | | [ Dec 14 12:51:41 Rereading configuration. ] |
3 | | [ Dec 14 12:51:43 Rereading configuration. ] |
4 | | [ Dec 14 12:51:45 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=oxControlService18 |
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 | | + [[ oxControlService18 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService18 |
33 | | ipadm: Could not delete oxControlService18: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService18 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService18 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService18 |
38 | | + ipadm show-addr oxControlService18/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService18/ll |
41 | | + ipadm show-addr oxControlService18/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService18/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" |
51 | 2023-12-14T12:51:46.445Z | INFO | crucible-agent: dataset: "oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible"
|
52 | 2023-12-14T12:51:46.450Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::16]:32345
|
53 | 2023-12-14T12:51:46.450Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-12-14T12:51:46.662Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::16]:32345
|
55 | 2023-12-14T12:52:46.811Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::16]:32345
remote_addr = [fd00:1122:3344:101::a]:32799
|
56 | 2023-12-14T12:52:46.836Z | INFO | crucible-agent (datafile): region b5a8ae7b-1fcc-4644-8d67-1de084561be2 state: Requested
|
57 | 2023-12-14T12:52:46.837Z | INFO | crucible-agent (dropshot): request completed
latency_us = 13050
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:32799
req_id = beff677c-8111-4a26-b747-0672bc032d0d
response_code = 200
uri = /crucible/0/regions
|
58 | 2023-12-14T12:52:46.837Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
59 | 2023-12-14T12:52:46.848Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/b5a8ae7b-1fcc-4644-8d67-1de084561be2
|
60 | 2023-12-14T12:52:46.849Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/b5a8ae7b-1fcc-4644-8d67-1de084561be2
|
61 | 2023-12-14T12:52:46.913Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("b5a8ae7b-1fcc-4644-8d67-1de084561be2"), 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/b5a8ae7b-1fcc-4644-8d67-1de084561be2"
region = b5a8ae7b-1fcc-4644-8d67-1de084561be2
|
62 | 2023-12-14T12:52:47.141Z | INFO | crucible-agent (dropshot): request completed
latency_us = 92
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:32799
req_id = e0072ca2-5942-4e67-952f-47722fe57318
response_code = 200
uri = /crucible/0/regions
|
63 | 2023-12-14T12:52:47.179Z | INFO | crucible-agent (worker): region files created ok
region = b5a8ae7b-1fcc-4644-8d67-1de084561be2
|
64 | 2023-12-14T12:52:47.179Z | INFO | crucible-agent (datafile): region b5a8ae7b-1fcc-4644-8d67-1de084561be2 state: Requested -> Created
|
65 | 2023-12-14T12:52:47.179Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2023-12-14T12:52:47.180Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-b5a8ae7b-1fcc-4644-8d67-1de084561be2
|
67 | 2023-12-14T12:52:47.187Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-b5a8ae7b-1fcc-4644-8d67-1de084561be2
|
68 | 2023-12-14T12:52:47.204Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2023-12-14T12:52:47.210Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-b5a8ae7b-1fcc-4644-8d67-1de084561be2
|
70 | 2023-12-14T12:52:47.211Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/b5a8ae7b-1fcc-4644-8d67-1de084561be2
|
71 | 2023-12-14T12:52:47.211Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2023-12-14T12:52:47.211Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16
|
73 | 2023-12-14T12:52:47.211Z | INFO | crucible-agent (worker): commit
|
74 | 2023-12-14T12:52:47.219Z | INFO | crucible-agent (worker): ok!
|
75 | 2023-12-14T12:52:47.237Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2023-12-14T12:52:47.595Z | INFO | crucible-agent (dropshot): request completed
latency_us = 764
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:32799
req_id = dfb5ff85-8578-4175-b831-6686921dcf7e
response_code = 200
uri = /crucible/0/regions
|
77 | 2023-12-14T12:58:07.241Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::16]:32345
remote_addr = [fd00:1122:3344:101::a]:48575
|
78 | 2023-12-14T12:58:07.272Z | INFO | crucible-agent (datafile): region 8daf16fe-8d8f-4867-ae29-27e146ccba5f state: Requested
|
79 | 2023-12-14T12:58:07.276Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
80 | 2023-12-14T12:58:07.276Z | INFO | crucible-agent (dropshot): request completed
latency_us = 4139
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:48575
req_id = 3762d543-dd8d-4e4f-b67f-691647d6ca6c
response_code = 200
uri = /crucible/0/regions
|
81 | 2023-12-14T12:58:07.286Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/8daf16fe-8d8f-4867-ae29-27e146ccba5f
|
82 | 2023-12-14T12:58:07.286Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/8daf16fe-8d8f-4867-ae29-27e146ccba5f
|
83 | 2023-12-14T12:58:07.342Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("8daf16fe-8d8f-4867-ae29-27e146ccba5f"), 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/8daf16fe-8d8f-4867-ae29-27e146ccba5f"
region = 8daf16fe-8d8f-4867-ae29-27e146ccba5f
|
84 | 2023-12-14T12:58:07.451Z | INFO | crucible-agent (worker): region files created ok
region = 8daf16fe-8d8f-4867-ae29-27e146ccba5f
|
85 | 2023-12-14T12:58:07.451Z | INFO | crucible-agent (datafile): region 8daf16fe-8d8f-4867-ae29-27e146ccba5f state: Requested -> Created
|
86 | 2023-12-14T12:58:07.451Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
87 | 2023-12-14T12:58:07.451Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-8daf16fe-8d8f-4867-ae29-27e146ccba5f
|
88 | 2023-12-14T12:58:07.456Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-8daf16fe-8d8f-4867-ae29-27e146ccba5f
|
89 | 2023-12-14T12:58:07.474Z | INFO | crucible-agent (worker): creating config property group
|
90 | 2023-12-14T12:58:07.477Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-8daf16fe-8d8f-4867-ae29-27e146ccba5f
|
91 | 2023-12-14T12:58:07.477Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/8daf16fe-8d8f-4867-ae29-27e146ccba5f
|
92 | 2023-12-14T12:58:07.477Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
|
93 | 2023-12-14T12:58:07.477Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16
|
94 | 2023-12-14T12:58:07.477Z | INFO | crucible-agent (worker): commit
|
95 | 2023-12-14T12:58:07.480Z | INFO | crucible-agent (worker): ok!
|
96 | 2023-12-14T12:58:07.485Z | INFO | crucible-agent (worker): SMF ok!
|
97 | 2023-12-14T12:58:07.629Z | INFO | crucible-agent (dropshot): request completed
latency_us = 95
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:48575
req_id = a2d8ef15-0ead-4540-82b4-8834edddb5a0
response_code = 200
uri = /crucible/0/regions
|
98 | 2023-12-14T12:58:08.579Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::16]:32345
remote_addr = [fd00:1122:3344:101::a]:45866
|
99 | 2023-12-14T12:58:08.581Z | INFO | crucible-agent (dropshot): request completed
latency_us = 2581
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:45866
req_id = b11db04f-a140-494e-baa4-0e19a36dbe5b
response_code = 200
uri = /crucible/0/regions/b5a8ae7b-1fcc-4644-8d67-1de084561be2
|
100 | 2023-12-14T12:58:08.582Z | INFO | crucible-agent (datafile): path is "/data/regions/b5a8ae7b-1fcc-4644-8d67-1de084561be2"
|
101 | 2023-12-14T12:58:08.592Z | INFO | crucible-agent (datafile): dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/b5a8ae7b-1fcc-4644-8d67-1de084561be2
|
102 | 2023-12-14T12:58:08.603Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/b5a8ae7b-1fcc-4644-8d67-1de084561be2@41b140a0-e79e-4028-988c-ae24d62d8118
|
103 | 2023-12-14T12:58:08.604Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/b5a8ae7b-1fcc-4644-8d67-1de084561be2", "41b140a0-e79e-4028-988c-ae24d62d8118"]
|
104 | 2023-12-14T12:58:08.621Z | INFO | crucible-agent (dropshot): request completed
latency_us = 38918
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:45866
req_id = 12cac443-bb35-4f5a-a0b5-40bc72d7abd9
response_code = 200
uri = /crucible/0/regions/b5a8ae7b-1fcc-4644-8d67-1de084561be2/snapshots/41b140a0-e79e-4028-988c-ae24d62d8118
|
105 | 2023-12-14T12:58:08.622Z | INFO | crucible-agent (datafile): path is "/data/regions/b5a8ae7b-1fcc-4644-8d67-1de084561be2"
|
106 | 2023-12-14T12:58:08.633Z | INFO | crucible-agent (datafile): dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/b5a8ae7b-1fcc-4644-8d67-1de084561be2
|
107 | 2023-12-14T12:58:08.644Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/b5a8ae7b-1fcc-4644-8d67-1de084561be2@41b140a0-e79e-4028-988c-ae24d62d8118
|
108 | 2023-12-14T12:58:08.645Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/b5a8ae7b-1fcc-4644-8d67-1de084561be2", "41b140a0-e79e-4028-988c-ae24d62d8118"]
|
109 | 2023-12-14T12:58:08.656Z | INFO | crucible-agent (datafile): requesting running snapshot b5a8ae7b-1fcc-4644-8d67-1de084561be2-41b140a0-e79e-4028-988c-ae24d62d8118 state: Requested
|
110 | 2023-12-14T12:58:08.656Z | INFO | crucible-agent (worker): applying SMF actions for region b5a8ae7b-1fcc-4644-8d67-1de084561be2 running snapshot 41b140a0-e79e-4028-988c-ae24d62d8118 (state Requested)...
|
111 | 2023-12-14T12:58:08.656Z | INFO | crucible-agent (dropshot): request completed
latency_us = 35328
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:45866
req_id = 89d0a752-b387-4c5b-af4f-7058fc7321fc
response_code = 200
uri = /crucible/0/regions/b5a8ae7b-1fcc-4644-8d67-1de084561be2/snapshots/41b140a0-e79e-4028-988c-ae24d62d8118/run
|
112 | 2023-12-14T12:58:08.659Z | INFO | crucible-agent (worker): creating missing snapshot instance snapshot-b5a8ae7b-1fcc-4644-8d67-1de084561be2-41b140a0-e79e-4028-988c-ae24d62d8118
|
113 | 2023-12-14T12:58:08.662Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:snapshot-b5a8ae7b-1fcc-4644-8d67-1de084561be2-41b140a0-e79e-4028-988c-ae24d62d8118
|
114 | 2023-12-14T12:58:08.672Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:snapshot-b5a8ae7b-1fcc-4644-8d67-1de084561be2-41b140a0-e79e-4028-988c-ae24d62d8118
|
115 | 2023-12-14T12:58:08.673Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/b5a8ae7b-1fcc-4644-8d67-1de084561be2/.zfs/snapshot/41b140a0-e79e-4028-988c-ae24d62d8118
|
116 | 2023-12-14T12:58:08.673Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19002
|
117 | 2023-12-14T12:58:08.673Z | INFO | crucible-agent (worker): ensure mode SCF_TYPE_ASTRING ro
|
118 | 2023-12-14T12:58:08.673Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16
|
119 | 2023-12-14T12:58:08.673Z | INFO | crucible-agent (worker): commit
|
120 | 2023-12-14T12:58:08.677Z | INFO | crucible-agent (worker): ok!
|
121 | 2023-12-14T12:58:08.682Z | INFO | crucible-agent (worker): SMF ok!
|
122 | 2023-12-14T12:58:08.682Z | INFO | crucible-agent (datafile): region b5a8ae7b-1fcc-4644-8d67-1de084561be2 running snapshot 41b140a0-e79e-4028-988c-ae24d62d8118 state: Requested -> Created
|