[ Dec 6 20:41:28 Enabled. ] [ Dec 6 20:41:28 Rereading configuration. ] [ Dec 6 20:41:30 Rereading configuration. ] [ Dec 6 20:41:32 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=oxControlService12 ++ 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/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 + [[ oxControlService12 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService12 ipadm: Could not delete oxControlService12: Interface does not exist + true + ipadm create-if -t oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService12 + ipadm show-addr oxControlService12/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService12/ll + ipadm show-addr oxControlService12/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService12/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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:41:32.975568724Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:41:32.976888708Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:41:32.976900198Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:41:33.1868783Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.177102563Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:55362"} {"msg":"region 3da51f9d-e4a6-4183-a8d5-3b975fc85eea state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.262736678Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.265151065Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"uri":"/crucible/0/regions","method":"POST","req_id":"fa8978b2-694d-43db-b66e-c6da636e6a96","remote_addr":"[fd00:1122:3344:101::c]:55362","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":19827,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.265176956Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/3da51f9d-e4a6-4183-a8d5-3b975fc85eea","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.27808748Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/3da51f9d-e4a6-4183-a8d5-3b975fc85eea","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.27811722Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"3da51f9d-e4a6-4183-a8d5-3b975fc85eea\"), 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/3da51f9d-e4a6-4183-a8d5-3b975fc85eea\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.333875262Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"region":"3da51f9d-e4a6-4183-a8d5-3b975fc85eea","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.451884258Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"uri":"/crucible/0/regions","method":"POST","req_id":"af8a9fca-0019-4eb9-becc-59769f0d7b05","remote_addr":"[fd00:1122:3344:101::c]:55362","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":93,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.502068237Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"region":"3da51f9d-e4a6-4183-a8d5-3b975fc85eea","component":"worker"} {"msg":"region 3da51f9d-e4a6-4183-a8d5-3b975fc85eea state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.502104718Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.502213229Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-3da51f9d-e4a6-4183-a8d5-3b975fc85eea","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.504500504Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-3da51f9d-e4a6-4183-a8d5-3b975fc85eea","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.509131306Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.52563465Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-3da51f9d-e4a6-4183-a8d5-3b975fc85eea","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.529021358Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/3da51f9d-e4a6-4183-a8d5-3b975fc85eea","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.536343399Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.538336352Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.538402622Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.538462813Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.543929084Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:20.550934512Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:21.123022731Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"uri":"/crucible/0/regions","method":"POST","req_id":"ac6e80fc-fc59-4b5b-ac51-d129c65ad4d9","remote_addr":"[fd00:1122:3344:101::c]:55362","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":70,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:21.733772961Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:47245"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:21.733975054Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"uri":"/crucible/0/regions/3da51f9d-e4a6-4183-a8d5-3b975fc85eea","method":"GET","req_id":"ba8ee1dd-0247-4e6e-80d0-9da362befc76","remote_addr":"[fd00:1122:3344:101::c]:47245","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":171,"response_code":"200"} {"msg":"path is \"/data/regions/3da51f9d-e4a6-4183-a8d5-3b975fc85eea\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:21.734149045Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/3da51f9d-e4a6-4183-a8d5-3b975fc85eea","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:21.743920674Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"datafile"} {"msg":"region 3da51f9d-e4a6-4183-a8d5-3b975fc85eea state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:21.752632711Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:21.752856244Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:21.752922165Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"uri":"/crucible/0/regions/3da51f9d-e4a6-4183-a8d5-3b975fc85eea","method":"DELETE","req_id":"c86193e1-5d6b-4ba7-862e-70c76d730fed","remote_addr":"[fd00:1122:3344:101::c]:47245","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":18809,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:21.753138507Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"uri":"/crucible/0/regions/3da51f9d-e4a6-4183-a8d5-3b975fc85eea","method":"GET","req_id":"4bdb2e27-9eca-4294-8a88-8f946e695da1","remote_addr":"[fd00:1122:3344:101::c]:47245","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":45,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-3da51f9d-e4a6-4183-a8d5-3b975fc85eea (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:21.753871605Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:21.758262094Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/3da51f9d-e4a6-4183-a8d5-3b975fc85eea\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:21.768081624Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"region":"3da51f9d-e4a6-4183-a8d5-3b975fc85eea","component":"worker"} {"msg":"region 3da51f9d-e4a6-4183-a8d5-3b975fc85eea state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:21.813566211Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T20:42:21.816445063Z","hostname":"oxz_crucible_b950a9ad-c2ab-4709-8982-dfe023bf9403","pid":22040,"uri":"/crucible/0/regions/3da51f9d-e4a6-4183-a8d5-3b975fc85eea","method":"GET","req_id":"ce9aa55c-364c-421e-b927-44d23ec8a037","remote_addr":"[fd00:1122:3344:101::c]:47245","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":61,"response_code":"200"}