[ Oct 17 21:50:22 Enabled. ] [ Oct 17 21:50:22 Rereading configuration. ] [ Oct 17 21:50:23 Rereading configuration. ] [ Oct 17 21:50:24 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-10-17T21:50:25.432510159Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:50:25.437052744Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:50:25.437065335Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:50:25.533922074Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.523189656Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:64771"} {"msg":"region 07c46c80-01b4-4642-b6da-023de917ae28 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.593776463Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.594122247Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"uri":"/crucible/0/regions","method":"POST","req_id":"36bf7dfc-de93-4671-9ed8-362d12892f49","remote_addr":"[fd00:1122:3344:101::b]:64771","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":3001,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.595519096Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/07c46c80-01b4-4642-b6da-023de917ae28","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.605780115Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/07c46c80-01b4-4642-b6da-023de917ae28","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.605823206Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"07c46c80-01b4-4642-b6da-023de917ae28\"), 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/07c46c80-01b4-4642-b6da-023de917ae28\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.678453991Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"region":"07c46c80-01b4-4642-b6da-023de917ae28","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.870085957Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"uri":"/crucible/0/regions","method":"POST","req_id":"966e9231-1f8a-45ea-9aaf-8a0e03242928","remote_addr":"[fd00:1122:3344:101::b]:64771","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":88,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.928805013Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"region":"07c46c80-01b4-4642-b6da-023de917ae28","component":"worker"} {"msg":"region 07c46c80-01b4-4642-b6da-023de917ae28 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.928838654Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.928955346Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-07c46c80-01b4-4642-b6da-023de917ae28","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.929402562Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-07c46c80-01b4-4642-b6da-023de917ae28","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.933361645Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.942716432Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-07c46c80-01b4-4642-b6da-023de917ae28","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.946648005Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/07c46c80-01b4-4642-b6da-023de917ae28","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.947371115Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.947463406Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.947510197Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.947550198Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.952059479Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:22.960520754Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.579618516Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"uri":"/crucible/0/regions","method":"POST","req_id":"0366e5ca-6bcf-46fc-b131-a117016a1b31","remote_addr":"[fd00:1122:3344:101::b]:64771","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":81,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.874534693Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:40114"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.937669569Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"uri":"/crucible/0/regions/07c46c80-01b4-4642-b6da-023de917ae28","method":"GET","req_id":"10bd6e51-4b71-4573-b6da-e85ba40f8c96","remote_addr":"[fd00:1122:3344:101::b]:40114","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":124,"response_code":"200"} {"msg":"path is \"/data/regions/07c46c80-01b4-4642-b6da-023de917ae28\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.937930533Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/07c46c80-01b4-4642-b6da-023de917ae28","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.950405822Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"datafile"} {"msg":"region 07c46c80-01b4-4642-b6da-023de917ae28 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.960825613Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.960970835Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.961025876Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"uri":"/crucible/0/regions/07c46c80-01b4-4642-b6da-023de917ae28","method":"DELETE","req_id":"6b6325d4-a7a3-4ecf-8d71-43aa92c2969e","remote_addr":"[fd00:1122:3344:101::b]:40114","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":23201,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.961146808Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"uri":"/crucible/0/regions/07c46c80-01b4-4642-b6da-023de917ae28","method":"GET","req_id":"ad0e73e5-dd55-4a05-8d06-6c721e463e96","remote_addr":"[fd00:1122:3344:101::b]:40114","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-07c46c80-01b4-4642-b6da-023de917ae28 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.962182222Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.967303851Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/07c46c80-01b4-4642-b6da-023de917ae28\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:23.978808077Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"region":"07c46c80-01b4-4642-b6da-023de917ae28","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:24.03437248Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"uri":"/crucible/0/regions/07c46c80-01b4-4642-b6da-023de917ae28","method":"GET","req_id":"dda78134-6bc5-4ffd-ac6c-48ee1d1bb9c3","remote_addr":"[fd00:1122:3344:101::b]:40114","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":103,"response_code":"200"} {"msg":"region 07c46c80-01b4-4642-b6da-023de917ae28 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:24.035466995Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:24.180260518Z","hostname":"oxz_crucible_e3108364-610c-4bff-8cae-6661b4a348fc","pid":21351,"uri":"/crucible/0/regions/07c46c80-01b4-4642-b6da-023de917ae28","method":"GET","req_id":"42abddd4-b350-43ad-ba70-f32232db63ac","remote_addr":"[fd00:1122:3344:101::b]:40114","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":47,"response_code":"200"}