1 | | [ Oct 24 21:38:37 Enabled. ] |
2 | | [ Oct 24 21:38:37 Rereading configuration. ] |
3 | | [ Oct 24 21:38:42 Rereading configuration. ] |
4 | | [ Oct 24 21:38:49 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=oxControlService19 |
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::14 |
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 | | + [[ oxControlService19 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService19 |
33 | | ipadm: Could not delete oxControlService19: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService19 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService19 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService19 |
38 | | + ipadm show-addr oxControlService19/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService19/ll |
41 | | + ipadm show-addr oxControlService19/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService19/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::14]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2023-10-24T21:38:49.746Z | INFO | crucible-agent: dataset: "oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
|
52 | 2023-10-24T21:38:49.749Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::14]:32345
|
53 | 2023-10-24T21:38:49.749Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-10-24T21:38:49.866Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::14]:32345
|
55 | 2023-10-24T21:39:31.155Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::14]:32345
remote_addr = [fd00:1122:3344:101::a]:51246
|
56 | 2023-10-24T21:39:31.227Z | INFO | crucible-agent (datafile): region e068d4fe-afd0-4bf4-bd65-d0c6c8429cef state: Requested
|
57 | 2023-10-24T21:39:31.227Z | INFO | crucible-agent (dropshot): request completed
latency_us = 7201
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:51246
req_id = 112952e3-8601-46ea-bf9d-65b6d2a0043f
response_code = 200
uri = /crucible/0/regions
|
58 | 2023-10-24T21:39:31.228Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
59 | 2023-10-24T21:39:31.239Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef
|
60 | 2023-10-24T21:39:31.239Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef
|
61 | 2023-10-24T21:39:31.320Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("e068d4fe-afd0-4bf4-bd65-d0c6c8429cef"), 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/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef"
region = e068d4fe-afd0-4bf4-bd65-d0c6c8429cef
|
62 | 2023-10-24T21:39:31.553Z | INFO | crucible-agent (dropshot): request completed
latency_us = 83
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:51246
req_id = 92e9f43c-2ed3-434a-a377-8169375ecb05
response_code = 200
uri = /crucible/0/regions
|
63 | 2023-10-24T21:39:31.597Z | INFO | crucible-agent (worker): region files created ok
region = e068d4fe-afd0-4bf4-bd65-d0c6c8429cef
|
64 | 2023-10-24T21:39:31.597Z | INFO | crucible-agent (datafile): region e068d4fe-afd0-4bf4-bd65-d0c6c8429cef state: Requested -> Created
|
65 | 2023-10-24T21:39:31.598Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2023-10-24T21:39:31.598Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-e068d4fe-afd0-4bf4-bd65-d0c6c8429cef
|
67 | 2023-10-24T21:39:31.603Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-e068d4fe-afd0-4bf4-bd65-d0c6c8429cef
|
68 | 2023-10-24T21:39:31.615Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2023-10-24T21:39:31.618Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-e068d4fe-afd0-4bf4-bd65-d0c6c8429cef
|
70 | 2023-10-24T21:39:31.619Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef
|
71 | 2023-10-24T21:39:31.619Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2023-10-24T21:39:31.619Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14
|
73 | 2023-10-24T21:39:31.619Z | INFO | crucible-agent (worker): commit
|
74 | 2023-10-24T21:39:31.624Z | INFO | crucible-agent (worker): ok!
|
75 | 2023-10-24T21:39:31.633Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2023-10-24T21:39:32.067Z | INFO | crucible-agent (dropshot): request completed
latency_us = 72
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:51246
req_id = 44733fbf-fc87-4a2b-85bf-cd9e70437d52
response_code = 200
uri = /crucible/0/regions
|
77 | 2023-10-24T21:42:22.996Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::14]:32345
remote_addr = [fd00:1122:3344:101::a]:33137
|
78 | 2023-10-24T21:42:23.059Z | INFO | crucible-agent (dropshot): request completed
latency_us = 225
local_addr = [fd00:1122:3344:101::14]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:33137
req_id = 79d27304-98ce-473c-8cfb-465ad9f88b62
response_code = 200
uri = /crucible/0/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef
|
79 | 2023-10-24T21:42:23.059Z | INFO | crucible-agent (datafile): path is "/data/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef"
|
80 | 2023-10-24T21:42:23.072Z | INFO | crucible-agent (datafile): dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef
|
81 | 2023-10-24T21:42:23.083Z | INFO | crucible-agent (datafile): region e068d4fe-afd0-4bf4-bd65-d0c6c8429cef state: Created -> Tombstoned
|
82 | 2023-10-24T21:42:23.083Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
83 | 2023-10-24T21:42:23.083Z | INFO | crucible-agent (dropshot): request completed
latency_us = 24040
local_addr = [fd00:1122:3344:101::14]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:33137
req_id = d0375838-611d-4cbb-b194-8648540609cf
response_code = 204
uri = /crucible/0/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef
|
84 | 2023-10-24T21:42:23.083Z | INFO | crucible-agent (dropshot): request completed
latency_us = 22
local_addr = [fd00:1122:3344:101::14]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:33137
req_id = a6d6b8b9-16ae-4da3-8dcf-570833b4af7b
response_code = 200
uri = /crucible/0/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef
|
85 | 2023-10-24T21:42:23.084Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-e068d4fe-afd0-4bf4-bd65-d0c6c8429cef (instance states: (Some(Online), None))
|
86 | 2023-10-24T21:42:23.093Z | INFO | crucible-agent (worker): SMF ok!
|
87 | 2023-10-24T21:42:23.106Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef"
region = e068d4fe-afd0-4bf4-bd65-d0c6c8429cef
|
88 | 2023-10-24T21:42:23.165Z | INFO | crucible-agent (datafile): region e068d4fe-afd0-4bf4-bd65-d0c6c8429cef state: Tombstoned -> Destroyed
|
89 | 2023-10-24T21:42:23.199Z | INFO | crucible-agent (dropshot): request completed
latency_us = 102
local_addr = [fd00:1122:3344:101::14]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:33137
req_id = 5b4cce1c-9c95-4fde-b08f-ce1e950a7623
response_code = 200
uri = /crucible/0/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef
|