[ Feb 4 18:23:18 Enabled. ] [ Feb 4 18:23:18 Rereading configuration. ] [ Feb 4 18:23:20 Rereading configuration. ] [ Feb 4 18:23: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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/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 + [[ 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::17 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:23:23.57232991Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:23:23.585355424Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:23:23.585407885Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:23:23.746690752Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.409875829Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:58410"} {"msg":"region a426e5b7-38f2-4a4e-bd38-452b6fec773e state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.448234764Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.448456436Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"uri":"/crucible/0/regions","method":"POST","req_id":"1c80cc28-2205-46b1-b6f3-16f6486e0859","remote_addr":"[fd00:1122:3344:101::b]:58410","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":2377,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.453177136Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/a426e5b7-38f2-4a4e-bd38-452b6fec773e","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.462773057Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/a426e5b7-38f2-4a4e-bd38-452b6fec773e","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.462806988Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"a426e5b7-38f2-4a4e-bd38-452b6fec773e\"), 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/a426e5b7-38f2-4a4e-bd38-452b6fec773e\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.515334641Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"region":"a426e5b7-38f2-4a4e-bd38-452b6fec773e","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.717392413Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"uri":"/crucible/0/regions","method":"POST","req_id":"75d9b79a-e230-42e5-9ae5-caeef5a093ef","remote_addr":"[fd00:1122:3344:101::b]:58410","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":86,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.893904983Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"region":"a426e5b7-38f2-4a4e-bd38-452b6fec773e","component":"worker"} {"msg":"region a426e5b7-38f2-4a4e-bd38-452b6fec773e state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.893948013Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.894081855Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-a426e5b7-38f2-4a4e-bd38-452b6fec773e","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.894556261Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-a426e5b7-38f2-4a4e-bd38-452b6fec773e","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.898086235Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.917984367Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-a426e5b7-38f2-4a4e-bd38-452b6fec773e","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.923932992Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/a426e5b7-38f2-4a4e-bd38-452b6fec773e","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.924672631Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.924767572Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.924812123Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.924852573Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.928787123Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.932991256Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.231370265Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"uri":"/crucible/0/regions","method":"POST","req_id":"1b0e190e-0b61-4539-a3ba-bfae9c4082b6","remote_addr":"[fd00:1122:3344:101::b]:58410","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":80,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.502310147Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:54469"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.502449979Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"uri":"/crucible/0/regions/a426e5b7-38f2-4a4e-bd38-452b6fec773e","method":"GET","req_id":"c31f6126-a813-4d47-983c-71b38ee24291","remote_addr":"[fd00:1122:3344:101::b]:54469","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":105,"response_code":"200"} {"msg":"path is \"/data/regions/a426e5b7-38f2-4a4e-bd38-452b6fec773e\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.502714472Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/a426e5b7-38f2-4a4e-bd38-452b6fec773e","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.512363594Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"datafile"} {"msg":"region a426e5b7-38f2-4a4e-bd38-452b6fec773e state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.520860912Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.521058604Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.521087774Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"uri":"/crucible/0/regions/a426e5b7-38f2-4a4e-bd38-452b6fec773e","method":"DELETE","req_id":"694c97d8-d420-4846-8b79-ca90a873d119","remote_addr":"[fd00:1122:3344:101::b]:54469","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":18418,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.521310307Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"uri":"/crucible/0/regions/a426e5b7-38f2-4a4e-bd38-452b6fec773e","method":"GET","req_id":"22fe6b04-2804-4b50-bab9-0da7dc13659f","remote_addr":"[fd00:1122:3344:101::b]:54469","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":20,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-a426e5b7-38f2-4a4e-bd38-452b6fec773e (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.522426731Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.526479743Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/a426e5b7-38f2-4a4e-bd38-452b6fec773e\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.536760442Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"region":"a426e5b7-38f2-4a4e-bd38-452b6fec773e","component":"worker"} {"msg":"region a426e5b7-38f2-4a4e-bd38-452b6fec773e state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.589245785Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.630318944Z","hostname":"oxz_crucible_61f65969-8cd7-442f-bf76-630442736cbe","pid":22031,"uri":"/crucible/0/regions/a426e5b7-38f2-4a4e-bd38-452b6fec773e","method":"GET","req_id":"3a10e940-ebf6-4a07-acf2-3ca05b04efb6","remote_addr":"[fd00:1122:3344:101::b]:54469","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":667,"response_code":"200"}