[ Nov 30 06:21:07 Enabled. ] [ Nov 30 06:21:07 Rereading configuration. ] [ Nov 30 06:21:09 Rereading configuration. ] [ Nov 30 06:21:10 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::13]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:21:11.781923903Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:21:11.784536784Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:21:11.78454721Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:21:11.932368516Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:03.891538271Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:44592"} {"msg":"region 4668c1fd-cfe8-4f50-8075-d8fbfcb3704c state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:03.926617598Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:03.927985515Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:03.93196913Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"uri":"/crucible/0/regions","method":"POST","req_id":"5ab4f7d0-e0ca-452e-9928-55f63dfa8c24","remote_addr":"[fd00:1122:3344:101::b]:44592","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":19030,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4668c1fd-cfe8-4f50-8075-d8fbfcb3704c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:03.938436282Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4668c1fd-cfe8-4f50-8075-d8fbfcb3704c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:03.938453673Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"4668c1fd-cfe8-4f50-8075-d8fbfcb3704c\"), 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/4668c1fd-cfe8-4f50-8075-d8fbfcb3704c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.000936923Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"region":"4668c1fd-cfe8-4f50-8075-d8fbfcb3704c","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.17905798Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"region":"4668c1fd-cfe8-4f50-8075-d8fbfcb3704c","component":"worker"} {"msg":"region 4668c1fd-cfe8-4f50-8075-d8fbfcb3704c state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.179104808Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.179187271Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-4668c1fd-cfe8-4f50-8075-d8fbfcb3704c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.179691126Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-4668c1fd-cfe8-4f50-8075-d8fbfcb3704c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.183995077Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.19777638Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-4668c1fd-cfe8-4f50-8075-d8fbfcb3704c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.200749286Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/4668c1fd-cfe8-4f50-8075-d8fbfcb3704c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.201454003Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.203484803Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.203535269Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.203572666Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.211241718Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.217142295Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.269750867Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"uri":"/crucible/0/regions","method":"POST","req_id":"361373f6-55f2-41f4-b430-26a5341cf180","remote_addr":"[fd00:1122:3344:101::b]:44592","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":71,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.54868809Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:65332"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.549641777Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"uri":"/crucible/0/regions/4668c1fd-cfe8-4f50-8075-d8fbfcb3704c","method":"GET","req_id":"ca72a572-fd01-413c-845c-274d38bdf251","remote_addr":"[fd00:1122:3344:101::b]:65332","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":911,"response_code":"200"} {"msg":"path is \"/data/regions/4668c1fd-cfe8-4f50-8075-d8fbfcb3704c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.549800517Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4668c1fd-cfe8-4f50-8075-d8fbfcb3704c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.559908539Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"datafile"} {"msg":"region 4668c1fd-cfe8-4f50-8075-d8fbfcb3704c state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.569333988Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.56947738Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.569533274Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"uri":"/crucible/0/regions/4668c1fd-cfe8-4f50-8075-d8fbfcb3704c","method":"DELETE","req_id":"c5134bdf-9e92-4e05-95ed-72dcc12f7e46","remote_addr":"[fd00:1122:3344:101::b]:65332","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":19766,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.569812027Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"uri":"/crucible/0/regions/4668c1fd-cfe8-4f50-8075-d8fbfcb3704c","method":"GET","req_id":"4c371808-6a29-4aba-bb5d-8a31467422ab","remote_addr":"[fd00:1122:3344:101::b]:65332","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-4668c1fd-cfe8-4f50-8075-d8fbfcb3704c (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.570593236Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.574785915Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4668c1fd-cfe8-4f50-8075-d8fbfcb3704c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.584783639Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"region":"4668c1fd-cfe8-4f50-8075-d8fbfcb3704c","component":"worker"} {"msg":"region 4668c1fd-cfe8-4f50-8075-d8fbfcb3704c state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.639026545Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.673402858Z","hostname":"oxz_crucible_0f64dddc-25ed-4dcf-ab29-423b84220b5d","pid":21109,"uri":"/crucible/0/regions/4668c1fd-cfe8-4f50-8075-d8fbfcb3704c","method":"GET","req_id":"5d77eb69-cafa-4f59-95b6-5ee6dce4dc4f","remote_addr":"[fd00:1122:3344:101::b]:65332","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":80,"response_code":"200"}