1 | | [ Jan 23 18:48:08 Enabled. ] |
2 | | [ Jan 23 18:48:08 Rereading configuration. ] |
3 | | [ Jan 23 18:48:09 Rereading configuration. ] |
4 | | [ Jan 23 18:48:10 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=oxControlService22 |
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 | | + [[ oxControlService22 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService22 |
33 | | ipadm: Could not delete oxControlService22: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService22 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 |
38 | | + ipadm show-addr oxControlService22/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService22/ll |
41 | | + ipadm show-addr oxControlService22/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService22/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-01-23T18:48:11.567Z | INFO | crucible-agent: dataset: "oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible"
|
52 | 2024-01-23T18:48:11.579Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::18]:32345
|
53 | 2024-01-23T18:48:11.579Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2024-01-23T18:48:11.766Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::18]:32345
|
55 | 2024-01-23T18:48:53.456Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::18]:32345
remote_addr = [fd00:1122:3344:101::a]:46924
|
56 | 2024-01-23T18:48:53.522Z | INFO | crucible-agent (datafile): region 10a561e2-8496-4148-95d5-c8eaa6143416 state: Requested
|
57 | 2024-01-23T18:48:53.527Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
58 | 2024-01-23T18:48:53.527Z | INFO | crucible-agent (dropshot): request completed
latency_us = 10855
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:46924
req_id = 1673a3a5-237d-4e4d-9323-036653c2dced
response_code = 200
uri = /crucible/0/regions
|
59 | 2024-01-23T18:48:53.537Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/10a561e2-8496-4148-95d5-c8eaa6143416
|
60 | 2024-01-23T18:48:53.537Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/10a561e2-8496-4148-95d5-c8eaa6143416
|
61 | 2024-01-23T18:48:53.588Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("10a561e2-8496-4148-95d5-c8eaa6143416"), 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/10a561e2-8496-4148-95d5-c8eaa6143416"
region = 10a561e2-8496-4148-95d5-c8eaa6143416
|
62 | 2024-01-23T18:48:53.833Z | INFO | crucible-agent (dropshot): request completed
latency_us = 91
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:46924
req_id = db7dfd16-477a-4302-ac82-bcde3bf98aab
response_code = 200
uri = /crucible/0/regions
|
63 | 2024-01-23T18:48:53.905Z | INFO | crucible-agent (worker): region files created ok
region = 10a561e2-8496-4148-95d5-c8eaa6143416
|
64 | 2024-01-23T18:48:53.905Z | INFO | crucible-agent (datafile): region 10a561e2-8496-4148-95d5-c8eaa6143416 state: Requested -> Created
|
65 | 2024-01-23T18:48:53.906Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2024-01-23T18:48:53.906Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-10a561e2-8496-4148-95d5-c8eaa6143416
|
67 | 2024-01-23T18:48:53.910Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-10a561e2-8496-4148-95d5-c8eaa6143416
|
68 | 2024-01-23T18:48:53.923Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2024-01-23T18:48:53.927Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-10a561e2-8496-4148-95d5-c8eaa6143416
|
70 | 2024-01-23T18:48:53.928Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/10a561e2-8496-4148-95d5-c8eaa6143416
|
71 | 2024-01-23T18:48:53.928Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2024-01-23T18:48:53.928Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18
|
73 | 2024-01-23T18:48:53.928Z | INFO | crucible-agent (worker): commit
|
74 | 2024-01-23T18:48:53.933Z | INFO | crucible-agent (worker): ok!
|
75 | 2024-01-23T18:48:53.938Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2024-01-23T18:48:54.562Z | INFO | crucible-agent (dropshot): request completed
latency_us = 95
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:46924
req_id = 3a78d989-2741-4ac7-ba34-241007fa1c6e
response_code = 200
uri = /crucible/0/regions
|
77 | 2024-01-23T18:48:54.982Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::18]:32345
remote_addr = [fd00:1122:3344:101::a]:54267
|
78 | 2024-01-23T18:48:54.982Z | INFO | crucible-agent (dropshot): request completed
latency_us = 97
local_addr = [fd00:1122:3344:101::18]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:54267
req_id = e88b5493-aedb-4db1-8707-00bfdd89f1b0
response_code = 200
uri = /crucible/0/regions/10a561e2-8496-4148-95d5-c8eaa6143416
|
79 | 2024-01-23T18:48:54.982Z | INFO | crucible-agent (datafile): path is "/data/regions/10a561e2-8496-4148-95d5-c8eaa6143416"
|
80 | 2024-01-23T18:48:54.992Z | INFO | crucible-agent (datafile): dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/10a561e2-8496-4148-95d5-c8eaa6143416
|
81 | 2024-01-23T18:48:55.001Z | INFO | crucible-agent (datafile): region 10a561e2-8496-4148-95d5-c8eaa6143416 state: Created -> Tombstoned
|
82 | 2024-01-23T18:48:55.001Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
83 | 2024-01-23T18:48:55.001Z | INFO | crucible-agent (dropshot): request completed
latency_us = 19187
local_addr = [fd00:1122:3344:101::18]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:54267
req_id = 34d402b3-4388-4713-8a38-f1d35ff11b4b
response_code = 204
uri = /crucible/0/regions/10a561e2-8496-4148-95d5-c8eaa6143416
|
84 | 2024-01-23T18:48:55.001Z | 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]:54267
req_id = 8d1a0300-6682-4c34-98b6-15a246b437ab
response_code = 200
uri = /crucible/0/regions/10a561e2-8496-4148-95d5-c8eaa6143416
|
85 | 2024-01-23T18:48:55.002Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-10a561e2-8496-4148-95d5-c8eaa6143416 (instance states: (Some(Online), None))
|
86 | 2024-01-23T18:48:55.006Z | INFO | crucible-agent (worker): SMF ok!
|
87 | 2024-01-23T18:48:55.017Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/10a561e2-8496-4148-95d5-c8eaa6143416"
region = 10a561e2-8496-4148-95d5-c8eaa6143416
|
88 | 2024-01-23T18:48:55.067Z | INFO | crucible-agent (datafile): region 10a561e2-8496-4148-95d5-c8eaa6143416 state: Tombstoned -> Destroyed
|
89 | 2024-01-23T18:48:55.109Z | INFO | crucible-agent (dropshot): request completed
latency_us = 94
local_addr = [fd00:1122:3344:101::18]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:54267
req_id = 8423fbee-4372-4217-bf62-882685b8ce1e
response_code = 200
uri = /crucible/0/regions/10a561e2-8496-4148-95d5-c8eaa6143416
|
90 | 2024-01-23T18:48:56.358Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::18]:32345
remote_addr = [fd00:1122:3344:101::a]:38691
|
91 | 2024-01-23T18:48:56.419Z | INFO | crucible-agent (datafile): region af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a state: Requested
|
92 | 2024-01-23T18:48:56.419Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
93 | 2024-01-23T18:48:56.419Z | INFO | crucible-agent (dropshot): request completed
latency_us = 334
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:38691
req_id = 775e8fcf-6483-4d61-9b3d-d8a182056382
response_code = 200
uri = /crucible/0/regions
|
94 | 2024-01-23T18:48:56.430Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
|
95 | 2024-01-23T18:48:56.430Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
|
96 | 2024-01-23T18:48:56.477Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a"), 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/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a"
region = af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
|
97 | 2024-01-23T18:48:56.552Z | INFO | crucible-agent (worker): region files created ok
region = af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
|
98 | 2024-01-23T18:48:56.553Z | INFO | crucible-agent (datafile): region af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a state: Requested -> Created
|
99 | 2024-01-23T18:48:56.553Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
100 | 2024-01-23T18:48:56.554Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
|
101 | 2024-01-23T18:48:56.558Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
|
102 | 2024-01-23T18:48:56.567Z | INFO | crucible-agent (worker): creating config property group
|
103 | 2024-01-23T18:48:56.570Z | INFO | crucible-agent (dropshot): request completed
latency_us = 74
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:38691
req_id = 8844c342-b497-4ad9-be78-a3ecd6215f06
response_code = 200
uri = /crucible/0/regions
|
104 | 2024-01-23T18:48:56.570Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
|
105 | 2024-01-23T18:48:56.571Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
|
106 | 2024-01-23T18:48:56.571Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
107 | 2024-01-23T18:48:56.571Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18
|
108 | 2024-01-23T18:48:56.571Z | INFO | crucible-agent (worker): commit
|
109 | 2024-01-23T18:48:56.575Z | INFO | crucible-agent (worker): ok!
|
110 | 2024-01-23T18:48:56.581Z | INFO | crucible-agent (worker): SMF ok!
|
111 | 2024-01-23T18:54:38.223Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::18]:32345
remote_addr = [fd00:1122:3344:101::a]:42473
|
112 | 2024-01-23T18:54:38.224Z | INFO | crucible-agent (dropshot): request completed
latency_us = 65
local_addr = [fd00:1122:3344:101::18]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:42473
req_id = 650495df-5bc4-4ed1-89e5-05ffb288686f
response_code = 200
uri = /crucible/0/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
|
113 | 2024-01-23T18:54:38.224Z | INFO | crucible-agent (datafile): path is "/data/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a"
|
114 | 2024-01-23T18:54:38.233Z | INFO | crucible-agent (datafile): dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
|
115 | 2024-01-23T18:54:38.243Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a@e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe
|
116 | 2024-01-23T18:54:38.243Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a", "e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe"]
|
117 | 2024-01-23T18:54:38.252Z | INFO | crucible-agent (dropshot): request completed
latency_us = 28458
local_addr = [fd00:1122:3344:101::18]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:42473
req_id = 770b607d-e1ab-47c7-a750-53bf2bbf328a
response_code = 200
uri = /crucible/0/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a/snapshots/e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe
|
118 | 2024-01-23T18:54:38.252Z | INFO | crucible-agent (datafile): path is "/data/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a"
|
119 | 2024-01-23T18:54:38.261Z | INFO | crucible-agent (datafile): dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a
|
120 | 2024-01-23T18:54:38.270Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a@e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe
|
121 | 2024-01-23T18:54:38.270Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a", "e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe"]
|
122 | 2024-01-23T18:54:38.279Z | INFO | crucible-agent (datafile): requesting running snapshot af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a-e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe state: Requested
|
123 | 2024-01-23T18:54:38.279Z | INFO | crucible-agent (worker): applying SMF actions for region af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a running snapshot e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe (state Requested)...
|
124 | 2024-01-23T18:54:38.279Z | INFO | crucible-agent (dropshot): request completed
latency_us = 27123
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:42473
req_id = f1cf3051-ccf0-44c4-aa09-17b3becee851
response_code = 200
uri = /crucible/0/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a/snapshots/e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe/run
|
125 | 2024-01-23T18:54:38.288Z | INFO | crucible-agent (worker): creating missing snapshot instance snapshot-af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a-e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe
|
126 | 2024-01-23T18:54:38.292Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:snapshot-af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a-e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe
|
127 | 2024-01-23T18:54:38.308Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:snapshot-af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a-e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe
|
128 | 2024-01-23T18:54:38.308Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a/.zfs/snapshot/e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe
|
129 | 2024-01-23T18:54:38.308Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
|
130 | 2024-01-23T18:54:38.308Z | INFO | crucible-agent (worker): ensure mode SCF_TYPE_ASTRING ro
|
131 | 2024-01-23T18:54:38.308Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18
|
132 | 2024-01-23T18:54:38.308Z | INFO | crucible-agent (worker): commit
|
133 | 2024-01-23T18:54:38.312Z | INFO | crucible-agent (worker): ok!
|
134 | 2024-01-23T18:54:38.317Z | INFO | crucible-agent (worker): SMF ok!
|
135 | 2024-01-23T18:54:38.317Z | INFO | crucible-agent (datafile): region af8e6c1a-ed98-4c15-8eb2-3e2bebec0f5a running snapshot e4f2903b-6fa7-434c-aa8b-fd694ad2f3fe state: Requested -> Created
|