1 | | [ Sep 20 03:50:23 Enabled. ] |
2 | | [ Sep 20 03:50:23 Rereading configuration. ] |
3 | | [ Sep 20 03:50:25 Rereading configuration. ] |
4 | | [ Sep 20 03:50:26 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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible |
20 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
21 | | + LISTEN_ADDR=fd00:1122:3344:101::12 |
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::12 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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::12]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2023-09-20T03:50:27.631Z | INFO | crucible-agent: dataset: "oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible"
|
52 | 2023-09-20T03:50:27.637Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::12]:32345
|
53 | 2023-09-20T03:50:27.637Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-09-20T03:50:27.830Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::12]:32345
|
55 | 2023-09-20T03:51:41.897Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::b]:37619
|
56 | 2023-09-20T03:51:41.937Z | INFO | crucible-agent (datafile): region e254180d-41a0-4fa6-acba-8464956708e9 state: Requested
|
57 | 2023-09-20T03:51:41.946Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
58 | 2023-09-20T03:51:41.949Z | INFO | crucible-agent (dropshot): request completed
latency_us = 16427
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::b]:37619
req_id = 5ba23736-59ee-4625-b256-eb04a9b0bba9
response_code = 200
uri = /crucible/0/regions
|
59 | 2023-09-20T03:51:41.955Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/e254180d-41a0-4fa6-acba-8464956708e9
|
60 | 2023-09-20T03:51:41.955Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/e254180d-41a0-4fa6-acba-8464956708e9
|
61 | 2023-09-20T03:51:42.001Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("e254180d-41a0-4fa6-acba-8464956708e9"), 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/e254180d-41a0-4fa6-acba-8464956708e9"
region = e254180d-41a0-4fa6-acba-8464956708e9
|
62 | 2023-09-20T03:51:42.197Z | INFO | crucible-agent (worker): region files created ok
region = e254180d-41a0-4fa6-acba-8464956708e9
|
63 | 2023-09-20T03:51:42.197Z | INFO | crucible-agent (datafile): region e254180d-41a0-4fa6-acba-8464956708e9 state: Requested -> Created
|
64 | 2023-09-20T03:51:42.198Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
65 | 2023-09-20T03:51:42.209Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-e254180d-41a0-4fa6-acba-8464956708e9
|
66 | 2023-09-20T03:51:42.213Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-e254180d-41a0-4fa6-acba-8464956708e9
|
67 | 2023-09-20T03:51:42.226Z | INFO | crucible-agent (worker): creating config property group
|
68 | 2023-09-20T03:51:42.228Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-e254180d-41a0-4fa6-acba-8464956708e9
|
69 | 2023-09-20T03:51:42.229Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/e254180d-41a0-4fa6-acba-8464956708e9
|
70 | 2023-09-20T03:51:42.229Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
71 | 2023-09-20T03:51:42.229Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
|
72 | 2023-09-20T03:51:42.229Z | INFO | crucible-agent (worker): commit
|
73 | 2023-09-20T03:51:42.233Z | INFO | crucible-agent (worker): ok!
|
74 | 2023-09-20T03:51:42.242Z | INFO | crucible-agent (worker): SMF ok!
|
75 | 2023-09-20T03:51:42.245Z | INFO | crucible-agent (dropshot): request completed
latency_us = 72
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::b]:37619
req_id = c09c0b5e-9204-4138-a795-13ba793dd0da
response_code = 200
uri = /crucible/0/regions
|
76 | 2023-09-20T03:51:42.612Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::b]:61467
|
77 | 2023-09-20T03:51:42.643Z | INFO | crucible-agent (dropshot): request completed
latency_us = 165
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:61467
req_id = bcc9f5cf-dfca-4856-92dd-e0b33f41ed97
response_code = 200
uri = /crucible/0/regions/e254180d-41a0-4fa6-acba-8464956708e9
|
78 | 2023-09-20T03:51:42.643Z | INFO | crucible-agent (datafile): path is "/data/regions/e254180d-41a0-4fa6-acba-8464956708e9"
|
79 | 2023-09-20T03:51:42.655Z | INFO | crucible-agent (datafile): dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/e254180d-41a0-4fa6-acba-8464956708e9
|
80 | 2023-09-20T03:51:42.664Z | INFO | crucible-agent (datafile): region e254180d-41a0-4fa6-acba-8464956708e9 state: Created -> Tombstoned
|
81 | 2023-09-20T03:51:42.664Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
82 | 2023-09-20T03:51:42.664Z | INFO | crucible-agent (dropshot): request completed
latency_us = 21472
local_addr = [fd00:1122:3344:101::12]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::b]:61467
req_id = 6f765d95-b684-4920-8e42-c48df667f56e
response_code = 204
uri = /crucible/0/regions/e254180d-41a0-4fa6-acba-8464956708e9
|
83 | 2023-09-20T03:51:42.667Z | INFO | crucible-agent (dropshot): request completed
latency_us = 511
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:61467
req_id = e96f8d4f-24c6-45c3-aa18-7c59d83a5c67
response_code = 200
uri = /crucible/0/regions/e254180d-41a0-4fa6-acba-8464956708e9
|
84 | 2023-09-20T03:51:42.675Z | ERRO | crucible-agent (worker): remove downstairs instance: downstairs-e254180d-41a0-4fa6-acba-8464956708e9
|
85 | 2023-09-20T03:51:42.676Z | INFO | crucible-agent (worker): instance states: (Some(Online), None)
|
86 | 2023-09-20T03:51:42.680Z | INFO | crucible-agent (worker): SMF ok!
|
87 | 2023-09-20T03:51:42.691Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/e254180d-41a0-4fa6-acba-8464956708e9"
region = e254180d-41a0-4fa6-acba-8464956708e9
|
88 | 2023-09-20T03:51:42.747Z | INFO | crucible-agent (datafile): region e254180d-41a0-4fa6-acba-8464956708e9 state: Tombstoned -> Destroyed
|
89 | 2023-09-20T03:51:42.758Z | INFO | crucible-agent (dropshot): request completed
latency_us = 66
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:61467
req_id = a092e64e-0c15-4b93-87ef-0e17a0b75d5d
response_code = 200
uri = /crucible/0/regions/e254180d-41a0-4fa6-acba-8464956708e9
|
90 | 2023-09-20T03:51:44.913Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::b]:53469
|
91 | 2023-09-20T03:51:44.913Z | INFO | crucible-agent (datafile): region 6dd50b14-a5bb-419d-ace1-4817c219a234 state: Requested
|
92 | 2023-09-20T03:51:44.913Z | INFO | crucible-agent (dropshot): request completed
latency_us = 234
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::b]:53469
req_id = 73252d3f-0009-478c-87c7-80b4b168f1f9
response_code = 200
uri = /crucible/0/regions
|
93 | 2023-09-20T03:51:44.913Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
94 | 2023-09-20T03:51:44.923Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/6dd50b14-a5bb-419d-ace1-4817c219a234
|
95 | 2023-09-20T03:51:44.923Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/6dd50b14-a5bb-419d-ace1-4817c219a234
|
96 | 2023-09-20T03:51:44.983Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("6dd50b14-a5bb-419d-ace1-4817c219a234"), 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/6dd50b14-a5bb-419d-ace1-4817c219a234"
region = 6dd50b14-a5bb-419d-ace1-4817c219a234
|
97 | 2023-09-20T03:51:45.044Z | INFO | crucible-agent (worker): region files created ok
region = 6dd50b14-a5bb-419d-ace1-4817c219a234
|
98 | 2023-09-20T03:51:45.044Z | INFO | crucible-agent (datafile): region 6dd50b14-a5bb-419d-ace1-4817c219a234 state: Requested -> Created
|
99 | 2023-09-20T03:51:45.044Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
100 | 2023-09-20T03:51:45.055Z | ERRO | crucible-agent (worker): remove downstairs instance: downstairs-e254180d-41a0-4fa6-acba-8464956708e9
|
101 | 2023-09-20T03:51:45.056Z | INFO | crucible-agent (worker): instance states: (Some(Disabled), None)
|
102 | 2023-09-20T03:51:45.056Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-6dd50b14-a5bb-419d-ace1-4817c219a234
|
103 | 2023-09-20T03:51:45.059Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-6dd50b14-a5bb-419d-ace1-4817c219a234
|
104 | 2023-09-20T03:51:45.070Z | INFO | crucible-agent (worker): creating config property group
|
105 | 2023-09-20T03:51:45.073Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-6dd50b14-a5bb-419d-ace1-4817c219a234
|
106 | 2023-09-20T03:51:45.073Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/6dd50b14-a5bb-419d-ace1-4817c219a234
|
107 | 2023-09-20T03:51:45.073Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
108 | 2023-09-20T03:51:45.073Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
|
109 | 2023-09-20T03:51:45.073Z | INFO | crucible-agent (worker): commit
|
110 | 2023-09-20T03:51:45.078Z | INFO | crucible-agent (worker): ok!
|
111 | 2023-09-20T03:51:45.084Z | INFO | crucible-agent (worker): SMF ok!
|
112 | 2023-09-20T03:51:45.161Z | INFO | crucible-agent (dropshot): request completed
latency_us = 75
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::b]:53469
req_id = 15009fa2-815e-4a7a-9701-9178ed7719a5
response_code = 200
uri = /crucible/0/regions
|
113 | 2023-09-20T03:54:37.239Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::b]:49309
|
114 | 2023-09-20T03:54:37.239Z | INFO | crucible-agent (dropshot): request completed
latency_us = 52
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:49309
req_id = af8594bf-afc3-4b42-8a9a-8432d9fe124a
response_code = 200
uri = /crucible/0/regions/6dd50b14-a5bb-419d-ace1-4817c219a234
|
115 | 2023-09-20T03:54:37.240Z | INFO | crucible-agent (datafile): path is "/data/regions/6dd50b14-a5bb-419d-ace1-4817c219a234"
|
116 | 2023-09-20T03:54:37.251Z | INFO | crucible-agent (datafile): dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/6dd50b14-a5bb-419d-ace1-4817c219a234
|
117 | 2023-09-20T03:54:37.262Z | INFO | crucible-agent (datafile): region 6dd50b14-a5bb-419d-ace1-4817c219a234 state: Created -> Tombstoned
|
118 | 2023-09-20T03:54:37.262Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
119 | 2023-09-20T03:54:37.262Z | INFO | crucible-agent (dropshot): request completed
latency_us = 22728
local_addr = [fd00:1122:3344:101::12]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::b]:49309
req_id = 0bc7e0d1-d0f4-454b-933e-dda5976fe305
response_code = 204
uri = /crucible/0/regions/6dd50b14-a5bb-419d-ace1-4817c219a234
|
120 | 2023-09-20T03:54:37.265Z | INFO | crucible-agent (dropshot): request completed
latency_us = 446
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:49309
req_id = 8e2c1f6c-7da2-490a-9210-50f7e89b8041
response_code = 200
uri = /crucible/0/regions/6dd50b14-a5bb-419d-ace1-4817c219a234
|
121 | 2023-09-20T03:54:37.273Z | ERRO | crucible-agent (worker): remove downstairs instance: downstairs-e254180d-41a0-4fa6-acba-8464956708e9
|
122 | 2023-09-20T03:54:37.273Z | INFO | crucible-agent (worker): instance states: (Some(Disabled), None)
|
123 | 2023-09-20T03:54:37.273Z | ERRO | crucible-agent (worker): remove downstairs instance: downstairs-6dd50b14-a5bb-419d-ace1-4817c219a234
|
124 | 2023-09-20T03:54:37.274Z | INFO | crucible-agent (worker): instance states: (Some(Online), None)
|
125 | 2023-09-20T03:54:37.288Z | INFO | crucible-agent (worker): SMF ok!
|
126 | 2023-09-20T03:54:37.299Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/6dd50b14-a5bb-419d-ace1-4817c219a234"
region = 6dd50b14-a5bb-419d-ace1-4817c219a234
|
127 | 2023-09-20T03:54:37.360Z | INFO | crucible-agent (datafile): region 6dd50b14-a5bb-419d-ace1-4817c219a234 state: Tombstoned -> Destroyed
|
128 | 2023-09-20T03:54:37.407Z | INFO | crucible-agent (dropshot): request completed
latency_us = 76
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:49309
req_id = bc3464f7-51d9-4442-8018-f9dc0d26c27c
response_code = 200
uri = /crucible/0/regions/6dd50b14-a5bb-419d-ace1-4817c219a234
|