1 | | [ Feb 4 18:23:18 Enabled. ] |
2 | | [ Feb 4 18:23:18 Rereading configuration. ] |
3 | | [ Feb 4 18:23:20 Rereading configuration. ] |
4 | | [ Feb 4 18:23:22 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=oxControlService16 |
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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible |
20 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
21 | | + LISTEN_ADDR=fd00:1122:3344:101::15 |
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 | | + [[ oxControlService16 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService16 |
33 | | ipadm: Could not delete oxControlService16: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService16 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService16 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService16 |
38 | | + ipadm show-addr oxControlService16/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService16/ll |
41 | | + ipadm show-addr oxControlService16/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService16/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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2024-02-04T18:23:23.133Z | INFO | crucible-agent: dataset: "oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible"
|
52 | 2024-02-04T18:23:23.135Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::15]:32345
|
53 | 2024-02-04T18:23:23.135Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2024-02-04T18:23:23.298Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::15]:32345
|
55 | 2024-02-04T18:24:16.441Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::15]:32345
remote_addr = [fd00:1122:3344:101::b]:45941
|
56 | 2024-02-04T18:24:16.447Z | INFO | crucible-agent (datafile): region 2c0f2651-f0d3-4781-9bff-b0fe97ae508d state: Requested
|
57 | 2024-02-04T18:24:16.448Z | INFO | crucible-agent (dropshot): request completed
latency_us = 3320
local_addr = [fd00:1122:3344:101::15]:32345
method = POST
remote_addr = [fd00:1122:3344:101::b]:45941
req_id = 89921c60-5feb-4b86-b144-0d8206ae3ceb
response_code = 200
uri = /crucible/0/regions
|
58 | 2024-02-04T18:24:16.450Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
59 | 2024-02-04T18:24:16.460Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d
|
60 | 2024-02-04T18:24:16.460Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d
|
61 | 2024-02-04T18:24:16.520Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("2c0f2651-f0d3-4781-9bff-b0fe97ae508d"), 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/2c0f2651-f0d3-4781-9bff-b0fe97ae508d"
region = 2c0f2651-f0d3-4781-9bff-b0fe97ae508d
|
62 | 2024-02-04T18:24:16.600Z | INFO | crucible-agent (dropshot): request completed
latency_us = 78
local_addr = [fd00:1122:3344:101::15]:32345
method = POST
remote_addr = [fd00:1122:3344:101::b]:45941
req_id = 4ee831ca-63d0-426a-959a-5e4b81550965
response_code = 200
uri = /crucible/0/regions
|
63 | 2024-02-04T18:24:16.703Z | INFO | crucible-agent (worker): region files created ok
region = 2c0f2651-f0d3-4781-9bff-b0fe97ae508d
|
64 | 2024-02-04T18:24:16.703Z | INFO | crucible-agent (datafile): region 2c0f2651-f0d3-4781-9bff-b0fe97ae508d state: Requested -> Created
|
65 | 2024-02-04T18:24:16.703Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2024-02-04T18:24:16.704Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-2c0f2651-f0d3-4781-9bff-b0fe97ae508d
|
67 | 2024-02-04T18:24:16.708Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-2c0f2651-f0d3-4781-9bff-b0fe97ae508d
|
68 | 2024-02-04T18:24:16.717Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2024-02-04T18:24:16.720Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-2c0f2651-f0d3-4781-9bff-b0fe97ae508d
|
70 | 2024-02-04T18:24:16.721Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d
|
71 | 2024-02-04T18:24:16.721Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2024-02-04T18:24:16.721Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15
|
73 | 2024-02-04T18:24:16.721Z | INFO | crucible-agent (worker): commit
|
74 | 2024-02-04T18:24:16.725Z | INFO | crucible-agent (worker): ok!
|
75 | 2024-02-04T18:24:16.729Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2024-02-04T18:24:17.010Z | INFO | crucible-agent (dropshot): request completed
latency_us = 65
local_addr = [fd00:1122:3344:101::15]:32345
method = POST
remote_addr = [fd00:1122:3344:101::b]:45941
req_id = 309822f0-7960-40c5-a49e-a6242d8935a1
response_code = 200
uri = /crucible/0/regions
|
77 | 2024-02-04T18:24:17.680Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::15]:32345
remote_addr = [fd00:1122:3344:101::b]:53953
|
78 | 2024-02-04T18:24:17.680Z | INFO | crucible-agent (dropshot): request completed
latency_us = 679
local_addr = [fd00:1122:3344:101::15]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:53953
req_id = 3b317b84-4c6b-43d4-88ad-28d79be6ed28
response_code = 200
uri = /crucible/0/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d
|
79 | 2024-02-04T18:24:17.680Z | INFO | crucible-agent (datafile): path is "/data/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d"
|
80 | 2024-02-04T18:24:17.689Z | INFO | crucible-agent (datafile): dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d
|
81 | 2024-02-04T18:24:17.696Z | INFO | crucible-agent (datafile): region 2c0f2651-f0d3-4781-9bff-b0fe97ae508d state: Created -> Tombstoned
|
82 | 2024-02-04T18:24:17.696Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
83 | 2024-02-04T18:24:17.696Z | INFO | crucible-agent (dropshot): request completed
latency_us = 15827
local_addr = [fd00:1122:3344:101::15]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::b]:53953
req_id = e9e4a3c4-61af-430d-a9e6-e9a299e81962
response_code = 204
uri = /crucible/0/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d
|
84 | 2024-02-04T18:24:17.696Z | INFO | crucible-agent (dropshot): request completed
latency_us = 21
local_addr = [fd00:1122:3344:101::15]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:53953
req_id = 13aeb0cf-78a6-4142-bfcc-8c216a559f7a
response_code = 200
uri = /crucible/0/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d
|
85 | 2024-02-04T18:24:17.697Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-2c0f2651-f0d3-4781-9bff-b0fe97ae508d (instance states: (Some(Online), None))
|
86 | 2024-02-04T18:24:17.702Z | INFO | crucible-agent (worker): SMF ok!
|
87 | 2024-02-04T18:24:17.711Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d"
region = 2c0f2651-f0d3-4781-9bff-b0fe97ae508d
|
88 | 2024-02-04T18:24:17.754Z | INFO | crucible-agent (dropshot): request completed
latency_us = 92
local_addr = [fd00:1122:3344:101::15]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:53953
req_id = 884b6be8-4d93-408b-a3ab-24dbecdcda19
response_code = 200
uri = /crucible/0/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d
|
89 | 2024-02-04T18:24:17.767Z | INFO | crucible-agent (datafile): region 2c0f2651-f0d3-4781-9bff-b0fe97ae508d state: Tombstoned -> Destroyed
|
90 | 2024-02-04T18:24:17.846Z | INFO | crucible-agent (dropshot): request completed
latency_us = 28
local_addr = [fd00:1122:3344:101::15]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:53953
req_id = 3ab12855-eda3-48ed-85a5-f16f006f7025
response_code = 200
uri = /crucible/0/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d
|