1 | | [ Feb 15 22:28:34 Enabled. ] |
2 | | [ Feb 15 22:28:34 Rereading configuration. ] |
3 | | [ Feb 15 22:28:37 Rereading configuration. ] |
4 | | [ Feb 15 22:28:39 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=oxControlService12 |
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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible |
20 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
21 | | + LISTEN_ADDR=fd00:1122:3344:101::17 |
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 | | + [[ oxControlService12 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService12 |
33 | | ipadm: Could not delete oxControlService12: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService12 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService12 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService12 |
38 | | + ipadm show-addr oxControlService12/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService12/ll |
41 | | + ipadm show-addr oxControlService12/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService12/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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2024-02-15T22:28:41.147Z | INFO | crucible-agent: dataset: "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible"
|
52 | 2024-02-15T22:28:41.152Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::17]:32345
|
53 | 2024-02-15T22:28:41.152Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2024-02-15T22:28:41.350Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::17]:32345
|
55 | 2024-02-15T22:29:54.367Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::17]:32345
remote_addr = [fd00:1122:3344:101::c]:39862
|
56 | 2024-02-15T22:29:54.369Z | INFO | crucible-agent (datafile): region 4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb state: Requested
|
57 | 2024-02-15T22:29:54.371Z | INFO | crucible-agent (dropshot): request completed
latency_us = 3511
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:39862
req_id = 463a90bc-57b0-4bcb-9e6d-3e01eacd91f7
response_code = 200
uri = /crucible/0/regions
|
58 | 2024-02-15T22:29:54.372Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
59 | 2024-02-15T22:29:54.382Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb
|
60 | 2024-02-15T22:29:54.382Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb
|
61 | 2024-02-15T22:29:54.432Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb"), 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/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb"
region = 4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb
|
62 | 2024-02-15T22:29:54.562Z | INFO | crucible-agent (worker): region files created ok
region = 4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb
|
63 | 2024-02-15T22:29:54.562Z | INFO | crucible-agent (datafile): region 4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb state: Requested -> Created
|
64 | 2024-02-15T22:29:54.562Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
65 | 2024-02-15T22:29:54.562Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb
|
66 | 2024-02-15T22:29:54.565Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb
|
67 | 2024-02-15T22:29:54.574Z | INFO | crucible-agent (worker): creating config property group
|
68 | 2024-02-15T22:29:54.578Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb
|
69 | 2024-02-15T22:29:54.579Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb
|
70 | 2024-02-15T22:29:54.579Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
71 | 2024-02-15T22:29:54.579Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17
|
72 | 2024-02-15T22:29:54.579Z | INFO | crucible-agent (worker): commit
|
73 | 2024-02-15T22:29:54.583Z | INFO | crucible-agent (worker): ok!
|
74 | 2024-02-15T22:29:54.588Z | INFO | crucible-agent (worker): SMF ok!
|
75 | 2024-02-15T22:29:54.721Z | INFO | crucible-agent (dropshot): request completed
latency_us = 69
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:39862
req_id = e2062343-9bd8-45c4-9160-d4895855ff94
response_code = 200
uri = /crucible/0/regions
|
76 | 2024-02-15T22:29:55.119Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::17]:32345
remote_addr = [fd00:1122:3344:101::c]:41280
|
77 | 2024-02-15T22:29:55.120Z | INFO | crucible-agent (dropshot): request completed
latency_us = 74
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:41280
req_id = 8d257aed-e092-446d-b32d-c6b907ce8841
response_code = 200
uri = /crucible/0/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb
|
78 | 2024-02-15T22:29:55.120Z | INFO | crucible-agent (datafile): path is "/data/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb"
|
79 | 2024-02-15T22:29:55.130Z | INFO | crucible-agent (datafile): dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb
|
80 | 2024-02-15T22:29:55.137Z | INFO | crucible-agent (datafile): region 4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb state: Created -> Tombstoned
|
81 | 2024-02-15T22:29:55.137Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
82 | 2024-02-15T22:29:55.137Z | INFO | crucible-agent (dropshot): request completed
latency_us = 17581
local_addr = [fd00:1122:3344:101::17]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::c]:41280
req_id = 2491acb1-7916-4617-b668-783abd336226
response_code = 204
uri = /crucible/0/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb
|
83 | 2024-02-15T22:29:55.137Z | INFO | crucible-agent (dropshot): request completed
latency_us = 20
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:41280
req_id = 11e95212-61d6-4dbc-b7f7-61973e27dce5
response_code = 200
uri = /crucible/0/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb
|
84 | 2024-02-15T22:29:55.138Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb (instance states: (Some(Online), None))
|
85 | 2024-02-15T22:29:55.142Z | INFO | crucible-agent (worker): SMF ok!
|
86 | 2024-02-15T22:29:55.150Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb"
region = 4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb
|
87 | 2024-02-15T22:29:55.199Z | INFO | crucible-agent (datafile): region 4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb state: Tombstoned -> Destroyed
|
88 | 2024-02-15T22:29:55.260Z | INFO | crucible-agent (dropshot): request completed
latency_us = 654
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:41280
req_id = daafa85f-c7e7-48e0-aadf-a0a9ee1e6901
response_code = 200
uri = /crucible/0/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb
|