1 | | [ Jan 16 00:47:53 Enabled. ] |
2 | | [ Jan 16 00:47:54 Rereading configuration. ] |
3 | | [ Jan 16 00:47:56 Rereading configuration. ] |
4 | | [ Jan 16 00:47:59 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_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 | | + [[ 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::12 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_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-01-16T00:48:00.066Z | INFO | crucible-agent: dataset: "oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
|
52 | 2024-01-16T00:48:00.069Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::12]:32345
|
53 | 2024-01-16T00:48:00.069Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2024-01-16T00:48:00.598Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::12]:32345
|
55 | 2024-01-16T00:49:05.048Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::a]:34783
|
56 | 2024-01-16T00:49:05.083Z | INFO | crucible-agent (datafile): region ebe6f22f-d8bb-4e05-ad1f-de1b99354679 state: Requested
|
57 | 2024-01-16T00:49:05.087Z | INFO | crucible-agent (dropshot): request completed
latency_us = 6282
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:34783
req_id = ac9124d2-5e16-4803-88f3-741a775b534e
response_code = 200
uri = /crucible/0/regions
|
58 | 2024-01-16T00:49:05.087Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
59 | 2024-01-16T00:49:05.097Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ebe6f22f-d8bb-4e05-ad1f-de1b99354679
|
60 | 2024-01-16T00:49:05.097Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ebe6f22f-d8bb-4e05-ad1f-de1b99354679
|
61 | 2024-01-16T00:49:05.154Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("ebe6f22f-d8bb-4e05-ad1f-de1b99354679"), 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/ebe6f22f-d8bb-4e05-ad1f-de1b99354679"
region = ebe6f22f-d8bb-4e05-ad1f-de1b99354679
|
62 | 2024-01-16T00:49:05.371Z | INFO | crucible-agent (dropshot): request completed
latency_us = 686
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:34783
req_id = 2a346088-77ab-4ada-b39e-c6e0b2794fa5
response_code = 200
uri = /crucible/0/regions
|
63 | 2024-01-16T00:49:05.502Z | INFO | crucible-agent (worker): region files created ok
region = ebe6f22f-d8bb-4e05-ad1f-de1b99354679
|
64 | 2024-01-16T00:49:05.502Z | INFO | crucible-agent (datafile): region ebe6f22f-d8bb-4e05-ad1f-de1b99354679 state: Requested -> Created
|
65 | 2024-01-16T00:49:05.502Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2024-01-16T00:49:05.503Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-ebe6f22f-d8bb-4e05-ad1f-de1b99354679
|
67 | 2024-01-16T00:49:05.507Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-ebe6f22f-d8bb-4e05-ad1f-de1b99354679
|
68 | 2024-01-16T00:49:05.515Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2024-01-16T00:49:05.518Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-ebe6f22f-d8bb-4e05-ad1f-de1b99354679
|
70 | 2024-01-16T00:49:05.519Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/ebe6f22f-d8bb-4e05-ad1f-de1b99354679
|
71 | 2024-01-16T00:49:05.519Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2024-01-16T00:49:05.519Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
|
73 | 2024-01-16T00:49:05.519Z | INFO | crucible-agent (worker): commit
|
74 | 2024-01-16T00:49:05.523Z | INFO | crucible-agent (worker): ok!
|
75 | 2024-01-16T00:49:05.528Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2024-01-16T00:49:05.706Z | INFO | crucible-agent (dropshot): request completed
latency_us = 67
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:34783
req_id = 2f934b88-cca2-4431-8786-e42dd4b393a3
response_code = 200
uri = /crucible/0/regions
|
77 | 2024-01-16T00:54:29.254Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::a]:62980
|
78 | 2024-01-16T00:54:29.254Z | INFO | crucible-agent (dropshot): request completed
latency_us = 105
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:62980
req_id = 51c200ab-9c73-4f53-8997-9433fa951b92
response_code = 200
uri = /crucible/0/regions/ebe6f22f-d8bb-4e05-ad1f-de1b99354679
|
79 | 2024-01-16T00:54:29.254Z | INFO | crucible-agent (datafile): path is "/data/regions/ebe6f22f-d8bb-4e05-ad1f-de1b99354679"
|
80 | 2024-01-16T00:54:29.267Z | INFO | crucible-agent (datafile): dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ebe6f22f-d8bb-4e05-ad1f-de1b99354679
|
81 | 2024-01-16T00:54:29.276Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ebe6f22f-d8bb-4e05-ad1f-de1b99354679@25678b68-406e-4fe0-842e-cd8ae4bb49f5
|
82 | 2024-01-16T00:54:29.276Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ebe6f22f-d8bb-4e05-ad1f-de1b99354679", "25678b68-406e-4fe0-842e-cd8ae4bb49f5"]
|
83 | 2024-01-16T00:54:29.287Z | INFO | crucible-agent (dropshot): request completed
latency_us = 33119
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:62980
req_id = 1d7cee40-031c-4c9d-9dd3-3f82ee9b9e5c
response_code = 200
uri = /crucible/0/regions/ebe6f22f-d8bb-4e05-ad1f-de1b99354679/snapshots/25678b68-406e-4fe0-842e-cd8ae4bb49f5
|
84 | 2024-01-16T00:54:29.287Z | INFO | crucible-agent (datafile): path is "/data/regions/ebe6f22f-d8bb-4e05-ad1f-de1b99354679"
|
85 | 2024-01-16T00:54:29.296Z | INFO | crucible-agent (datafile): dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ebe6f22f-d8bb-4e05-ad1f-de1b99354679
|
86 | 2024-01-16T00:54:29.304Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ebe6f22f-d8bb-4e05-ad1f-de1b99354679@25678b68-406e-4fe0-842e-cd8ae4bb49f5
|
87 | 2024-01-16T00:54:29.304Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ebe6f22f-d8bb-4e05-ad1f-de1b99354679", "25678b68-406e-4fe0-842e-cd8ae4bb49f5"]
|
88 | 2024-01-16T00:54:29.313Z | INFO | crucible-agent (datafile): requesting running snapshot ebe6f22f-d8bb-4e05-ad1f-de1b99354679-25678b68-406e-4fe0-842e-cd8ae4bb49f5 state: Requested
|
89 | 2024-01-16T00:54:29.313Z | INFO | crucible-agent (worker): applying SMF actions for region ebe6f22f-d8bb-4e05-ad1f-de1b99354679 running snapshot 25678b68-406e-4fe0-842e-cd8ae4bb49f5 (state Requested)...
|
90 | 2024-01-16T00:54:29.313Z | INFO | crucible-agent (dropshot): request completed
latency_us = 25909
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:62980
req_id = 1a3db109-f4ef-4772-b02f-94a32f242557
response_code = 200
uri = /crucible/0/regions/ebe6f22f-d8bb-4e05-ad1f-de1b99354679/snapshots/25678b68-406e-4fe0-842e-cd8ae4bb49f5/run
|
91 | 2024-01-16T00:54:29.321Z | INFO | crucible-agent (worker): creating missing snapshot instance snapshot-ebe6f22f-d8bb-4e05-ad1f-de1b99354679-25678b68-406e-4fe0-842e-cd8ae4bb49f5
|
92 | 2024-01-16T00:54:29.327Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:snapshot-ebe6f22f-d8bb-4e05-ad1f-de1b99354679-25678b68-406e-4fe0-842e-cd8ae4bb49f5
|
93 | 2024-01-16T00:54:29.351Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:snapshot-ebe6f22f-d8bb-4e05-ad1f-de1b99354679-25678b68-406e-4fe0-842e-cd8ae4bb49f5
|
94 | 2024-01-16T00:54:29.351Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/ebe6f22f-d8bb-4e05-ad1f-de1b99354679/.zfs/snapshot/25678b68-406e-4fe0-842e-cd8ae4bb49f5
|
95 | 2024-01-16T00:54:29.351Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
|
96 | 2024-01-16T00:54:29.351Z | INFO | crucible-agent (worker): ensure mode SCF_TYPE_ASTRING ro
|
97 | 2024-01-16T00:54:29.352Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
|
98 | 2024-01-16T00:54:29.352Z | INFO | crucible-agent (worker): commit
|
99 | 2024-01-16T00:54:29.360Z | INFO | crucible-agent (worker): ok!
|
100 | 2024-01-16T00:54:29.366Z | INFO | crucible-agent (worker): SMF ok!
|
101 | 2024-01-16T00:54:29.366Z | INFO | crucible-agent (datafile): region ebe6f22f-d8bb-4e05-ad1f-de1b99354679 running snapshot 25678b68-406e-4fe0-842e-cd8ae4bb49f5 state: Requested -> Created
|
102 | 2024-01-16T00:54:31.967Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::a]:48373
|
103 | 2024-01-16T00:54:32.028Z | INFO | crucible-agent (datafile): region 7e3c7b86-c527-42fe-a41f-e3ed5d53967a state: Requested
|
104 | 2024-01-16T00:54:32.028Z | INFO | crucible-agent (dropshot): request completed
latency_us = 815
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:48373
req_id = 16aa3500-f909-478a-b070-2a6e6df514dd
response_code = 200
uri = /crucible/0/regions
|
105 | 2024-01-16T00:54:32.028Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
106 | 2024-01-16T00:54:32.038Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/7e3c7b86-c527-42fe-a41f-e3ed5d53967a
|
107 | 2024-01-16T00:54:32.038Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/7e3c7b86-c527-42fe-a41f-e3ed5d53967a
|
108 | 2024-01-16T00:54:32.122Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("7e3c7b86-c527-42fe-a41f-e3ed5d53967a"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19002, cert_pem: None, key_pem: None, root_pem: None } at "/data/regions/7e3c7b86-c527-42fe-a41f-e3ed5d53967a"
region = 7e3c7b86-c527-42fe-a41f-e3ed5d53967a
|
109 | 2024-01-16T00:54:32.249Z | INFO | crucible-agent (worker): region files created ok
region = 7e3c7b86-c527-42fe-a41f-e3ed5d53967a
|
110 | 2024-01-16T00:54:32.249Z | INFO | crucible-agent (datafile): region 7e3c7b86-c527-42fe-a41f-e3ed5d53967a state: Requested -> Created
|
111 | 2024-01-16T00:54:32.249Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
112 | 2024-01-16T00:54:32.250Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-7e3c7b86-c527-42fe-a41f-e3ed5d53967a
|
113 | 2024-01-16T00:54:32.257Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-7e3c7b86-c527-42fe-a41f-e3ed5d53967a
|
114 | 2024-01-16T00:54:32.273Z | INFO | crucible-agent (worker): creating config property group
|
115 | 2024-01-16T00:54:32.284Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-7e3c7b86-c527-42fe-a41f-e3ed5d53967a
|
116 | 2024-01-16T00:54:32.284Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/7e3c7b86-c527-42fe-a41f-e3ed5d53967a
|
117 | 2024-01-16T00:54:32.284Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19002
|
118 | 2024-01-16T00:54:32.284Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
|
119 | 2024-01-16T00:54:32.284Z | INFO | crucible-agent (worker): commit
|
120 | 2024-01-16T00:54:32.296Z | INFO | crucible-agent (worker): ok!
|
121 | 2024-01-16T00:54:32.299Z | INFO | crucible-agent (dropshot): request completed
latency_us = 708
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:48373
req_id = 695d1a49-ae2d-4846-9a97-e8b8c591b24a
response_code = 200
uri = /crucible/0/regions
|
122 | 2024-01-16T00:54:32.313Z | INFO | crucible-agent (worker): SMF ok!
|
123 | 2024-01-16T00:55:02.999Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::a]:50034
|
124 | 2024-01-16T00:55:03.000Z | INFO | crucible-agent (dropshot): request completed
latency_us = 52
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:50034
req_id = 37ad90aa-e8b3-4d91-8f38-19f4fe7dad67
response_code = 200
uri = /crucible/0/regions/7e3c7b86-c527-42fe-a41f-e3ed5d53967a
|
125 | 2024-01-16T00:55:03.000Z | INFO | crucible-agent (datafile): path is "/data/regions/7e3c7b86-c527-42fe-a41f-e3ed5d53967a"
|
126 | 2024-01-16T00:55:03.013Z | INFO | crucible-agent (datafile): dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/7e3c7b86-c527-42fe-a41f-e3ed5d53967a
|
127 | 2024-01-16T00:55:03.023Z | INFO | crucible-agent (datafile): region 7e3c7b86-c527-42fe-a41f-e3ed5d53967a state: Created -> Tombstoned
|
128 | 2024-01-16T00:55:03.023Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
129 | 2024-01-16T00:55:03.023Z | INFO | crucible-agent (dropshot): request completed
latency_us = 23068
local_addr = [fd00:1122:3344:101::12]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:50034
req_id = e81eeaaf-c7c7-404c-ae72-4f65cdd36691
response_code = 204
uri = /crucible/0/regions/7e3c7b86-c527-42fe-a41f-e3ed5d53967a
|
130 | 2024-01-16T00:55:03.024Z | INFO | crucible-agent (dropshot): request completed
latency_us = 651
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:50034
req_id = cabb0573-4c6b-47aa-9c23-490e4dc44be0
response_code = 200
uri = /crucible/0/regions/7e3c7b86-c527-42fe-a41f-e3ed5d53967a
|
131 | 2024-01-16T00:55:03.024Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-7e3c7b86-c527-42fe-a41f-e3ed5d53967a (instance states: (Some(Online), None))
|
132 | 2024-01-16T00:55:03.033Z | INFO | crucible-agent (worker): SMF ok!
|
133 | 2024-01-16T00:55:03.044Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/7e3c7b86-c527-42fe-a41f-e3ed5d53967a"
region = 7e3c7b86-c527-42fe-a41f-e3ed5d53967a
|
134 | 2024-01-16T00:55:03.101Z | INFO | crucible-agent (datafile): region 7e3c7b86-c527-42fe-a41f-e3ed5d53967a state: Tombstoned -> Destroyed
|
135 | 2024-01-16T00:55:03.166Z | INFO | crucible-agent (dropshot): request completed
latency_us = 87
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:50034
req_id = 5edf3dc9-4d07-4641-83f1-19c6dfcb2875
response_code = 200
uri = /crucible/0/regions/7e3c7b86-c527-42fe-a41f-e3ed5d53967a
|