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=oxControlService20 |
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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible |
17 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
18 | | + LISTEN_ADDR=fd00:1122:3344:101::12 |
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 | | + [[ oxControlService20 == unknown ]] |
28 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
29 | | + ipadm delete-if oxControlService20 |
30 | | ipadm: Could not delete oxControlService20: Interface does not exist |
31 | | + true |
32 | | + ipadm create-if -t oxControlService20 |
33 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService20 |
34 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService20 |
35 | | + ipadm show-addr oxControlService20/ll |
36 | | ipadm: Address object not found |
37 | | + ipadm create-addr -t -T addrconf oxControlService20/ll |
38 | | + ipadm show-addr oxControlService20/omicron6 |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::12 oxControlService20/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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::12]:32345' -P 19000 -p downstairs -s snapshot |
47 | | note: configured to log to "/dev/stdout" |
48 | 2024-02-09T21:15:03.463Z | INFO | crucible-agent: dataset: "oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
|
49 | 2024-02-09T21:15:03.467Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::12]:32345
|
50 | 2024-02-09T21:15:03.467Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
51 | 2024-02-09T21:15:03.872Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::12]:32345
|
52 | 2024-02-09T21:21:13.053Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::a]:33991
|
53 | 2024-02-09T21:21:13.107Z | INFO | crucible-agent (datafile): region 5ed261c3-c284-4e3b-bb3d-831b7b99303d state: Requested
|
54 | 2024-02-09T21:21:13.110Z | INFO | crucible-agent (dropshot): request completed
latency_us = 15627
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:33991
req_id = ba02690a-79ab-4c86-b784-4efeffeec6f7
response_code = 200
uri = /crucible/0/regions
|
55 | 2024-02-09T21:21:13.117Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
56 | 2024-02-09T21:21:13.125Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d
|
57 | 2024-02-09T21:21:13.125Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d
|
58 | 2024-02-09T21:21:13.180Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("5ed261c3-c284-4e3b-bb3d-831b7b99303d"), 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/5ed261c3-c284-4e3b-bb3d-831b7b99303d"
region = 5ed261c3-c284-4e3b-bb3d-831b7b99303d
|
59 | 2024-02-09T21:21:13.270Z | INFO | crucible-agent (dropshot): request completed
latency_us = 85
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:33991
req_id = d479a20b-1c81-4cc8-8c2c-213587464be4
response_code = 200
uri = /crucible/0/regions
|
60 | 2024-02-09T21:21:13.550Z | INFO | crucible-agent (worker): region files created ok
region = 5ed261c3-c284-4e3b-bb3d-831b7b99303d
|
61 | 2024-02-09T21:21:13.550Z | INFO | crucible-agent (datafile): region 5ed261c3-c284-4e3b-bb3d-831b7b99303d state: Requested -> Created
|
62 | 2024-02-09T21:21:13.550Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
63 | 2024-02-09T21:21:13.551Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-5ed261c3-c284-4e3b-bb3d-831b7b99303d
|
64 | 2024-02-09T21:21:13.557Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-5ed261c3-c284-4e3b-bb3d-831b7b99303d
|
65 | 2024-02-09T21:21:13.569Z | INFO | crucible-agent (worker): creating config property group
|
66 | 2024-02-09T21:21:13.573Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-5ed261c3-c284-4e3b-bb3d-831b7b99303d
|
67 | 2024-02-09T21:21:13.573Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d
|
68 | 2024-02-09T21:21:13.576Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
69 | 2024-02-09T21:21:13.576Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
|
70 | 2024-02-09T21:21:13.576Z | INFO | crucible-agent (worker): commit
|
71 | 2024-02-09T21:21:13.588Z | INFO | crucible-agent (worker): ok!
|
72 | 2024-02-09T21:21:13.591Z | INFO | crucible-agent (worker): SMF ok!
|
73 | 2024-02-09T21:21:14.009Z | INFO | crucible-agent (dropshot): request completed
latency_us = 77
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:33991
req_id = 9e7fef51-7783-4df4-bc0a-7643f66a7181
response_code = 200
uri = /crucible/0/regions
|
74 | 2024-02-09T21:21:54.294Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::a]:51662
|
75 | 2024-02-09T21:21:54.294Z | INFO | crucible-agent (dropshot): request completed
latency_us = 60
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:51662
req_id = c7fcf852-0dac-4121-ac6d-5ee6fef5c90a
response_code = 200
uri = /crucible/0/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d
|
76 | 2024-02-09T21:21:54.294Z | INFO | crucible-agent (datafile): path is "/data/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d"
|
77 | 2024-02-09T21:21:54.321Z | INFO | crucible-agent (datafile): dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d
|
78 | 2024-02-09T21:21:54.328Z | INFO | crucible-agent (datafile): region 5ed261c3-c284-4e3b-bb3d-831b7b99303d state: Created -> Tombstoned
|
79 | 2024-02-09T21:21:54.329Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
80 | 2024-02-09T21:21:54.329Z | INFO | crucible-agent (dropshot): request completed
latency_us = 34574
local_addr = [fd00:1122:3344:101::12]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:51662
req_id = 4c4badf4-7c24-4f91-8942-f3f1052aade5
response_code = 204
uri = /crucible/0/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d
|
81 | 2024-02-09T21:21:54.329Z | INFO | crucible-agent (dropshot): request completed
latency_us = 26
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:51662
req_id = 5622f62f-285f-4a50-8cc2-57d54701fa21
response_code = 200
uri = /crucible/0/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d
|
82 | 2024-02-09T21:21:54.330Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-5ed261c3-c284-4e3b-bb3d-831b7b99303d (instance states: (Some(Online), None))
|
83 | 2024-02-09T21:21:54.343Z | INFO | crucible-agent (worker): SMF ok!
|
84 | 2024-02-09T21:21:54.351Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d"
region = 5ed261c3-c284-4e3b-bb3d-831b7b99303d
|
85 | 2024-02-09T21:21:54.430Z | INFO | crucible-agent (datafile): region 5ed261c3-c284-4e3b-bb3d-831b7b99303d state: Tombstoned -> Destroyed
|
86 | 2024-02-09T21:21:54.433Z | INFO | crucible-agent (dropshot): request completed
latency_us = 57
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:51662
req_id = 17e1ee7c-a163-4626-8382-4c42994c3c49
response_code = 200
uri = /crucible/0/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d
|