1 | | [ Feb 7 22:41:13 Enabled. ] |
2 | | [ Feb 7 22:41:13 Rereading configuration. ] |
3 | | [ Feb 7 22:41:15 Rereading configuration. ] |
4 | | [ Feb 7 22:41:17 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible |
20 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
21 | | + LISTEN_ADDR=fd00:1122:3344:101::19 |
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::19 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::19]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2024-02-07T22:41:18.545Z | INFO | crucible-agent: dataset: "oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
|
52 | 2024-02-07T22:41:18.551Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::19]:32345
|
53 | 2024-02-07T22:41:18.551Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2024-02-07T22:41:18.817Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::19]:32345
|
55 | 2024-02-07T22:42:06.304Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::19]:32345
remote_addr = [fd00:1122:3344:101::a]:57888
|
56 | 2024-02-07T22:42:06.365Z | INFO | crucible-agent (datafile): region 40d9861c-fb1b-4ded-932f-aab2091ad717 state: Requested
|
57 | 2024-02-07T22:42:06.366Z | INFO | crucible-agent (dropshot): request completed
latency_us = 1855
local_addr = [fd00:1122:3344:101::19]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:57888
req_id = c9350fb9-5957-4c38-ac01-1659258bd597
response_code = 200
uri = /crucible/0/regions
|
58 | 2024-02-07T22:42:06.366Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
59 | 2024-02-07T22:42:06.376Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/40d9861c-fb1b-4ded-932f-aab2091ad717
|
60 | 2024-02-07T22:42:06.376Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/40d9861c-fb1b-4ded-932f-aab2091ad717
|
61 | 2024-02-07T22:42:06.435Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("40d9861c-fb1b-4ded-932f-aab2091ad717"), 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/40d9861c-fb1b-4ded-932f-aab2091ad717"
region = 40d9861c-fb1b-4ded-932f-aab2091ad717
|
62 | 2024-02-07T22:42:06.567Z | INFO | crucible-agent (worker): region files created ok
region = 40d9861c-fb1b-4ded-932f-aab2091ad717
|
63 | 2024-02-07T22:42:06.568Z | INFO | crucible-agent (datafile): region 40d9861c-fb1b-4ded-932f-aab2091ad717 state: Requested -> Created
|
64 | 2024-02-07T22:42:06.568Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
65 | 2024-02-07T22:42:06.568Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-40d9861c-fb1b-4ded-932f-aab2091ad717
|
66 | 2024-02-07T22:42:06.571Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-40d9861c-fb1b-4ded-932f-aab2091ad717
|
67 | 2024-02-07T22:42:06.579Z | INFO | crucible-agent (worker): creating config property group
|
68 | 2024-02-07T22:42:06.582Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-40d9861c-fb1b-4ded-932f-aab2091ad717
|
69 | 2024-02-07T22:42:06.583Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/40d9861c-fb1b-4ded-932f-aab2091ad717
|
70 | 2024-02-07T22:42:06.583Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
71 | 2024-02-07T22:42:06.583Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19
|
72 | 2024-02-07T22:42:06.583Z | INFO | crucible-agent (worker): commit
|
73 | 2024-02-07T22:42:06.587Z | INFO | crucible-agent (worker): ok!
|
74 | 2024-02-07T22:42:06.591Z | INFO | crucible-agent (worker): SMF ok!
|
75 | 2024-02-07T22:42:06.651Z | INFO | crucible-agent (dropshot): request completed
latency_us = 69
local_addr = [fd00:1122:3344:101::19]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:57888
req_id = 7b4be511-4202-4f12-ba04-45eeace169b9
response_code = 200
uri = /crucible/0/regions
|
76 | 2024-02-07T22:42:07.382Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::19]:32345
remote_addr = [fd00:1122:3344:101::a]:60757
|
77 | 2024-02-07T22:42:07.382Z | INFO | crucible-agent (dropshot): request completed
latency_us = 105
local_addr = [fd00:1122:3344:101::19]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:60757
req_id = 64adc142-14ee-41da-89d6-4afb962a5af8
response_code = 200
uri = /crucible/0/regions/40d9861c-fb1b-4ded-932f-aab2091ad717
|
78 | 2024-02-07T22:42:07.383Z | INFO | crucible-agent (datafile): path is "/data/regions/40d9861c-fb1b-4ded-932f-aab2091ad717"
|
79 | 2024-02-07T22:42:07.392Z | INFO | crucible-agent (datafile): dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/40d9861c-fb1b-4ded-932f-aab2091ad717
|
80 | 2024-02-07T22:42:07.399Z | INFO | crucible-agent (datafile): region 40d9861c-fb1b-4ded-932f-aab2091ad717 state: Created -> Tombstoned
|
81 | 2024-02-07T22:42:07.399Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
82 | 2024-02-07T22:42:07.399Z | INFO | crucible-agent (dropshot): request completed
latency_us = 16589
local_addr = [fd00:1122:3344:101::19]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:60757
req_id = fcd6597d-71ed-42af-b4ca-2a86397826d3
response_code = 204
uri = /crucible/0/regions/40d9861c-fb1b-4ded-932f-aab2091ad717
|
83 | 2024-02-07T22:42:07.399Z | INFO | crucible-agent (dropshot): request completed
latency_us = 38
local_addr = [fd00:1122:3344:101::19]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:60757
req_id = f0ec4529-f3d1-4875-a64f-85cd72b20139
response_code = 200
uri = /crucible/0/regions/40d9861c-fb1b-4ded-932f-aab2091ad717
|
84 | 2024-02-07T22:42:07.400Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-40d9861c-fb1b-4ded-932f-aab2091ad717 (instance states: (Some(Online), None))
|
85 | 2024-02-07T22:42:07.404Z | INFO | crucible-agent (worker): SMF ok!
|
86 | 2024-02-07T22:42:07.412Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/40d9861c-fb1b-4ded-932f-aab2091ad717"
region = 40d9861c-fb1b-4ded-932f-aab2091ad717
|
87 | 2024-02-07T22:42:07.464Z | INFO | crucible-agent (datafile): region 40d9861c-fb1b-4ded-932f-aab2091ad717 state: Tombstoned -> Destroyed
|
88 | 2024-02-07T22:42:07.515Z | INFO | crucible-agent (dropshot): request completed
latency_us = 82
local_addr = [fd00:1122:3344:101::19]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:60757
req_id = 9776c63c-47e7-4041-8ced-ad2615407314
response_code = 200
uri = /crucible/0/regions/40d9861c-fb1b-4ded-932f-aab2091ad717
|
89 | 2024-02-07T22:42:08.599Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::19]:32345
remote_addr = [fd00:1122:3344:101::a]:51212
|
90 | 2024-02-07T22:42:08.629Z | INFO | crucible-agent (datafile): region 62d7d11f-b007-432c-a631-2d570c318ef1 state: Requested
|
91 | 2024-02-07T22:42:08.629Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
92 | 2024-02-07T22:42:08.629Z | INFO | crucible-agent (dropshot): request completed
latency_us = 855
local_addr = [fd00:1122:3344:101::19]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:51212
req_id = 5db081e9-af98-44ae-810a-c8ddd99936d4
response_code = 200
uri = /crucible/0/regions
|
93 | 2024-02-07T22:42:08.638Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/62d7d11f-b007-432c-a631-2d570c318ef1
|
94 | 2024-02-07T22:42:08.638Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/62d7d11f-b007-432c-a631-2d570c318ef1
|
95 | 2024-02-07T22:42:08.690Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("62d7d11f-b007-432c-a631-2d570c318ef1"), 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/62d7d11f-b007-432c-a631-2d570c318ef1"
region = 62d7d11f-b007-432c-a631-2d570c318ef1
|
96 | 2024-02-07T22:42:08.765Z | INFO | crucible-agent (worker): region files created ok
region = 62d7d11f-b007-432c-a631-2d570c318ef1
|
97 | 2024-02-07T22:42:08.765Z | INFO | crucible-agent (datafile): region 62d7d11f-b007-432c-a631-2d570c318ef1 state: Requested -> Created
|
98 | 2024-02-07T22:42:08.766Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
99 | 2024-02-07T22:42:08.767Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-62d7d11f-b007-432c-a631-2d570c318ef1
|
100 | 2024-02-07T22:42:08.770Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-62d7d11f-b007-432c-a631-2d570c318ef1
|
101 | 2024-02-07T22:42:08.781Z | INFO | crucible-agent (worker): creating config property group
|
102 | 2024-02-07T22:42:08.785Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-62d7d11f-b007-432c-a631-2d570c318ef1
|
103 | 2024-02-07T22:42:08.785Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/62d7d11f-b007-432c-a631-2d570c318ef1
|
104 | 2024-02-07T22:42:08.785Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
105 | 2024-02-07T22:42:08.785Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19
|
106 | 2024-02-07T22:42:08.785Z | INFO | crucible-agent (worker): commit
|
107 | 2024-02-07T22:42:08.789Z | INFO | crucible-agent (worker): ok!
|
108 | 2024-02-07T22:42:08.794Z | INFO | crucible-agent (worker): SMF ok!
|
109 | 2024-02-07T22:42:08.987Z | 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]:51212
req_id = fc1f33e5-c2ec-44f5-8307-55085d3f591e
response_code = 200
uri = /crucible/0/regions
|