[ Oct 3 04:37:55 Enabled. ] [ Oct 3 04:37:55 Rereading configuration. ] [ Oct 3 04:37:59 Rereading configuration. ] [ Oct 3 04:38:03 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_f4b4dc87-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_f4b4dc87-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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:38:03.690428019Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:38:03.694889709Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:38:03.694901699Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:38:03.908956405Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.070734799Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:37688"} {"msg":"region 35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.08240863Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.086121177Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.086193258Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"uri":"/crucible/0/regions","method":"POST","req_id":"a57f68b1-9699-4740-a758-0ff0a86e2f69","remote_addr":"[fd00:1122:3344:101::c]:37688","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":8322,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.094920346Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.094938246Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2\"), 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/35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.144699885Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"region":"35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.243738043Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"uri":"/crucible/0/regions","method":"POST","req_id":"acf9e2de-4e90-4b96-a5d6-2e2b1d2834ca","remote_addr":"[fd00:1122:3344:101::c]:37688","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":83,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.338147039Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"region":"35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2","component":"worker"} {"msg":"region 35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.338178219Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.338296661Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.347020389Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.350241807Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.365045184Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.368618599Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.369308151Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.369412793Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.369459984Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.369500965Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.374482805Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.384351673Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.636057089Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"uri":"/crucible/0/regions","method":"POST","req_id":"75b08fbd-f07d-4b55-965c-3c6873e0f427","remote_addr":"[fd00:1122:3344:101::c]:37688","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.132324236Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:52037"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.197969721Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"uri":"/crucible/0/regions/35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2","method":"GET","req_id":"a21687fe-26d6-4499-8180-9e4b271e9bc3","remote_addr":"[fd00:1122:3344:101::c]:52037","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":2197,"response_code":"200"} {"msg":"path is \"/data/regions/35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.198116654Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.210002989Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"datafile"} {"msg":"region 35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.220064811Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.220254964Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.222842041Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"uri":"/crucible/0/regions/35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2","method":"DELETE","req_id":"8f567ce3-5398-4c83-82b1-cfcdacd83a45","remote_addr":"[fd00:1122:3344:101::c]:52037","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":24694,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.223022074Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"uri":"/crucible/0/regions/35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2","method":"GET","req_id":"a8bdb934-058b-46e2-9c09-1e9eaa18ec96","remote_addr":"[fd00:1122:3344:101::c]:52037","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":63,"response_code":"200"} {"msg":"remove downstairs instance: downstairs-35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2","v":0,"name":"crucible-agent","level":50,"time":"2023-10-03T04:42:19.230122772Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"instance states: (Some(Online), None)","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.230863355Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.238951472Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.251002389Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"region":"35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.288409395Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"uri":"/crucible/0/regions/35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2","method":"GET","req_id":"5c37c795-d89d-453f-850d-9f4a8ab5e06a","remote_addr":"[fd00:1122:3344:101::c]:52037","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":85,"response_code":"200"} {"msg":"region 35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.318959177Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.38169779Z","hostname":"oxz_crucible_8109b950-1636-4d57-a80f-5251a83e9b1e","pid":21271,"uri":"/crucible/0/regions/35aa7fa9-9c9d-41b8-a334-bda5ab1a9ac2","method":"GET","req_id":"7b96849c-40bb-4f23-901c-9514becd3006","remote_addr":"[fd00:1122:3344:101::c]:52037","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":38,"response_code":"200"}