[ Nov 30 05:05:37 Enabled. ] [ Nov 30 05:05:37 Rereading configuration. ] [ Nov 30 05:05:39 Rereading configuration. ] [ Nov 30 05:05:41 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=oxControlService11 ++ 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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/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 + [[ oxControlService11 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService11 ipadm: Could not delete oxControlService11: Interface does not exist + true + ipadm create-if -t oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService11 + ipadm show-addr oxControlService11/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService11/ll + ipadm show-addr oxControlService11/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::12 oxControlService11/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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::12]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:05:42.118191872Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:05:42.128605113Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:05:42.128624674Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:05:42.337514416Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.664692372Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:33393"} {"msg":"region 59e23f55-3ca9-4803-9ef0-552ef34f1d69 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.718957424Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.72022072Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.725680026Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"uri":"/crucible/0/regions","method":"POST","req_id":"602b1d84-30d3-483f-9e82-72f7df0d4b28","remote_addr":"[fd00:1122:3344:101::a]:33393","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":23251,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/59e23f55-3ca9-4803-9ef0-552ef34f1d69","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.73199481Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/59e23f55-3ca9-4803-9ef0-552ef34f1d69","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.732011981Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"59e23f55-3ca9-4803-9ef0-552ef34f1d69\"), 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/59e23f55-3ca9-4803-9ef0-552ef34f1d69\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.804008278Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"region":"59e23f55-3ca9-4803-9ef0-552ef34f1d69","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.924949275Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"uri":"/crucible/0/regions","method":"POST","req_id":"294cba82-580a-48dc-aa8e-572d951376ce","remote_addr":"[fd00:1122:3344:101::a]:33393","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":85,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.040947016Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"region":"59e23f55-3ca9-4803-9ef0-552ef34f1d69","component":"worker"} {"msg":"region 59e23f55-3ca9-4803-9ef0-552ef34f1d69 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.040979932Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.041064712Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-59e23f55-3ca9-4803-9ef0-552ef34f1d69","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.043408018Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-59e23f55-3ca9-4803-9ef0-552ef34f1d69","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.047339892Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.06186678Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-59e23f55-3ca9-4803-9ef0-552ef34f1d69","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.066485588Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/59e23f55-3ca9-4803-9ef0-552ef34f1d69","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.071806051Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.073838384Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.073922226Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.073981857Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.078022663Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.083662552Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.214493778Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"uri":"/crucible/0/regions","method":"POST","req_id":"682a098d-2dcf-46a4-9a82-a225bcc3006b","remote_addr":"[fd00:1122:3344:101::a]:33393","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.374610426Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:39041"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.37951041Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"uri":"/crucible/0/regions/59e23f55-3ca9-4803-9ef0-552ef34f1d69","method":"GET","req_id":"1c31353b-5bb8-475a-9d8a-869ebe3eaa52","remote_addr":"[fd00:1122:3344:101::a]:39041","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":4874,"response_code":"200"} {"msg":"path is \"/data/regions/59e23f55-3ca9-4803-9ef0-552ef34f1d69\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.382168706Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/59e23f55-3ca9-4803-9ef0-552ef34f1d69","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.394567089Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"datafile"} {"msg":"region 59e23f55-3ca9-4803-9ef0-552ef34f1d69 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.403041649Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.403332555Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.403393206Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"uri":"/crucible/0/regions/59e23f55-3ca9-4803-9ef0-552ef34f1d69","method":"DELETE","req_id":"1222427d-b39d-4b94-ae0c-4308275feee7","remote_addr":"[fd00:1122:3344:101::a]:39041","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":23740,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.40355747Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"uri":"/crucible/0/regions/59e23f55-3ca9-4803-9ef0-552ef34f1d69","method":"GET","req_id":"a09b9833-118d-4eea-84c0-bdf4957c150b","remote_addr":"[fd00:1122:3344:101::a]:39041","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":27,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-59e23f55-3ca9-4803-9ef0-552ef34f1d69 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.404421848Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.41626818Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/59e23f55-3ca9-4803-9ef0-552ef34f1d69\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.42477805Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"region":"59e23f55-3ca9-4803-9ef0-552ef34f1d69","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.480915662Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"uri":"/crucible/0/regions/59e23f55-3ca9-4803-9ef0-552ef34f1d69","method":"GET","req_id":"867c9789-a407-4400-b26f-d7f775cfe720","remote_addr":"[fd00:1122:3344:101::a]:39041","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":86,"response_code":"200"} {"msg":"region 59e23f55-3ca9-4803-9ef0-552ef34f1d69 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.481107916Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.542178182Z","hostname":"oxz_crucible_8d278c30-8aba-4af3-a762-23e0e8020e30","pid":21437,"uri":"/crucible/0/regions/59e23f55-3ca9-4803-9ef0-552ef34f1d69","method":"GET","req_id":"7f8b188c-cbc4-4ccb-aab9-f0c403c8946d","remote_addr":"[fd00:1122:3344:101::a]:39041","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":42,"response_code":"200"}