[ Nov 6 23:51:29 Enabled. ] [ Nov 6 23:51:29 Rereading configuration. ] [ Nov 6 23:51:31 Rereading configuration. ] [ Nov 6 23:51:33 Executing start method ("/opt/oxide/lib/svc/manifest/crucible/agent.sh"). ] + . /lib/svc/share/smf_include.sh ++ SMF_EXIT_OK=0 ++ SMF_EXIT_NODAEMON=94 ++ SMF_EXIT_ERR_FATAL=95 ++ SMF_EXIT_ERR_CONFIG=96 ++ SMF_EXIT_MON_DEGRADE=97 ++ SMF_EXIT_MON_OFFLINE=98 ++ SMF_EXIT_ERR_NOSMF=99 ++ SMF_EXIT_ERR_PERM=100 ++ svcprop -c -p config/datalink svc:/oxide/crucible/agent:default + DATALINK=oxControlService22 ++ svcprop -c -p config/gateway svc:/oxide/crucible/agent:default + GATEWAY=fd00:1122:3344:101::1 ++ svcprop -c -p config/dataset svc:/oxide/crucible/agent:default + DATASET=oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::15 ++ svcprop -c -p config/listen_port svc:/oxide/crucible/agent:default + LISTEN_PORT=32345 ++ svcprop -c -p config/portbase svc:/oxide/crucible/agent:default + PORTBASE=19000 ++ svcprop -c -p config/downstairs_prefix svc:/oxide/crucible/agent:default + DOWNSTAIRS_PREFIX=downstairs ++ svcprop -c -p config/snapshot_prefix svc:/oxide/crucible/agent:default + SNAPSHOT_PREFIX=snapshot + [[ oxControlService22 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService22 ipadm: Could not delete oxControlService22: Interface does not exist + true + ipadm create-if -t oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 + ipadm show-addr oxControlService22/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService22/ll + ipadm show-addr oxControlService22/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService22/omicron6 + route get -inet6 default -inet6 fd00:1122:3344:101::1 default: not in table + route add -inet6 default -inet6 fd00:1122:3344:101::1 add net default: gateway fd00:1122:3344:101::1 + args=('-D' '/opt/oxide/crucible/bin/crucible-downstairs' '--dataset' "$DATASET" '-l' "[$LISTEN_ADDR]:$LISTEN_PORT" '-P' "$PORTBASE" '-p' "$DOWNSTAIRS_PREFIX" '-s' "$SNAPSHOT_PREFIX") + exec /opt/oxide/crucible/bin/crucible-agent run -D /opt/oxide/crucible/bin/crucible-downstairs --dataset oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:51:33.913283685Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:51:33.914229569Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:51:33.914243979Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:51:34.066676932Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.119470956Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:62650"} {"msg":"region 45e8ada5-8285-4799-9f6f-7143f0ecb4ea state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.135226393Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.138716423Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"uri":"/crucible/0/regions","method":"POST","req_id":"7454b1c7-3dbf-4e65-a5d7-14a467cc32cd","remote_addr":"[fd00:1122:3344:101::b]:62650","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":5700,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.138760944Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/45e8ada5-8285-4799-9f6f-7143f0ecb4ea","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.148094988Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/45e8ada5-8285-4799-9f6f-7143f0ecb4ea","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.148125778Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"45e8ada5-8285-4799-9f6f-7143f0ecb4ea\"), 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/45e8ada5-8285-4799-9f6f-7143f0ecb4ea\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.214061057Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"region":"45e8ada5-8285-4799-9f6f-7143f0ecb4ea","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.375727453Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"uri":"/crucible/0/regions","method":"POST","req_id":"714a219c-f421-491d-9307-87e6dae9620f","remote_addr":"[fd00:1122:3344:101::b]:62650","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":83,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.472162751Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"region":"45e8ada5-8285-4799-9f6f-7143f0ecb4ea","component":"worker"} {"msg":"region 45e8ada5-8285-4799-9f6f-7143f0ecb4ea state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.472200641Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.472447325Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-45e8ada5-8285-4799-9f6f-7143f0ecb4ea","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.472903651Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-45e8ada5-8285-4799-9f6f-7143f0ecb4ea","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.476109147Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.486612508Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-45e8ada5-8285-4799-9f6f-7143f0ecb4ea","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.490266271Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/45e8ada5-8285-4799-9f6f-7143f0ecb4ea","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.491022912Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.491095663Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.491139364Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.491178164Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.495867372Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.506722648Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.77236657Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"uri":"/crucible/0/regions","method":"POST","req_id":"7a997bf4-8806-4a96-971d-3565e9be1a49","remote_addr":"[fd00:1122:3344:101::b]:62650","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":86,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.45212144Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:44431"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.483760315Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"uri":"/crucible/0/regions/45e8ada5-8285-4799-9f6f-7143f0ecb4ea","method":"GET","req_id":"607ecd44-3920-4e5e-9716-f1029a55af8d","remote_addr":"[fd00:1122:3344:101::b]:44431","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":134,"response_code":"200"} {"msg":"path is \"/data/regions/45e8ada5-8285-4799-9f6f-7143f0ecb4ea\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.48408119Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/45e8ada5-8285-4799-9f6f-7143f0ecb4ea","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.496956755Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"datafile"} {"msg":"region 45e8ada5-8285-4799-9f6f-7143f0ecb4ea state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.507512947Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.507698159Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.507759911Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"uri":"/crucible/0/regions/45e8ada5-8285-4799-9f6f-7143f0ecb4ea","method":"DELETE","req_id":"d09948d8-4994-4cfc-bb8b-1acd2772dee7","remote_addr":"[fd00:1122:3344:101::b]:44431","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":23726,"response_code":"204"} {"msg":"disabling downstairs instance: downstairs-45e8ada5-8285-4799-9f6f-7143f0ecb4ea (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.508769485Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.508981278Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"uri":"/crucible/0/regions/45e8ada5-8285-4799-9f6f-7143f0ecb4ea","method":"GET","req_id":"bbd80bb9-9a28-4a84-97e5-3c262edcfc61","remote_addr":"[fd00:1122:3344:101::b]:44431","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.512760232Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/45e8ada5-8285-4799-9f6f-7143f0ecb4ea\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.524726495Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"region":"45e8ada5-8285-4799-9f6f-7143f0ecb4ea","component":"worker"} {"msg":"region 45e8ada5-8285-4799-9f6f-7143f0ecb4ea state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.608855905Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.613129656Z","hostname":"oxz_crucible_c6ccf119-d081-4357-a12a-ccf704591da1","pid":22554,"uri":"/crucible/0/regions/45e8ada5-8285-4799-9f6f-7143f0ecb4ea","method":"GET","req_id":"0a472b3f-34e5-4875-b310-7fc893577a57","remote_addr":"[fd00:1122:3344:101::b]:44431","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":76,"response_code":"200"}