[ Oct 26 23:28:04 Enabled. ] [ Oct 26 23:28:04 Rereading configuration. ] [ Oct 26 23:28:07 Rereading configuration. ] [ Oct 26 23:28:15 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::15 ++ 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::15 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::15]: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-26T23:28:16.287893855Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:28:16.291344294Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:28:16.291355014Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:28:16.665838787Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.714577911Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:39182"} {"msg":"region 5228f2d2-8359-4bbc-821e-94bfd3486428 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.718058041Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.718387637Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"uri":"/crucible/0/regions","method":"POST","req_id":"dbf97998-bfab-4068-abac-21e10b423dff","remote_addr":"[fd00:1122:3344:101::a]:39182","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":801,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.719627622Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5228f2d2-8359-4bbc-821e-94bfd3486428","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.729914118Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5228f2d2-8359-4bbc-821e-94bfd3486428","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.729947879Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"5228f2d2-8359-4bbc-821e-94bfd3486428\"), 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/5228f2d2-8359-4bbc-821e-94bfd3486428\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.783857479Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"region":"5228f2d2-8359-4bbc-821e-94bfd3486428","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.95211897Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"region":"5228f2d2-8359-4bbc-821e-94bfd3486428","component":"worker"} {"msg":"region 5228f2d2-8359-4bbc-821e-94bfd3486428 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.952163951Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.952250023Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-5228f2d2-8359-4bbc-821e-94bfd3486428","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.952840055Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-5228f2d2-8359-4bbc-821e-94bfd3486428","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.956283434Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.960482278Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"uri":"/crucible/0/regions","method":"POST","req_id":"fe26a938-8f4c-4311-9bdf-dd4ed0b9edcd","remote_addr":"[fd00:1122:3344:101::a]:39182","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":77,"response_code":"200"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.964523889Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-5228f2d2-8359-4bbc-821e-94bfd3486428","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.969310515Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/5228f2d2-8359-4bbc-821e-94bfd3486428","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.970007209Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.97008676Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.970131311Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.970171452Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.975004279Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.97956552Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.685940822Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:49958"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.747360313Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"uri":"/crucible/0/regions/5228f2d2-8359-4bbc-821e-94bfd3486428","method":"GET","req_id":"6f9ebffd-f7f9-43c3-be7c-0f531b269e04","remote_addr":"[fd00:1122:3344:101::a]:49958","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":106,"response_code":"200"} {"msg":"path is \"/data/regions/5228f2d2-8359-4bbc-821e-94bfd3486428\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.747583777Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5228f2d2-8359-4bbc-821e-94bfd3486428","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.759772321Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"datafile"} {"msg":"region 5228f2d2-8359-4bbc-821e-94bfd3486428 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.770117409Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.770274772Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.770332723Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"uri":"/crucible/0/regions/5228f2d2-8359-4bbc-821e-94bfd3486428","method":"DELETE","req_id":"f8b1ce27-79be-4699-b3b4-976e1ecdcecc","remote_addr":"[fd00:1122:3344:101::a]:49958","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":22769,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.770454555Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"uri":"/crucible/0/regions/5228f2d2-8359-4bbc-821e-94bfd3486428","method":"GET","req_id":"df92e53f-03ec-4079-b7a2-36f19808c448","remote_addr":"[fd00:1122:3344:101::a]:49958","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":29,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-5228f2d2-8359-4bbc-821e-94bfd3486428 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.771428435Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.775577328Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5228f2d2-8359-4bbc-821e-94bfd3486428\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.787376685Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"region":"5228f2d2-8359-4bbc-821e-94bfd3486428","component":"worker"} {"msg":"region 5228f2d2-8359-4bbc-821e-94bfd3486428 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.8395407Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.875045141Z","hostname":"oxz_crucible_00701c90-8f29-4e53-a963-aef9ef971fc2","pid":21789,"uri":"/crucible/0/regions/5228f2d2-8359-4bbc-821e-94bfd3486428","method":"GET","req_id":"f65c6ef4-dec7-4f34-9496-720ca83f1204","remote_addr":"[fd00:1122:3344:101::a]:49958","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":85,"response_code":"200"}