1 | | [ Feb 9 21:15:02 Executing start method ("/opt/oxide/lib/svc/manifest/crucible/agent.sh"). ] |
2 | | + . /lib/svc/share/smf_include.sh |
3 | | ++ SMF_EXIT_OK=0 |
4 | | ++ SMF_EXIT_NODAEMON=94 |
5 | | ++ SMF_EXIT_ERR_FATAL=95 |
6 | | ++ SMF_EXIT_ERR_CONFIG=96 |
7 | | ++ SMF_EXIT_MON_DEGRADE=97 |
8 | | ++ SMF_EXIT_MON_OFFLINE=98 |
9 | | ++ SMF_EXIT_ERR_NOSMF=99 |
10 | | ++ SMF_EXIT_ERR_PERM=100 |
11 | | ++ svcprop -c -p config/datalink svc:/oxide/crucible/agent:default |
12 | | + DATALINK=oxControlService22 |
13 | | ++ svcprop -c -p config/gateway svc:/oxide/crucible/agent:default |
14 | | + GATEWAY=fd00:1122:3344:101::1 |
15 | | ++ svcprop -c -p config/dataset svc:/oxide/crucible/agent:default |
16 | | + DATASET=oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible |
17 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
18 | | + LISTEN_ADDR=fd00:1122:3344:101::19 |
19 | | ++ svcprop -c -p config/listen_port svc:/oxide/crucible/agent:default |
20 | | + LISTEN_PORT=32345 |
21 | | ++ svcprop -c -p config/portbase svc:/oxide/crucible/agent:default |
22 | | + PORTBASE=19000 |
23 | | ++ svcprop -c -p config/downstairs_prefix svc:/oxide/crucible/agent:default |
24 | | + DOWNSTAIRS_PREFIX=downstairs |
25 | | ++ svcprop -c -p config/snapshot_prefix svc:/oxide/crucible/agent:default |
26 | | + SNAPSHOT_PREFIX=snapshot |
27 | | + [[ oxControlService22 == unknown ]] |
28 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
29 | | + ipadm delete-if oxControlService22 |
30 | | ipadm: Could not delete oxControlService22: Interface does not exist |
31 | | + true |
32 | | + ipadm create-if -t oxControlService22 |
33 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 |
34 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 |
35 | | + ipadm show-addr oxControlService22/ll |
36 | | ipadm: Address object not found |
37 | | + ipadm create-addr -t -T addrconf oxControlService22/ll |
38 | | + ipadm show-addr oxControlService22/omicron6 |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::19 oxControlService22/omicron6 |
41 | | + route get -inet6 default -inet6 fd00:1122:3344:101::1 |
42 | | default: not in table |
43 | | + route add -inet6 default -inet6 fd00:1122:3344:101::1 |
44 | | add net default: gateway fd00:1122:3344:101::1 |
45 | | + args=('-D' '/opt/oxide/crucible/bin/crucible-downstairs' '--dataset' "$DATASET" '-l' "[$LISTEN_ADDR]:$LISTEN_PORT" '-P' "$PORTBASE" '-p' "$DOWNSTAIRS_PREFIX" '-s' "$SNAPSHOT_PREFIX") |
46 | | + exec /opt/oxide/crucible/bin/crucible-agent run -D /opt/oxide/crucible/bin/crucible-downstairs --dataset oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::19]:32345' -P 19000 -p downstairs -s snapshot |
47 | | note: configured to log to "/dev/stdout" |
48 | 2024-02-09T21:15:03.622Z | INFO | crucible-agent: dataset: "oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
|
49 | 2024-02-09T21:15:03.629Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::19]:32345
|
50 | 2024-02-09T21:15:03.629Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
51 | 2024-02-09T21:15:04.027Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::19]:32345
|
52 | 2024-02-09T21:15:51.591Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::19]:32345
remote_addr = [fd00:1122:3344:101::a]:47620
|
53 | 2024-02-09T21:15:51.593Z | INFO | crucible-agent (datafile): region 09a5e9bc-aba1-43ff-81f5-38aa6fe53d96 state: Requested
|
54 | 2024-02-09T21:15:51.593Z | INFO | crucible-agent (dropshot): request completed
latency_us = 471
local_addr = [fd00:1122:3344:101::19]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:47620
req_id = 9076725b-771c-4fd6-9eb7-6f49d1077187
response_code = 200
uri = /crucible/0/regions
|
55 | 2024-02-09T21:15:51.597Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
56 | 2024-02-09T21:15:51.606Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/09a5e9bc-aba1-43ff-81f5-38aa6fe53d96
|
57 | 2024-02-09T21:15:51.606Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/09a5e9bc-aba1-43ff-81f5-38aa6fe53d96
|
58 | 2024-02-09T21:15:51.654Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("09a5e9bc-aba1-43ff-81f5-38aa6fe53d96"), 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/09a5e9bc-aba1-43ff-81f5-38aa6fe53d96"
region = 09a5e9bc-aba1-43ff-81f5-38aa6fe53d96
|
59 | 2024-02-09T21:15:51.958Z | INFO | crucible-agent (dropshot): request completed
latency_us = 76
local_addr = [fd00:1122:3344:101::19]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:47620
req_id = 7a6c7765-2bfd-4f92-9cb6-49aac26b944c
response_code = 200
uri = /crucible/0/regions
|
60 | 2024-02-09T21:15:51.964Z | INFO | crucible-agent (worker): region files created ok
region = 09a5e9bc-aba1-43ff-81f5-38aa6fe53d96
|
61 | 2024-02-09T21:15:51.964Z | INFO | crucible-agent (datafile): region 09a5e9bc-aba1-43ff-81f5-38aa6fe53d96 state: Requested -> Created
|
62 | 2024-02-09T21:15:51.964Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
63 | 2024-02-09T21:15:51.965Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-09a5e9bc-aba1-43ff-81f5-38aa6fe53d96
|
64 | 2024-02-09T21:15:51.969Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-09a5e9bc-aba1-43ff-81f5-38aa6fe53d96
|
65 | 2024-02-09T21:15:51.977Z | INFO | crucible-agent (worker): creating config property group
|
66 | 2024-02-09T21:15:51.980Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-09a5e9bc-aba1-43ff-81f5-38aa6fe53d96
|
67 | 2024-02-09T21:15:51.980Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/09a5e9bc-aba1-43ff-81f5-38aa6fe53d96
|
68 | 2024-02-09T21:15:51.981Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
69 | 2024-02-09T21:15:51.981Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19
|
70 | 2024-02-09T21:15:51.981Z | INFO | crucible-agent (worker): commit
|
71 | 2024-02-09T21:15:51.985Z | INFO | crucible-agent (worker): ok!
|
72 | 2024-02-09T21:15:51.989Z | INFO | crucible-agent (worker): SMF ok!
|
73 | 2024-02-09T21:15:52.268Z | INFO | crucible-agent (dropshot): request completed
latency_us = 74
local_addr = [fd00:1122:3344:101::19]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:47620
req_id = 894a2b60-ca82-4970-846d-346b57b4f451
response_code = 200
uri = /crucible/0/regions
|
74 | 2024-02-09T21:21:10.338Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::19]:32345
remote_addr = [fd00:1122:3344:101::a]:52404
|
75 | 2024-02-09T21:21:10.338Z | INFO | crucible-agent (dropshot): request completed
latency_us = 522
local_addr = [fd00:1122:3344:101::19]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:52404
req_id = 631b81cc-7cb2-438b-9383-6cebb3e70622
response_code = 200
uri = /crucible/0/regions/09a5e9bc-aba1-43ff-81f5-38aa6fe53d96
|
76 | 2024-02-09T21:21:10.346Z | INFO | crucible-agent (datafile): path is "/data/regions/09a5e9bc-aba1-43ff-81f5-38aa6fe53d96"
|
77 | 2024-02-09T21:21:10.355Z | INFO | crucible-agent (datafile): dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/09a5e9bc-aba1-43ff-81f5-38aa6fe53d96
|
78 | 2024-02-09T21:21:10.363Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/09a5e9bc-aba1-43ff-81f5-38aa6fe53d96@e87c0167-6998-4bf8-af64-707862a62d62
|
79 | 2024-02-09T21:21:10.363Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/09a5e9bc-aba1-43ff-81f5-38aa6fe53d96", "e87c0167-6998-4bf8-af64-707862a62d62"]
|
80 | 2024-02-09T21:21:10.375Z | INFO | crucible-agent (dropshot): request completed
latency_us = 34542
local_addr = [fd00:1122:3344:101::19]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:52404
req_id = ef9a77ef-a1ad-4065-b976-86e36e78e876
response_code = 200
uri = /crucible/0/regions/09a5e9bc-aba1-43ff-81f5-38aa6fe53d96/snapshots/e87c0167-6998-4bf8-af64-707862a62d62
|
81 | 2024-02-09T21:21:10.375Z | INFO | crucible-agent (datafile): path is "/data/regions/09a5e9bc-aba1-43ff-81f5-38aa6fe53d96"
|
82 | 2024-02-09T21:21:10.383Z | INFO | crucible-agent (datafile): dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/09a5e9bc-aba1-43ff-81f5-38aa6fe53d96
|
83 | 2024-02-09T21:21:10.391Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/09a5e9bc-aba1-43ff-81f5-38aa6fe53d96@e87c0167-6998-4bf8-af64-707862a62d62
|
84 | 2024-02-09T21:21:10.392Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/09a5e9bc-aba1-43ff-81f5-38aa6fe53d96", "e87c0167-6998-4bf8-af64-707862a62d62"]
|
85 | 2024-02-09T21:21:10.401Z | INFO | crucible-agent (datafile): requesting running snapshot 09a5e9bc-aba1-43ff-81f5-38aa6fe53d96-e87c0167-6998-4bf8-af64-707862a62d62 state: Requested
|
86 | 2024-02-09T21:21:10.401Z | INFO | crucible-agent (worker): applying SMF actions for region 09a5e9bc-aba1-43ff-81f5-38aa6fe53d96 running snapshot e87c0167-6998-4bf8-af64-707862a62d62 (state Requested)...
|
87 | 2024-02-09T21:21:10.401Z | INFO | crucible-agent (dropshot): request completed
latency_us = 26066
local_addr = [fd00:1122:3344:101::19]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:52404
req_id = 24ba65c7-6172-4fd6-a2eb-e0aa090c01d1
response_code = 200
uri = /crucible/0/regions/09a5e9bc-aba1-43ff-81f5-38aa6fe53d96/snapshots/e87c0167-6998-4bf8-af64-707862a62d62/run
|
88 | 2024-02-09T21:21:10.410Z | INFO | crucible-agent (worker): creating missing snapshot instance snapshot-09a5e9bc-aba1-43ff-81f5-38aa6fe53d96-e87c0167-6998-4bf8-af64-707862a62d62
|
89 | 2024-02-09T21:21:10.413Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:snapshot-09a5e9bc-aba1-43ff-81f5-38aa6fe53d96-e87c0167-6998-4bf8-af64-707862a62d62
|
90 | 2024-02-09T21:21:10.424Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:snapshot-09a5e9bc-aba1-43ff-81f5-38aa6fe53d96-e87c0167-6998-4bf8-af64-707862a62d62
|
91 | 2024-02-09T21:21:10.424Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/09a5e9bc-aba1-43ff-81f5-38aa6fe53d96/.zfs/snapshot/e87c0167-6998-4bf8-af64-707862a62d62
|
92 | 2024-02-09T21:21:10.424Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
|
93 | 2024-02-09T21:21:10.424Z | INFO | crucible-agent (worker): ensure mode SCF_TYPE_ASTRING ro
|
94 | 2024-02-09T21:21:10.424Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19
|
95 | 2024-02-09T21:21:10.424Z | INFO | crucible-agent (worker): commit
|
96 | 2024-02-09T21:21:10.428Z | INFO | crucible-agent (worker): ok!
|
97 | 2024-02-09T21:21:10.432Z | INFO | crucible-agent (worker): SMF ok!
|
98 | 2024-02-09T21:21:10.432Z | INFO | crucible-agent (datafile): region 09a5e9bc-aba1-43ff-81f5-38aa6fe53d96 running snapshot e87c0167-6998-4bf8-af64-707862a62d62 state: Requested -> Created
|