[ Nov 6 17:16:36 Enabled. ] [ Nov 6 17:16:36 Rereading configuration. ] [ Nov 6 17:16:38 Rereading configuration. ] [ Nov 6 17:16:39 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=oxControlService23 ++ 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::17 ++ 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 + [[ oxControlService23 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService23 ipadm: Could not delete oxControlService23: Interface does not exist + true + ipadm create-if -t oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService23 + ipadm show-addr oxControlService23/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService23/ll + ipadm show-addr oxControlService23/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService23/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::17]: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-06T17:16:39.943034031Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:16:39.946256385Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:16:39.946264045Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:16:40.051970628Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:31.731013844Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:43675"} {"msg":"region 75896ef7-318c-4817-b533-f718191ee18f state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:31.776484862Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:31.779244338Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"uri":"/crucible/0/regions","method":"POST","req_id":"246c9647-fa65-42f3-b1c4-25fa5c27d167","remote_addr":"[fd00:1122:3344:101::a]:43675","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":12930,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:31.780462718Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/75896ef7-318c-4817-b533-f718191ee18f","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:31.790184121Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/75896ef7-318c-4817-b533-f718191ee18f","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:31.790210621Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"75896ef7-318c-4817-b533-f718191ee18f\"), 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/75896ef7-318c-4817-b533-f718191ee18f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:31.837830895Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"region":"75896ef7-318c-4817-b533-f718191ee18f","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.014104765Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"region":"75896ef7-318c-4817-b533-f718191ee18f","component":"worker"} {"msg":"region 75896ef7-318c-4817-b533-f718191ee18f state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.014145566Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.014238147Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-75896ef7-318c-4817-b533-f718191ee18f","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.018510718Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-75896ef7-318c-4817-b533-f718191ee18f","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.022580437Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.033133713Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-75896ef7-318c-4817-b533-f718191ee18f","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.036145253Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/75896ef7-318c-4817-b533-f718191ee18f","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.036809344Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.036899275Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.036938076Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.036976526Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.041345419Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.054314456Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.096307636Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"uri":"/crucible/0/regions","method":"POST","req_id":"ddb2e815-4447-4b6c-a7ea-0686a1b03d34","remote_addr":"[fd00:1122:3344:101::a]:43675","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":74,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.479550787Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:55365"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.479665389Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"uri":"/crucible/0/regions/75896ef7-318c-4817-b533-f718191ee18f","method":"GET","req_id":"01f42e77-8576-4bd9-ac1c-2e38004cb1ac","remote_addr":"[fd00:1122:3344:101::a]:55365","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":89,"response_code":"200"} {"msg":"path is \"/data/regions/75896ef7-318c-4817-b533-f718191ee18f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.479813511Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/75896ef7-318c-4817-b533-f718191ee18f","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.490975508Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"datafile"} {"msg":"region 75896ef7-318c-4817-b533-f718191ee18f state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.501149477Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.50131199Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.501358241Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"uri":"/crucible/0/regions/75896ef7-318c-4817-b533-f718191ee18f","method":"DELETE","req_id":"3400464c-5e25-4c53-adf3-40d57994229c","remote_addr":"[fd00:1122:3344:101::a]:55365","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":21566,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.501514413Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"uri":"/crucible/0/regions/75896ef7-318c-4817-b533-f718191ee18f","method":"GET","req_id":"dab6af98-0e85-424d-9e43-4998f56c46fd","remote_addr":"[fd00:1122:3344:101::a]:55365","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-75896ef7-318c-4817-b533-f718191ee18f (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.502386968Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.507511584Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/75896ef7-318c-4817-b533-f718191ee18f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.519213899Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"region":"75896ef7-318c-4817-b533-f718191ee18f","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.565024873Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"uri":"/crucible/0/regions/75896ef7-318c-4817-b533-f718191ee18f","method":"GET","req_id":"ac6125b8-4494-4912-aa6c-af5454efdbf1","remote_addr":"[fd00:1122:3344:101::a]:55365","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":85,"response_code":"200"} {"msg":"region 75896ef7-318c-4817-b533-f718191ee18f state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.580663693Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:32.660260061Z","hostname":"oxz_crucible_dd47e4eb-0e06-4cdb-ab97-bb9d498c98c0","pid":25177,"uri":"/crucible/0/regions/75896ef7-318c-4817-b533-f718191ee18f","method":"GET","req_id":"b7c6468f-04bb-4258-b5db-d12e84d02783","remote_addr":"[fd00:1122:3344:101::a]:55365","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":28,"response_code":"200"}