[ Oct 17 21:50:20 Enabled. ] [ Oct 17 21:50:20 Rereading configuration. ] [ Oct 17 21:50:20 Rereading configuration. ] [ Oct 17 21:50:22 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=oxControlService10 ++ 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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::13 ++ 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 + [[ oxControlService10 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService10 ipadm: Could not delete oxControlService10: Interface does not exist + true + ipadm create-if -t oxControlService10 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService10 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService10 + ipadm show-addr oxControlService10/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService10/ll + ipadm show-addr oxControlService10/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::13 oxControlService10/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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::13]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:50:22.757194856Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:50:22.758777228Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:50:22.758790288Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:50:22.886109129Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.588290648Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:56177"} {"msg":"region 616f7def-62f6-45e1-aa3c-9ac1746f8f00 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.625928479Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.637461325Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.637524086Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"uri":"/crucible/0/regions","method":"POST","req_id":"20648eee-344a-4665-9d91-fe9f5c5d78b1","remote_addr":"[fd00:1122:3344:101::b]:56177","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":21586,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/616f7def-62f6-45e1-aa3c-9ac1746f8f00","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.648107664Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/616f7def-62f6-45e1-aa3c-9ac1746f8f00","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.648137289Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"616f7def-62f6-45e1-aa3c-9ac1746f8f00\"), 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/616f7def-62f6-45e1-aa3c-9ac1746f8f00\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.707407703Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"region":"616f7def-62f6-45e1-aa3c-9ac1746f8f00","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.82383601Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"uri":"/crucible/0/regions","method":"POST","req_id":"54597015-2708-4acf-8c67-cee6021a0cae","remote_addr":"[fd00:1122:3344:101::b]:56177","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":103,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.959582281Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"region":"616f7def-62f6-45e1-aa3c-9ac1746f8f00","component":"worker"} {"msg":"region 616f7def-62f6-45e1-aa3c-9ac1746f8f00 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.959613121Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.959725223Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-616f7def-62f6-45e1-aa3c-9ac1746f8f00","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.962125415Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-616f7def-62f6-45e1-aa3c-9ac1746f8f00","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.965932877Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.979753134Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-616f7def-62f6-45e1-aa3c-9ac1746f8f00","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.982803016Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/616f7def-62f6-45e1-aa3c-9ac1746f8f00","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.983526575Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.983602556Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.983648587Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.983693128Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.99271735Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.001082103Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.443391479Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"uri":"/crucible/0/regions","method":"POST","req_id":"8fce735b-da50-474a-9fd1-b52cb46e639f","remote_addr":"[fd00:1122:3344:101::b]:56177","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":102,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.937435826Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:37792"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.937662879Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"uri":"/crucible/0/regions/616f7def-62f6-45e1-aa3c-9ac1746f8f00","method":"GET","req_id":"1912950e-1e1f-425e-935a-15cf6eb0b935","remote_addr":"[fd00:1122:3344:101::b]:37792","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":113,"response_code":"200"} {"msg":"path is \"/data/regions/616f7def-62f6-45e1-aa3c-9ac1746f8f00\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.937947493Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/616f7def-62f6-45e1-aa3c-9ac1746f8f00","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.950611545Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"datafile"} {"msg":"region 616f7def-62f6-45e1-aa3c-9ac1746f8f00 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.960446388Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.96059369Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.960658781Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"uri":"/crucible/0/regions/616f7def-62f6-45e1-aa3c-9ac1746f8f00","method":"DELETE","req_id":"b9964855-0869-42f7-8dfd-8f1530c010a3","remote_addr":"[fd00:1122:3344:101::b]:37792","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":22830,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.960791873Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"uri":"/crucible/0/regions/616f7def-62f6-45e1-aa3c-9ac1746f8f00","method":"GET","req_id":"6a72c728-7d88-4932-8579-47964a38c32a","remote_addr":"[fd00:1122:3344:101::b]:37792","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-616f7def-62f6-45e1-aa3c-9ac1746f8f00 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.961722606Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.966163236Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/616f7def-62f6-45e1-aa3c-9ac1746f8f00\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.978469342Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"region":"616f7def-62f6-45e1-aa3c-9ac1746f8f00","component":"worker"} {"msg":"region 616f7def-62f6-45e1-aa3c-9ac1746f8f00 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:24.033914784Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:24.047216004Z","hostname":"oxz_crucible_f38be4bf-a23c-4d29-bf85-6630ed04ab77","pid":20001,"uri":"/crucible/0/regions/616f7def-62f6-45e1-aa3c-9ac1746f8f00","method":"GET","req_id":"73eae9ca-cb09-44cc-b380-73c9e855df03","remote_addr":"[fd00:1122:3344:101::b]:37792","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":71,"response_code":"200"}