[ Oct 25 23:04:31 Enabled. ] [ Oct 25 23:04:31 Rereading configuration. ] [ Oct 25 23:04:34 Rereading configuration. ] [ Oct 25 23:04:37 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=oxControlService15 ++ 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 + [[ oxControlService15 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService15 ipadm: Could not delete oxControlService15: Interface does not exist + true + ipadm create-if -t oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService15 + ipadm show-addr oxControlService15/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService15/ll + ipadm show-addr oxControlService15/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::13 oxControlService15/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-25T23:04:38.051117025Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:04:38.0522932Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:04:38.052304791Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:04:38.296700458Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.369951379Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:33365"} {"msg":"region 41a6714e-4629-4219-bfef-5ec88c746976 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.373043946Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.374619907Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.374636247Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"uri":"/crucible/0/regions","method":"POST","req_id":"4f1d70cd-2c68-4570-ad81-cf8c09eaf4ee","remote_addr":"[fd00:1122:3344:101::a]:33365","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":1842,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/41a6714e-4629-4219-bfef-5ec88c746976","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.384364574Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/41a6714e-4629-4219-bfef-5ec88c746976","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.384401075Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"41a6714e-4629-4219-bfef-5ec88c746976\"), 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/41a6714e-4629-4219-bfef-5ec88c746976\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.439270476Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"region":"41a6714e-4629-4219-bfef-5ec88c746976","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.611899604Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"uri":"/crucible/0/regions","method":"POST","req_id":"eea04934-4d83-46e2-8ef9-57d109e9bf6c","remote_addr":"[fd00:1122:3344:101::a]:33365","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":80,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.666660311Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"region":"41a6714e-4629-4219-bfef-5ec88c746976","component":"worker"} {"msg":"region 41a6714e-4629-4219-bfef-5ec88c746976 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.666689842Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.666988331Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-41a6714e-4629-4219-bfef-5ec88c746976","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.667511916Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-41a6714e-4629-4219-bfef-5ec88c746976","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.671253434Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.679010556Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-41a6714e-4629-4219-bfef-5ec88c746976","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.682209659Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/41a6714e-4629-4219-bfef-5ec88c746976","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.682917161Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.682991763Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.683037294Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.683071906Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.688117175Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.698259584Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.358584395Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"uri":"/crucible/0/regions","method":"POST","req_id":"24a9adde-9529-4acb-8027-0250649dd499","remote_addr":"[fd00:1122:3344:101::a]:33365","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":70,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.614696655Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:54030"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.67671925Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"uri":"/crucible/0/regions/41a6714e-4629-4219-bfef-5ec88c746976","method":"GET","req_id":"92c55bbc-809d-404a-a019-22655826ef33","remote_addr":"[fd00:1122:3344:101::a]:54030","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":103,"response_code":"200"} {"msg":"path is \"/data/regions/41a6714e-4629-4219-bfef-5ec88c746976\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.676940326Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/41a6714e-4629-4219-bfef-5ec88c746976","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.68723149Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"datafile"} {"msg":"region 41a6714e-4629-4219-bfef-5ec88c746976 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.697256197Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.697411591Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.697464354Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"uri":"/crucible/0/regions/41a6714e-4629-4219-bfef-5ec88c746976","method":"DELETE","req_id":"b1d94eb0-f91f-4c9e-9e0f-032d54e4d43d","remote_addr":"[fd00:1122:3344:101::a]:54030","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":20597,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.697645938Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"uri":"/crucible/0/regions/41a6714e-4629-4219-bfef-5ec88c746976","method":"GET","req_id":"3bd6088b-3a5c-45c2-8429-7d5fc230c2b1","remote_addr":"[fd00:1122:3344:101::a]:54030","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":20,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-41a6714e-4629-4219-bfef-5ec88c746976 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.698524074Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.702513072Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/41a6714e-4629-4219-bfef-5ec88c746976\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.713323761Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"region":"41a6714e-4629-4219-bfef-5ec88c746976","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.767751598Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"uri":"/crucible/0/regions/41a6714e-4629-4219-bfef-5ec88c746976","method":"GET","req_id":"7fc4b56d-1672-4e80-8223-15a632e873c8","remote_addr":"[fd00:1122:3344:101::a]:54030","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":77,"response_code":"200"} {"msg":"region 41a6714e-4629-4219-bfef-5ec88c746976 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.771607472Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.832796749Z","hostname":"oxz_crucible_179382bb-fe45-4bdc-9ae8-248a5887e1a3","pid":21580,"uri":"/crucible/0/regions/41a6714e-4629-4219-bfef-5ec88c746976","method":"GET","req_id":"db632cfb-901d-4f90-8902-f77ff157a8e8","remote_addr":"[fd00:1122:3344:101::a]:54030","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":28,"response_code":"200"}