[ Nov 30 05:05:37 Enabled. ] [ Nov 30 05:05:37 Rereading configuration. ] [ Nov 30 05:05:39 Rereading configuration. ] [ Nov 30 05:05:41 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::18 ++ 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::18 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:05:42.041180088Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:05:42.061375607Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:05:42.061391767Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:05:42.275117882Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:33.909517874Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:49931"} {"msg":"region 90946a8d-b13d-4f2b-a9db-81428cf83ddf state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.008530315Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.00974394Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.013758186Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"uri":"/crucible/0/regions","method":"POST","req_id":"d915075f-37ad-4791-a643-4f46f357dd52","remote_addr":"[fd00:1122:3344:101::a]:49931","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":15058,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/90946a8d-b13d-4f2b-a9db-81428cf83ddf","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.020174491Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/90946a8d-b13d-4f2b-a9db-81428cf83ddf","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.020191452Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"90946a8d-b13d-4f2b-a9db-81428cf83ddf\"), 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/90946a8d-b13d-4f2b-a9db-81428cf83ddf\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.072513762Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"region":"90946a8d-b13d-4f2b-a9db-81428cf83ddf","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.212077663Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"uri":"/crucible/0/regions","method":"POST","req_id":"9e5f8faa-39e8-4b54-b1ca-244c4a836ab5","remote_addr":"[fd00:1122:3344:101::a]:49931","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":92,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.261342738Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"region":"90946a8d-b13d-4f2b-a9db-81428cf83ddf","component":"worker"} {"msg":"region 90946a8d-b13d-4f2b-a9db-81428cf83ddf state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.261375779Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.261496511Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-90946a8d-b13d-4f2b-a9db-81428cf83ddf","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.26381142Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-90946a8d-b13d-4f2b-a9db-81428cf83ddf","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.267512339Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.28451641Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-90946a8d-b13d-4f2b-a9db-81428cf83ddf","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.287913392Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/90946a8d-b13d-4f2b-a9db-81428cf83ddf","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.292919028Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.294955421Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.295010283Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.295048634Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.299057679Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.304833121Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.843677095Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"uri":"/crucible/0/regions","method":"POST","req_id":"4562cb83-14b8-4391-8efc-3e1076a7588b","remote_addr":"[fd00:1122:3344:101::a]:49931","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":107,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.240260209Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:49864"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.240480534Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"uri":"/crucible/0/regions/90946a8d-b13d-4f2b-a9db-81428cf83ddf","method":"GET","req_id":"5ec582d1-61ff-4d7f-b0e3-3045ff84aed8","remote_addr":"[fd00:1122:3344:101::a]:49864","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":168,"response_code":"200"} {"msg":"path is \"/data/regions/90946a8d-b13d-4f2b-a9db-81428cf83ddf\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.2412215Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/90946a8d-b13d-4f2b-a9db-81428cf83ddf","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.25112616Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"datafile"} {"msg":"region 90946a8d-b13d-4f2b-a9db-81428cf83ddf state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.259773593Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.259944407Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.260003948Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"uri":"/crucible/0/regions/90946a8d-b13d-4f2b-a9db-81428cf83ddf","method":"DELETE","req_id":"a8306633-0dc5-4c51-bc4e-e47e7f6cf47f","remote_addr":"[fd00:1122:3344:101::a]:49864","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":19341,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.260190572Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"uri":"/crucible/0/regions/90946a8d-b13d-4f2b-a9db-81428cf83ddf","method":"GET","req_id":"c5ea0aed-52c9-4eae-817d-b58df791860e","remote_addr":"[fd00:1122:3344:101::a]:49864","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":28,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-90946a8d-b13d-4f2b-a9db-81428cf83ddf (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.260985239Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.266553287Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/90946a8d-b13d-4f2b-a9db-81428cf83ddf\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.276803068Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"region":"90946a8d-b13d-4f2b-a9db-81428cf83ddf","component":"worker"} {"msg":"region 90946a8d-b13d-4f2b-a9db-81428cf83ddf state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.321863371Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.322475074Z","hostname":"oxz_crucible_706a16d2-8117-4b2c-9f15-7241545fd7a9","pid":21352,"uri":"/crucible/0/regions/90946a8d-b13d-4f2b-a9db-81428cf83ddf","method":"GET","req_id":"0ff24ea2-c73f-42ba-9bb5-d875cf69d7ac","remote_addr":"[fd00:1122:3344:101::a]:49864","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":56,"response_code":"200"}