[ Oct 4 20:50:38 Enabled. ] [ Oct 4 20:50:38 Rereading configuration. ] [ Oct 4 20:50:39 Rereading configuration. ] [ Oct 4 20:50:40 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/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 + [[ 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::13 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::13]: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-10-04T20:50:40.697889581Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:50:40.699093785Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:50:40.699105415Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:50:40.982369278Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:47.584756674Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:62992"} {"msg":"region e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:47.647183339Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:47.648659658Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:47.64879173Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"uri":"/crucible/0/regions","method":"POST","req_id":"7dd2bbff-dc21-4736-8cf6-bd43e6233926","remote_addr":"[fd00:1122:3344:101::b]:62992","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":2120,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:47.658748087Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:47.658778548Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:47.789401931Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"uri":"/crucible/0/regions","method":"POST","req_id":"ca8775a3-7a2e-4a34-bdf5-35633275a06b","remote_addr":"[fd00:1122:3344:101::b]:62992","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":90,"response_code":"200"} {"msg":"creating region Region { id: RegionId(\"e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c\"), 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/e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:47.898085541Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"region":"e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.203161124Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"region":"e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c","component":"worker"} {"msg":"region e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.203210525Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.203290737Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.213842946Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.267381685Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.371463403Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"uri":"/crucible/0/regions","method":"POST","req_id":"b5f1f532-d280-46fa-877f-4242a19cd052","remote_addr":"[fd00:1122:3344:101::b]:62992","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":80,"response_code":"200"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.640514914Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.712916477Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.713489528Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.71359099Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.713637941Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.713677032Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.797910847Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.849839345Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.382231344Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:51483"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.382611292Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"uri":"/crucible/0/regions/e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c","method":"GET","req_id":"2f01628b-877f-49cc-934e-417b7667cde3","remote_addr":"[fd00:1122:3344:101::b]:51483","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":157,"response_code":"200"} {"msg":"path is \"/data/regions/e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.382835206Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.393685441Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"datafile"} {"msg":"region e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.403116317Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.40324175Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.405596837Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"uri":"/crucible/0/regions/e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c","method":"DELETE","req_id":"5b33221d-d7fa-4d44-9110-06b25c488ac7","remote_addr":"[fd00:1122:3344:101::b]:51483","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":22717,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.405859952Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"uri":"/crucible/0/regions/e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c","method":"GET","req_id":"6e5ba132-4046-45d2-aa00-f85e6ed1d128","remote_addr":"[fd00:1122:3344:101::b]:51483","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":68,"response_code":"200"} {"msg":"remove downstairs instance: downstairs-e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c","v":0,"name":"crucible-agent","level":50,"time":"2023-10-04T20:51:49.414103575Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"instance states: (Some(Online), None)","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.414797908Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.438064359Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.449430573Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"region":"e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.475079171Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"uri":"/crucible/0/regions/e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c","method":"GET","req_id":"acb8e608-a89e-465c-ba6f-7869a2afe48e","remote_addr":"[fd00:1122:3344:101::b]:51483","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":86,"response_code":"200"} {"msg":"region e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.527784253Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.582137298Z","hostname":"oxz_crucible_fe0f8fce-c069-416d-b0d2-7fc06c6f9859","pid":19836,"uri":"/crucible/0/regions/e90d8fc5-64d9-4d6f-a2c3-5bac51f92d2c","method":"GET","req_id":"ffca6351-4852-49bc-883c-33d2a1c987ca","remote_addr":"[fd00:1122:3344:101::b]:51483","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":49,"response_code":"200"}