1 | | [ Feb 9 21:15:01 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=oxControlService21 |
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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible |
17 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
18 | | + LISTEN_ADDR=fd00:1122:3344:101::17 |
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 | | + [[ oxControlService21 == unknown ]] |
28 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
29 | | + ipadm delete-if oxControlService21 |
30 | | ipadm: Could not delete oxControlService21: Interface does not exist |
31 | | + true |
32 | | + ipadm create-if -t oxControlService21 |
33 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService21 |
34 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService21 |
35 | | + ipadm show-addr oxControlService21/ll |
36 | | ipadm: Address object not found |
37 | | + ipadm create-addr -t -T addrconf oxControlService21/ll |
38 | | + ipadm show-addr oxControlService21/omicron6 |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService21/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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot |
47 | | note: configured to log to "/dev/stdout" |
48 | 2024-02-09T21:15:02.554Z | INFO | crucible-agent: dataset: "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible"
|
49 | 2024-02-09T21:15:02.559Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::17]:32345
|
50 | 2024-02-09T21:15:02.559Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
51 | 2024-02-09T21:15:02.818Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::17]:32345
|
52 | 2024-02-09T21:15:48.992Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::17]:32345
remote_addr = [fd00:1122:3344:101::a]:39797
|
53 | 2024-02-09T21:15:48.994Z | INFO | crucible-agent (datafile): region bdfcb3ec-9890-4687-aeee-a69e15870eed state: Requested
|
54 | 2024-02-09T21:15:48.994Z | INFO | crucible-agent (dropshot): request completed
latency_us = 477
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:39797
req_id = c51d6f0d-1ccb-4bae-ad86-a2d079af361b
response_code = 200
uri = /crucible/0/regions
|
55 | 2024-02-09T21:15:48.996Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
56 | 2024-02-09T21:15:49.006Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed
|
57 | 2024-02-09T21:15:49.006Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed
|
58 | 2024-02-09T21:15:49.064Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("bdfcb3ec-9890-4687-aeee-a69e15870eed"), 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/bdfcb3ec-9890-4687-aeee-a69e15870eed"
region = bdfcb3ec-9890-4687-aeee-a69e15870eed
|
59 | 2024-02-09T21:15:49.150Z | INFO | crucible-agent (dropshot): request completed
latency_us = 83
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:39797
req_id = 3d0314da-3096-424c-854e-07ad7ec9e1f4
response_code = 200
uri = /crucible/0/regions
|
60 | 2024-02-09T21:15:49.214Z | INFO | crucible-agent (worker): region files created ok
region = bdfcb3ec-9890-4687-aeee-a69e15870eed
|
61 | 2024-02-09T21:15:49.214Z | INFO | crucible-agent (datafile): region bdfcb3ec-9890-4687-aeee-a69e15870eed state: Requested -> Created
|
62 | 2024-02-09T21:15:49.214Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
63 | 2024-02-09T21:15:49.215Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-bdfcb3ec-9890-4687-aeee-a69e15870eed
|
64 | 2024-02-09T21:15:49.219Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-bdfcb3ec-9890-4687-aeee-a69e15870eed
|
65 | 2024-02-09T21:15:49.231Z | INFO | crucible-agent (worker): creating config property group
|
66 | 2024-02-09T21:15:49.240Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-bdfcb3ec-9890-4687-aeee-a69e15870eed
|
67 | 2024-02-09T21:15:49.241Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed
|
68 | 2024-02-09T21:15:49.241Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
69 | 2024-02-09T21:15:49.241Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17
|
70 | 2024-02-09T21:15:49.241Z | INFO | crucible-agent (worker): commit
|
71 | 2024-02-09T21:15:49.249Z | INFO | crucible-agent (worker): ok!
|
72 | 2024-02-09T21:15:49.258Z | INFO | crucible-agent (worker): SMF ok!
|
73 | 2024-02-09T21:15:49.641Z | INFO | crucible-agent (dropshot): request completed
latency_us = 96
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:39797
req_id = 5493dbc4-eac2-4e69-a80a-d92830ec4d43
response_code = 200
uri = /crucible/0/regions
|
74 | 2024-02-09T21:15:49.927Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::17]:32345
remote_addr = [fd00:1122:3344:101::a]:36587
|
75 | 2024-02-09T21:15:49.927Z | 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::a]:36587
req_id = 312485af-4a69-45fa-8390-155a5915ff7d
response_code = 200
uri = /crucible/0/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed
|
76 | 2024-02-09T21:15:49.927Z | INFO | crucible-agent (datafile): path is "/data/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed"
|
77 | 2024-02-09T21:15:49.937Z | INFO | crucible-agent (datafile): dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed
|
78 | 2024-02-09T21:15:49.945Z | INFO | crucible-agent (datafile): region bdfcb3ec-9890-4687-aeee-a69e15870eed state: Created -> Tombstoned
|
79 | 2024-02-09T21:15:49.945Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
80 | 2024-02-09T21:15:49.946Z | INFO | crucible-agent (dropshot): request completed
latency_us = 18254
local_addr = [fd00:1122:3344:101::17]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:36587
req_id = 763df3ab-0e04-4579-bfa4-666b0f815577
response_code = 204
uri = /crucible/0/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed
|
81 | 2024-02-09T21:15:49.946Z | INFO | crucible-agent (dropshot): request completed
latency_us = 28
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:36587
req_id = a0b65d16-1c84-40d0-ac89-4719ef57477c
response_code = 200
uri = /crucible/0/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed
|
82 | 2024-02-09T21:15:49.947Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-bdfcb3ec-9890-4687-aeee-a69e15870eed (instance states: (Some(Online), None))
|
83 | 2024-02-09T21:15:49.950Z | INFO | crucible-agent (worker): SMF ok!
|
84 | 2024-02-09T21:15:49.960Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed"
region = bdfcb3ec-9890-4687-aeee-a69e15870eed
|
85 | 2024-02-09T21:15:50.009Z | INFO | crucible-agent (datafile): region bdfcb3ec-9890-4687-aeee-a69e15870eed state: Tombstoned -> Destroyed
|
86 | 2024-02-09T21:15:50.032Z | INFO | crucible-agent (dropshot): request completed
latency_us = 75
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:36587
req_id = ad8d7bab-e981-4816-afdb-8541e1628209
response_code = 200
uri = /crucible/0/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed
|