[ Nov 20 18:34:11 Enabled. ] [ Nov 20 18:34:11 Rereading configuration. ] [ Nov 20 18:34:12 Rereading configuration. ] [ Nov 20 18:34:13 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_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 + [[ 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::18 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_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-20T18:34:14.740500309Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:34:14.744620586Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:34:14.74462982Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:34:14.893931054Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.798131357Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:59113"} {"msg":"region 4b463056-7c55-4f32-89f0-0c9f9a7a609a state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.844789128Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.857013329Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.85704724Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"uri":"/crucible/0/regions","method":"POST","req_id":"19e1d06a-8798-4b10-96b8-20f34b501a63","remote_addr":"[fd00:1122:3344:101::b]:59113","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":34115,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/4b463056-7c55-4f32-89f0-0c9f9a7a609a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.869961893Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/4b463056-7c55-4f32-89f0-0c9f9a7a609a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.869994204Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"4b463056-7c55-4f32-89f0-0c9f9a7a609a\"), 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/4b463056-7c55-4f32-89f0-0c9f9a7a609a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.91837245Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"region":"4b463056-7c55-4f32-89f0-0c9f9a7a609a","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.122113652Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"uri":"/crucible/0/regions","method":"POST","req_id":"c5222c01-9d9d-40a7-af09-38758f94a69d","remote_addr":"[fd00:1122:3344:101::b]:59113","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":81,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.185765286Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"region":"4b463056-7c55-4f32-89f0-0c9f9a7a609a","component":"worker"} {"msg":"region 4b463056-7c55-4f32-89f0-0c9f9a7a609a state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.185795717Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.185927961Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-4b463056-7c55-4f32-89f0-0c9f9a7a609a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.188774212Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-4b463056-7c55-4f32-89f0-0c9f9a7a609a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.194178855Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.209867827Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-4b463056-7c55-4f32-89f0-0c9f9a7a609a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.212514861Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/4b463056-7c55-4f32-89f0-0c9f9a7a609a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.213063769Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.213129881Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.213190163Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.213222534Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.222230731Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.228738919Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.815628606Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"uri":"/crucible/0/regions","method":"POST","req_id":"de350e7e-e03d-4359-be0e-52c0137e8b19","remote_addr":"[fd00:1122:3344:101::b]:59113","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.710818525Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:40000"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.741834226Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"uri":"/crucible/0/regions/4b463056-7c55-4f32-89f0-0c9f9a7a609a","method":"GET","req_id":"b2b53481-a0e5-4c8b-a172-49f09ead75aa","remote_addr":"[fd00:1122:3344:101::b]:40000","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":144,"response_code":"200"} {"msg":"path is \"/data/regions/4b463056-7c55-4f32-89f0-0c9f9a7a609a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.742076194Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/4b463056-7c55-4f32-89f0-0c9f9a7a609a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.753603112Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"datafile"} {"msg":"region 4b463056-7c55-4f32-89f0-0c9f9a7a609a state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.764065367Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.764303054Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.764354556Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"uri":"/crucible/0/regions/4b463056-7c55-4f32-89f0-0c9f9a7a609a","method":"DELETE","req_id":"12c9c223-82fd-4744-9971-30118ac5e45b","remote_addr":"[fd00:1122:3344:101::b]:40000","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":22340,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.764510801Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"uri":"/crucible/0/regions/4b463056-7c55-4f32-89f0-0c9f9a7a609a","method":"GET","req_id":"12b5c80f-de90-4ce2-85f9-3a5f6b61e3e7","remote_addr":"[fd00:1122:3344:101::b]:40000","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-4b463056-7c55-4f32-89f0-0c9f9a7a609a (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.765407379Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.771924148Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/4b463056-7c55-4f32-89f0-0c9f9a7a609a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.783120416Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"region":"4b463056-7c55-4f32-89f0-0c9f9a7a609a","component":"worker"} {"msg":"region 4b463056-7c55-4f32-89f0-0c9f9a7a609a state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.854857858Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.855664534Z","hostname":"oxz_crucible_7fbc3a71-a6c3-403a-8df2-5102c0b01425","pid":20286,"uri":"/crucible/0/regions/4b463056-7c55-4f32-89f0-0c9f9a7a609a","method":"GET","req_id":"9e60375d-8d74-4389-b2ad-d1a75542f3d3","remote_addr":"[fd00:1122:3344:101::b]:40000","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":76,"response_code":"200"}