[ Nov 6 23:51:28 Enabled. ] [ Nov 6 23:51:28 Rereading configuration. ] [ Nov 6 23:51:29 Rereading configuration. ] [ Nov 6 23:51:31 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::16 ++ 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::16 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:51:32.591922973Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:51:32.595345493Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:51:32.595355083Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:51:32.778181384Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:25.842760436Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:37400"} {"msg":"region d91fc639-0930-4d47-984b-bf5cddec6e0a state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:25.860122526Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:25.865815488Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"uri":"/crucible/0/regions","method":"POST","req_id":"26455022-c3cc-4676-badb-725a87f16aea","remote_addr":"[fd00:1122:3344:101::b]:37400","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":12102,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:25.865868488Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/d91fc639-0930-4d47-984b-bf5cddec6e0a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:25.877491776Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/d91fc639-0930-4d47-984b-bf5cddec6e0a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:25.877518536Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"d91fc639-0930-4d47-984b-bf5cddec6e0a\"), 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/d91fc639-0930-4d47-984b-bf5cddec6e0a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:25.937792423Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"region":"d91fc639-0930-4d47-984b-bf5cddec6e0a","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.128332985Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"uri":"/crucible/0/regions","method":"POST","req_id":"82e7ac35-6d8b-42e5-9fef-06e606116a13","remote_addr":"[fd00:1122:3344:101::b]:37400","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":82,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.204855156Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"region":"d91fc639-0930-4d47-984b-bf5cddec6e0a","component":"worker"} {"msg":"region d91fc639-0930-4d47-984b-bf5cddec6e0a state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.204900046Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.205194661Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-d91fc639-0930-4d47-984b-bf5cddec6e0a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.207649966Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-d91fc639-0930-4d47-984b-bf5cddec6e0a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.216330511Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.230751278Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-d91fc639-0930-4d47-984b-bf5cddec6e0a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.233815143Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/d91fc639-0930-4d47-984b-bf5cddec6e0a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.234529053Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.234619674Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.234655115Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.234769096Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.241155868Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.25170355Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.434614672Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"uri":"/crucible/0/regions","method":"POST","req_id":"890b6974-6c50-44cc-a825-d83bcd5fedf5","remote_addr":"[fd00:1122:3344:101::b]:37400","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":87,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:20.973306355Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:40633"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.004543914Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"uri":"/crucible/0/regions/d91fc639-0930-4d47-984b-bf5cddec6e0a","method":"GET","req_id":"c3dbc790-0fe1-417e-89a4-1c37dadc5578","remote_addr":"[fd00:1122:3344:101::b]:40633","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":186,"response_code":"200"} {"msg":"path is \"/data/regions/d91fc639-0930-4d47-984b-bf5cddec6e0a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.004751417Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/d91fc639-0930-4d47-984b-bf5cddec6e0a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.021112323Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"datafile"} {"msg":"region d91fc639-0930-4d47-984b-bf5cddec6e0a state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.031913468Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.032197402Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.032256903Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"uri":"/crucible/0/regions/d91fc639-0930-4d47-984b-bf5cddec6e0a","method":"DELETE","req_id":"8e1beab7-9e5b-4a93-90e4-0bdfdc162e85","remote_addr":"[fd00:1122:3344:101::b]:40633","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":27538,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.032430106Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"uri":"/crucible/0/regions/d91fc639-0930-4d47-984b-bf5cddec6e0a","method":"GET","req_id":"d457971e-bbe5-4cd3-a90e-3b4bdd1d1f53","remote_addr":"[fd00:1122:3344:101::b]:40633","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-d91fc639-0930-4d47-984b-bf5cddec6e0a (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.033381089Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.057573957Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/d91fc639-0930-4d47-984b-bf5cddec6e0a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.068560015Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"region":"d91fc639-0930-4d47-984b-bf5cddec6e0a","component":"worker"} {"msg":"region d91fc639-0930-4d47-984b-bf5cddec6e0a state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.152898919Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.176496179Z","hostname":"oxz_crucible_5699dec2-ece9-47af-bc5b-da5fbfc8d84f","pid":21717,"uri":"/crucible/0/regions/d91fc639-0930-4d47-984b-bf5cddec6e0a","method":"GET","req_id":"bd5aef7b-218a-44e0-b9fb-46d73f5062d0","remote_addr":"[fd00:1122:3344:101::b]:40633","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":66,"response_code":"200"}