[ Nov 14 23:31:39 Enabled. ] [ Nov 14 23:31:39 Rereading configuration. ] [ Nov 14 23:31:41 Rereading configuration. ] [ Nov 14 23:31:43 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=oxControlService19 ++ 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::13 ++ 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 + [[ oxControlService19 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService19 ipadm: Could not delete oxControlService19: Interface does not exist + true + ipadm create-if -t oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService19 + ipadm show-addr oxControlService19/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService19/ll + ipadm show-addr oxControlService19/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::13 oxControlService19/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::13]: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-11-14T23:31:44.325651584Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:44.333484023Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:44.333495534Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:44.51688929Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.869509587Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:63816"} {"msg":"region a0bb283a-95ae-4370-be13-5996f8e098f3 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.882762388Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.884561389Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.886736253Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"uri":"/crucible/0/regions","method":"POST","req_id":"137957ef-7f5f-401e-963c-d1d4047804d9","remote_addr":"[fd00:1122:3344:101::c]:63816","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":8213,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a0bb283a-95ae-4370-be13-5996f8e098f3","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.894767175Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a0bb283a-95ae-4370-be13-5996f8e098f3","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.894781975Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"a0bb283a-95ae-4370-be13-5996f8e098f3\"), 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/a0bb283a-95ae-4370-be13-5996f8e098f3\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.945141798Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"region":"a0bb283a-95ae-4370-be13-5996f8e098f3","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.076435972Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"uri":"/crucible/0/regions","method":"POST","req_id":"894f1d1e-b380-4f2a-ab1a-8b4a24c9cbec","remote_addr":"[fd00:1122:3344:101::c]:63816","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":74,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.124345067Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"region":"a0bb283a-95ae-4370-be13-5996f8e098f3","component":"worker"} {"msg":"region a0bb283a-95ae-4370-be13-5996f8e098f3 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.124367357Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.124489409Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-a0bb283a-95ae-4370-be13-5996f8e098f3","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.126808095Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-a0bb283a-95ae-4370-be13-5996f8e098f3","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.131894713Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.142286071Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-a0bb283a-95ae-4370-be13-5996f8e098f3","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.145018252Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/a0bb283a-95ae-4370-be13-5996f8e098f3","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.14573668Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.145809831Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.145853782Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.145894362Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.150896699Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.158460415Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.598623994Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"uri":"/crucible/0/regions","method":"POST","req_id":"75481fd1-9986-4d5c-a2bb-f082d342d2e6","remote_addr":"[fd00:1122:3344:101::c]:63816","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":101,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.875866224Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:35152"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.909939361Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"uri":"/crucible/0/regions/a0bb283a-95ae-4370-be13-5996f8e098f3","method":"GET","req_id":"377fa43d-812e-4660-9710-0753b27babd7","remote_addr":"[fd00:1122:3344:101::c]:35152","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":2832,"response_code":"200"} {"msg":"path is \"/data/regions/a0bb283a-95ae-4370-be13-5996f8e098f3\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.910258744Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a0bb283a-95ae-4370-be13-5996f8e098f3","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.924283774Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"datafile"} {"msg":"region a0bb283a-95ae-4370-be13-5996f8e098f3 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.935523641Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.936117698Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.936179438Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"uri":"/crucible/0/regions/a0bb283a-95ae-4370-be13-5996f8e098f3","method":"DELETE","req_id":"91a1deab-abce-4909-a510-06acecfe1b51","remote_addr":"[fd00:1122:3344:101::c]:35152","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":25969,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.936460372Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"uri":"/crucible/0/regions/a0bb283a-95ae-4370-be13-5996f8e098f3","method":"GET","req_id":"3fbf2a56-5628-4fda-8b99-7a0246c00567","remote_addr":"[fd00:1122:3344:101::c]:35152","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-a0bb283a-95ae-4370-be13-5996f8e098f3 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.939735799Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.958072507Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a0bb283a-95ae-4370-be13-5996f8e098f3\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.969729779Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"region":"a0bb283a-95ae-4370-be13-5996f8e098f3","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.9918491Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"uri":"/crucible/0/regions/a0bb283a-95ae-4370-be13-5996f8e098f3","method":"GET","req_id":"c1c01423-0616-4ffb-a5cd-ad5e97da8dd5","remote_addr":"[fd00:1122:3344:101::c]:35152","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":64,"response_code":"200"} {"msg":"region a0bb283a-95ae-4370-be13-5996f8e098f3 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:41.038275517Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:41.075224186Z","hostname":"oxz_crucible_de18037f-ce0c-49a9-8770-a4189116140d","pid":21163,"uri":"/crucible/0/regions/a0bb283a-95ae-4370-be13-5996f8e098f3","method":"GET","req_id":"80dec7ed-44dd-47f9-93d0-3e59dcae343a","remote_addr":"[fd00:1122:3344:101::c]:35152","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":45,"response_code":"200"}