[ Oct 18 19:05:22 Enabled. ] [ Oct 18 19:05:22 Rereading configuration. ] [ Oct 18 19:05:23 Rereading configuration. ] [ Oct 18 19:05:24 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=oxControlService22 ++ 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::15 ++ 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 + [[ oxControlService22 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService22 ipadm: Could not delete oxControlService22: Interface does not exist + true + ipadm create-if -t oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 + ipadm show-addr oxControlService22/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService22/ll + ipadm show-addr oxControlService22/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService22/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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:05:25.47905307Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:05:25.483816192Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:05:25.483828052Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:05:25.653176704Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.645278789Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:60681"} {"msg":"region 9d24c559-1db5-4423-b14c-e889e123caed state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.687526496Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.69203951Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"uri":"/crucible/0/regions","method":"POST","req_id":"d4dea289-6e35-4169-9eab-1c11bdfc64e6","remote_addr":"[fd00:1122:3344:101::c]:60681","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":11264,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.693136783Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9d24c559-1db5-4423-b14c-e889e123caed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.703033051Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9d24c559-1db5-4423-b14c-e889e123caed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.703054071Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"9d24c559-1db5-4423-b14c-e889e123caed\"), 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/9d24c559-1db5-4423-b14c-e889e123caed\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.756145256Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"region":"9d24c559-1db5-4423-b14c-e889e123caed","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.940389106Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"region":"9d24c559-1db5-4423-b14c-e889e123caed","component":"worker"} {"msg":"region 9d24c559-1db5-4423-b14c-e889e123caed state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.940431627Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.940513738Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-9d24c559-1db5-4423-b14c-e889e123caed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.941016615Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-9d24c559-1db5-4423-b14c-e889e123caed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.946166846Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.956698773Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-9d24c559-1db5-4423-b14c-e889e123caed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.959779001Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/9d24c559-1db5-4423-b14c-e889e123caed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.960282585Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.960347265Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.96038904Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.960427103Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.96965014Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.973662598Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:30.044458402Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"uri":"/crucible/0/regions","method":"POST","req_id":"2b5f0247-b60b-4c76-98ba-ae7908b3f86f","remote_addr":"[fd00:1122:3344:101::c]:60681","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.166575987Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:54573"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.229281318Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"uri":"/crucible/0/regions/9d24c559-1db5-4423-b14c-e889e123caed","method":"GET","req_id":"c0c30416-a66e-4aa3-afba-313b08f9893e","remote_addr":"[fd00:1122:3344:101::c]:54573","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":66,"response_code":"200"} {"msg":"path is \"/data/regions/9d24c559-1db5-4423-b14c-e889e123caed\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.229515222Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9d24c559-1db5-4423-b14c-e889e123caed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.242127977Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"datafile"} {"msg":"region 9d24c559-1db5-4423-b14c-e889e123caed state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.252762085Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.252931787Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.252997868Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"uri":"/crucible/0/regions/9d24c559-1db5-4423-b14c-e889e123caed","method":"DELETE","req_id":"d3c04485-c63f-4a3f-b8e3-94ddcf416d63","remote_addr":"[fd00:1122:3344:101::c]:54573","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":23509,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.25312883Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"uri":"/crucible/0/regions/9d24c559-1db5-4423-b14c-e889e123caed","method":"GET","req_id":"7a4a3bee-e881-42a1-90f3-f895955d8cb7","remote_addr":"[fd00:1122:3344:101::c]:54573","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":25,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-9d24c559-1db5-4423-b14c-e889e123caed (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.256426865Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.271487995Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9d24c559-1db5-4423-b14c-e889e123caed\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.283743375Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"region":"9d24c559-1db5-4423-b14c-e889e123caed","component":"worker"} {"msg":"region 9d24c559-1db5-4423-b14c-e889e123caed state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.338841771Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.383286788Z","hostname":"oxz_crucible_080ef9aa-1a90-405c-a87a-53d13296bef8","pid":20437,"uri":"/crucible/0/regions/9d24c559-1db5-4423-b14c-e889e123caed","method":"GET","req_id":"ee62f72a-2705-428f-8f84-91f3ce8c8518","remote_addr":"[fd00:1122:3344:101::c]:54573","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":79,"response_code":"200"}