[ Dec 5 05:08:17 Enabled. ] [ Dec 5 05:08:17 Rereading configuration. ] [ Dec 5 05:08:20 Rereading configuration. ] [ Dec 5 05:08:25 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-12-05T05:08:26.004482731Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.007964798Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.007977588Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.210844909Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.593275931Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:63396"} {"msg":"region bec46b80-15a2-4e38-a867-5c2a7d8c9c42 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.628445091Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.629732212Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.633851639Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"uri":"/crucible/0/regions","method":"POST","req_id":"9773c351-c3db-4fd4-a8a3-2643a090db60","remote_addr":"[fd00:1122:3344:101::c]:63396","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":18489,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/bec46b80-15a2-4e38-a867-5c2a7d8c9c42","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.639731415Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/bec46b80-15a2-4e38-a867-5c2a7d8c9c42","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.639746235Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"bec46b80-15a2-4e38-a867-5c2a7d8c9c42\"), 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/bec46b80-15a2-4e38-a867-5c2a7d8c9c42\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.694126527Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"region":"bec46b80-15a2-4e38-a867-5c2a7d8c9c42","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.818505275Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"uri":"/crucible/0/regions","method":"POST","req_id":"e9f12a9f-d170-46c8-b905-878f11d6a352","remote_addr":"[fd00:1122:3344:101::c]:63396","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":85,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.876377854Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"region":"bec46b80-15a2-4e38-a867-5c2a7d8c9c42","component":"worker"} {"msg":"region bec46b80-15a2-4e38-a867-5c2a7d8c9c42 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.876410085Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.876526516Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-bec46b80-15a2-4e38-a867-5c2a7d8c9c42","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.878868745Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-bec46b80-15a2-4e38-a867-5c2a7d8c9c42","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.883556711Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.900813401Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-bec46b80-15a2-4e38-a867-5c2a7d8c9c42","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.90447572Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/bec46b80-15a2-4e38-a867-5c2a7d8c9c42","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.91063572Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.912650483Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.912705263Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.912747044Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.916979763Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.923064652Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:31.093432386Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"uri":"/crucible/0/regions","method":"POST","req_id":"6bf38565-66c2-4033-bdcc-c41bcb85213a","remote_addr":"[fd00:1122:3344:101::c]:63396","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.722314042Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:60435"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.722525055Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"uri":"/crucible/0/regions/bec46b80-15a2-4e38-a867-5c2a7d8c9c42","method":"GET","req_id":"a94f0266-d4e1-4286-8bbe-8b84cbb37804","remote_addr":"[fd00:1122:3344:101::c]:60435","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":186,"response_code":"200"} {"msg":"path is \"/data/regions/bec46b80-15a2-4e38-a867-5c2a7d8c9c42\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.722722309Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/bec46b80-15a2-4e38-a867-5c2a7d8c9c42","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.734785794Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"datafile"} {"msg":"region bec46b80-15a2-4e38-a867-5c2a7d8c9c42 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.743225021Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.743408044Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.743444765Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"uri":"/crucible/0/regions/bec46b80-15a2-4e38-a867-5c2a7d8c9c42","method":"DELETE","req_id":"6ffb6ba1-ef45-4d52-ab03-a5207904274b","remote_addr":"[fd00:1122:3344:101::c]:60435","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":20780,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.743607468Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"uri":"/crucible/0/regions/bec46b80-15a2-4e38-a867-5c2a7d8c9c42","method":"GET","req_id":"eec74bfe-a215-4a5c-bd8c-e50f28f9d34d","remote_addr":"[fd00:1122:3344:101::c]:60435","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-bec46b80-15a2-4e38-a867-5c2a7d8c9c42 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.744539283Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.751494145Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/bec46b80-15a2-4e38-a867-5c2a7d8c9c42\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.761218803Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"region":"bec46b80-15a2-4e38-a867-5c2a7d8c9c42","component":"worker"} {"msg":"region bec46b80-15a2-4e38-a867-5c2a7d8c9c42 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.813894748Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.886545207Z","hostname":"oxz_crucible_feec2b16-334a-412a-ab80-9f1333641ea8","pid":22080,"uri":"/crucible/0/regions/bec46b80-15a2-4e38-a867-5c2a7d8c9c42","method":"GET","req_id":"fdbac1b2-8303-4cdf-9256-28a00c5abb1c","remote_addr":"[fd00:1122:3344:101::c]:60435","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":699,"response_code":"200"}