[ Feb 1 08:58:54 Enabled. ] [ Feb 1 08:58:54 Rereading configuration. ] [ Feb 1 08:58:56 Rereading configuration. ] [ Feb 1 08:58:59 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=oxControlService13 ++ 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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::14 ++ 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 + [[ oxControlService13 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService13 ipadm: Could not delete oxControlService13: Interface does not exist + true + ipadm create-if -t oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService13 + ipadm show-addr oxControlService13/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService13/ll + ipadm show-addr oxControlService13/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService13/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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:00.265103186Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:00.270387742Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:00.270400238Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:00.411933821Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:47.857495877Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:39893"} {"msg":"region f3261056-9986-497f-bcd0-b4453b844e7b state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:47.945643923Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:47.948219674Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"uri":"/crucible/0/regions","method":"POST","req_id":"8327b1ef-94a5-494a-8a53-c80ba78724c9","remote_addr":"[fd00:1122:3344:101::b]:39893","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":17860,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:47.952173546Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/f3261056-9986-497f-bcd0-b4453b844e7b","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:47.961595429Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/f3261056-9986-497f-bcd0-b4453b844e7b","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:47.96162886Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:48.083178097Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"uri":"/crucible/0/regions","method":"POST","req_id":"43c03035-6fe4-44ca-ae35-27a431c2cee5","remote_addr":"[fd00:1122:3344:101::b]:39893","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":74,"response_code":"200"} {"msg":"creating region Region { id: RegionId(\"f3261056-9986-497f-bcd0-b4453b844e7b\"), 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/f3261056-9986-497f-bcd0-b4453b844e7b\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:48.11762953Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"region":"f3261056-9986-497f-bcd0-b4453b844e7b","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:48.495992073Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"region":"f3261056-9986-497f-bcd0-b4453b844e7b","component":"worker"} {"msg":"region f3261056-9986-497f-bcd0-b4453b844e7b state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:48.496042718Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:48.496107078Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-f3261056-9986-497f-bcd0-b4453b844e7b","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:48.496499102Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-f3261056-9986-497f-bcd0-b4453b844e7b","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:48.513679225Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:48.55332688Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-f3261056-9986-497f-bcd0-b4453b844e7b","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:48.562001275Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/f3261056-9986-497f-bcd0-b4453b844e7b","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:48.562696201Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:48.564839908Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:48.564895896Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:48.564934794Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:48.595092912Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:48.608516488Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:48.747330413Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"uri":"/crucible/0/regions","method":"POST","req_id":"e5d28610-1bc2-4bec-8030-4e0306fc1939","remote_addr":"[fd00:1122:3344:101::b]:39893","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:50.160577912Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:45576"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:50.160717256Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"uri":"/crucible/0/regions/f3261056-9986-497f-bcd0-b4453b844e7b","method":"GET","req_id":"54224151-5869-4abd-92d0-fe4d0dce1bd7","remote_addr":"[fd00:1122:3344:101::b]:45576","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":111,"response_code":"200"} {"msg":"path is \"/data/regions/f3261056-9986-497f-bcd0-b4453b844e7b\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:50.160918373Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/f3261056-9986-497f-bcd0-b4453b844e7b","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:50.170568718Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"datafile"} {"msg":"region f3261056-9986-497f-bcd0-b4453b844e7b state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:50.179681697Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:50.17984653Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:50.179898441Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"uri":"/crucible/0/regions/f3261056-9986-497f-bcd0-b4453b844e7b","method":"DELETE","req_id":"5a1db245-a90a-4554-8c3f-afae64c516b5","remote_addr":"[fd00:1122:3344:101::b]:45576","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":18995,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:50.180080874Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"uri":"/crucible/0/regions/f3261056-9986-497f-bcd0-b4453b844e7b","method":"GET","req_id":"51c92180-016b-470e-86fe-4d3b8dc3213e","remote_addr":"[fd00:1122:3344:101::b]:45576","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-f3261056-9986-497f-bcd0-b4453b844e7b (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:50.180973855Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:50.195645693Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/f3261056-9986-497f-bcd0-b4453b844e7b\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:50.205691132Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"region":"f3261056-9986-497f-bcd0-b4453b844e7b","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:50.247364465Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"uri":"/crucible/0/regions/f3261056-9986-497f-bcd0-b4453b844e7b","method":"GET","req_id":"f6f9e896-acaa-4d01-898d-ca0d728669d6","remote_addr":"[fd00:1122:3344:101::b]:45576","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":66,"response_code":"200"} {"msg":"region f3261056-9986-497f-bcd0-b4453b844e7b state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:50.275971804Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-01T08:59:50.406680654Z","hostname":"oxz_crucible_76092670-be08-42a1-a417-abdda2784f1d","pid":21397,"uri":"/crucible/0/regions/f3261056-9986-497f-bcd0-b4453b844e7b","method":"GET","req_id":"d8f6872d-49bc-445d-9381-7aed21ded1b4","remote_addr":"[fd00:1122:3344:101::b]:45576","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":19,"response_code":"200"}