[ Oct 22 04:53:52 Enabled. ] [ Oct 22 04:53:52 Rereading configuration. ] [ Oct 22 04:53:56 Rereading configuration. ] [ Oct 22 04:54:02 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=oxControlService12 ++ 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::12 ++ 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 + [[ oxControlService12 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService12 ipadm: Could not delete oxControlService12: Interface does not exist + true + ipadm create-if -t oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService12 + ipadm show-addr oxControlService12/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService12/ll + ipadm show-addr oxControlService12/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::12 oxControlService12/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::12]: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-10-22T04:54:02.658139834Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:02.658949474Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:02.658956704Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:02.88018087Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.290708389Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:36870"} {"msg":"region 14a9cfad-1caa-450a-9fb5-12bced5c9b72 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.367761397Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.373035618Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"uri":"/crucible/0/regions","method":"POST","req_id":"9968f970-a9c4-42ed-a4d6-b7682c8df7d5","remote_addr":"[fd00:1122:3344:101::b]:36870","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":15382,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.377728553Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/14a9cfad-1caa-450a-9fb5-12bced5c9b72","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.386385294Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/14a9cfad-1caa-450a-9fb5-12bced5c9b72","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.386413294Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"14a9cfad-1caa-450a-9fb5-12bced5c9b72\"), 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/14a9cfad-1caa-450a-9fb5-12bced5c9b72\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.444926705Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"region":"14a9cfad-1caa-450a-9fb5-12bced5c9b72","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.707473292Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"uri":"/crucible/0/regions","method":"POST","req_id":"5f0f0fb9-8862-4b08-aa8e-724b3db4829a","remote_addr":"[fd00:1122:3344:101::b]:36870","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":83,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.729857423Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"region":"14a9cfad-1caa-450a-9fb5-12bced5c9b72","component":"worker"} {"msg":"region 14a9cfad-1caa-450a-9fb5-12bced5c9b72 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.729881853Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.730015705Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-14a9cfad-1caa-450a-9fb5-12bced5c9b72","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.734961362Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-14a9cfad-1caa-450a-9fb5-12bced5c9b72","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.739356364Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.755678544Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-14a9cfad-1caa-450a-9fb5-12bced5c9b72","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.758636018Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/14a9cfad-1caa-450a-9fb5-12bced5c9b72","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.759280885Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.759370807Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.759415137Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.759455968Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.770113232Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.776951841Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.105812751Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"uri":"/crucible/0/regions","method":"POST","req_id":"9eac2dbc-a381-40c7-ab00-70023fe4ed17","remote_addr":"[fd00:1122:3344:101::b]:36870","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.637190268Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:46360"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.637322339Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"uri":"/crucible/0/regions/14a9cfad-1caa-450a-9fb5-12bced5c9b72","method":"GET","req_id":"934b08e6-b089-4858-ac40-30406d271ea0","remote_addr":"[fd00:1122:3344:101::b]:46360","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":90,"response_code":"200"} {"msg":"path is \"/data/regions/14a9cfad-1caa-450a-9fb5-12bced5c9b72\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.639902419Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/14a9cfad-1caa-450a-9fb5-12bced5c9b72","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.651252531Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"datafile"} {"msg":"region 14a9cfad-1caa-450a-9fb5-12bced5c9b72 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.660383088Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.66052759Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.66057606Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"uri":"/crucible/0/regions/14a9cfad-1caa-450a-9fb5-12bced5c9b72","method":"DELETE","req_id":"67a0089c-75ef-4517-b579-2c7ba519f6a0","remote_addr":"[fd00:1122:3344:101::b]:46360","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":20696,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.660703192Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"uri":"/crucible/0/regions/14a9cfad-1caa-450a-9fb5-12bced5c9b72","method":"GET","req_id":"72e9404b-c6e1-4aa0-b58f-6064ff542f2b","remote_addr":"[fd00:1122:3344:101::b]:46360","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-14a9cfad-1caa-450a-9fb5-12bced5c9b72 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.661632332Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.667035825Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/14a9cfad-1caa-450a-9fb5-12bced5c9b72\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.678132124Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"region":"14a9cfad-1caa-450a-9fb5-12bced5c9b72","component":"worker"} {"msg":"region 14a9cfad-1caa-450a-9fb5-12bced5c9b72 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.742282391Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.774385375Z","hostname":"oxz_crucible_efdf8ec2-cf4c-4fc4-9888-868910ea8454","pid":22409,"uri":"/crucible/0/regions/14a9cfad-1caa-450a-9fb5-12bced5c9b72","method":"GET","req_id":"1a08df6b-15af-4d28-a3fc-e54bcaa32d80","remote_addr":"[fd00:1122:3344:101::b]:46360","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":98,"response_code":"200"}