[ Dec 5 05:24:26 Enabled. ] [ Dec 5 05:24:26 Rereading configuration. ] [ Dec 5 05:24:27 Rereading configuration. ] [ Dec 5 05:24:28 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=oxControlService15 ++ 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::18 ++ 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 + [[ oxControlService15 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService15 ipadm: Could not delete oxControlService15: Interface does not exist + true + ipadm create-if -t oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService15 + ipadm show-addr oxControlService15/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService15/ll + ipadm show-addr oxControlService15/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService15/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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:24:28.951122337Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:24:28.955077268Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:24:28.955096128Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:24:29.068052112Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.301190509Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:53921"} {"msg":"region 83ce2fb5-1379-4b49-9785-66ed9d4a8f11 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.37794682Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.3792322Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.383246192Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"uri":"/crucible/0/regions","method":"POST","req_id":"09872ab4-e6bd-4963-9b96-29e9d99594cc","remote_addr":"[fd00:1122:3344:101::a]:53921","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":17150,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/83ce2fb5-1379-4b49-9785-66ed9d4a8f11","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.389461624Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/83ce2fb5-1379-4b49-9785-66ed9d4a8f11","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.389474039Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"83ce2fb5-1379-4b49-9785-66ed9d4a8f11\"), 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/83ce2fb5-1379-4b49-9785-66ed9d4a8f11\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.442085112Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"region":"83ce2fb5-1379-4b49-9785-66ed9d4a8f11","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.616617006Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"uri":"/crucible/0/regions","method":"POST","req_id":"1dedbcd0-dd7f-4401-a7a3-071a7f8f0ca7","remote_addr":"[fd00:1122:3344:101::a]:53921","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":85,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.62374297Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"region":"83ce2fb5-1379-4b49-9785-66ed9d4a8f11","component":"worker"} {"msg":"region 83ce2fb5-1379-4b49-9785-66ed9d4a8f11 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.62376925Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.623910544Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-83ce2fb5-1379-4b49-9785-66ed9d4a8f11","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.626447152Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-83ce2fb5-1379-4b49-9785-66ed9d4a8f11","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.629588404Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.645867757Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-83ce2fb5-1379-4b49-9785-66ed9d4a8f11","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.649872839Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/83ce2fb5-1379-4b49-9785-66ed9d4a8f11","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.654726433Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.656821909Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.65688848Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.656932361Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.662058149Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:34.668114358Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:35.066548269Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"uri":"/crucible/0/regions","method":"POST","req_id":"b7e84465-5dd3-4d46-a1e4-67c7e7703b44","remote_addr":"[fd00:1122:3344:101::a]:53921","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:35.676096325Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:47606"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:35.67629613Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"uri":"/crucible/0/regions/83ce2fb5-1379-4b49-9785-66ed9d4a8f11","method":"GET","req_id":"674ad0d5-3b78-4aa2-8a4d-f3ca4077bab6","remote_addr":"[fd00:1122:3344:101::a]:47606","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":173,"response_code":"200"} {"msg":"path is \"/data/regions/83ce2fb5-1379-4b49-9785-66ed9d4a8f11\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:35.677253772Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/83ce2fb5-1379-4b49-9785-66ed9d4a8f11","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:35.68633886Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"datafile"} {"msg":"region 83ce2fb5-1379-4b49-9785-66ed9d4a8f11 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:35.694756883Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:35.694927917Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:35.694984009Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"uri":"/crucible/0/regions/83ce2fb5-1379-4b49-9785-66ed9d4a8f11","method":"DELETE","req_id":"6bdb4ea1-8276-4b24-b75d-94d645366e4d","remote_addr":"[fd00:1122:3344:101::a]:47606","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":18530,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:35.695148212Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"uri":"/crucible/0/regions/83ce2fb5-1379-4b49-9785-66ed9d4a8f11","method":"GET","req_id":"4ddccdb2-30d0-4c7e-8692-05608cb01a9d","remote_addr":"[fd00:1122:3344:101::a]:47606","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":27,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-83ce2fb5-1379-4b49-9785-66ed9d4a8f11 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:35.696305099Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:35.700483605Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/83ce2fb5-1379-4b49-9785-66ed9d4a8f11\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:35.710999986Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"region":"83ce2fb5-1379-4b49-9785-66ed9d4a8f11","component":"worker"} {"msg":"region 83ce2fb5-1379-4b49-9785-66ed9d4a8f11 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:35.756214063Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:25:35.762424355Z","hostname":"oxz_crucible_6cf8cdef-26af-4693-b210-bbd682890a02","pid":19398,"uri":"/crucible/0/regions/83ce2fb5-1379-4b49-9785-66ed9d4a8f11","method":"GET","req_id":"7707744d-5f89-4d50-9590-c2a26840e4ac","remote_addr":"[fd00:1122:3344:101::a]:47606","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":100,"response_code":"200"}