[ Oct 3 04:37:56 Enabled. ] [ Oct 3 04:37:56 Rereading configuration. ] [ Oct 3 04:37:58 Rereading configuration. ] [ Oct 3 04:38:03 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=oxControlService21 ++ 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::15 ++ 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 + [[ oxControlService21 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService21 ipadm: Could not delete oxControlService21: Interface does not exist + true + ipadm create-if -t oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService21 + ipadm show-addr oxControlService21/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService21/ll + ipadm show-addr oxControlService21/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService21/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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:38:04.296047725Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:38:04.300351813Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:38:04.300368614Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:38:04.664686473Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.008826041Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:59904"} {"msg":"region 1b4669af-8adf-48f5-a198-6d78c6f56ab6 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.075562176Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.082311878Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.084421556Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"uri":"/crucible/0/regions","method":"POST","req_id":"490b9d34-2880-4e5e-ac54-c9e03eea31b2","remote_addr":"[fd00:1122:3344:101::c]:59904","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":13500,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/1b4669af-8adf-48f5-a198-6d78c6f56ab6","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.091662357Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/1b4669af-8adf-48f5-a198-6d78c6f56ab6","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.091675147Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"1b4669af-8adf-48f5-a198-6d78c6f56ab6\"), 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/1b4669af-8adf-48f5-a198-6d78c6f56ab6\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.139959759Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"region":"1b4669af-8adf-48f5-a198-6d78c6f56ab6","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.26015805Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"uri":"/crucible/0/regions","method":"POST","req_id":"eda71bd6-31c2-4d64-97c0-aa219bbfc653","remote_addr":"[fd00:1122:3344:101::c]:59904","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":90,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.326464868Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"region":"1b4669af-8adf-48f5-a198-6d78c6f56ab6","component":"worker"} {"msg":"region 1b4669af-8adf-48f5-a198-6d78c6f56ab6 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.326488488Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.32660011Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-1b4669af-8adf-48f5-a198-6d78c6f56ab6","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.338860732Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-1b4669af-8adf-48f5-a198-6d78c6f56ab6","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.341756604Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.350451571Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-1b4669af-8adf-48f5-a198-6d78c6f56ab6","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.353800431Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/1b4669af-8adf-48f5-a198-6d78c6f56ab6","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.354539475Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.354651547Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.354701827Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.354743598Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.364421653Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.376138675Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:26.815731214Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"uri":"/crucible/0/regions","method":"POST","req_id":"f824d058-c438-4640-adca-18c43fb310ec","remote_addr":"[fd00:1122:3344:101::c]:59904","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":74,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.164509577Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:64394"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.198027682Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"uri":"/crucible/0/regions/1b4669af-8adf-48f5-a198-6d78c6f56ab6","method":"GET","req_id":"c9b4c33a-b640-4a42-a931-f22ae0622f55","remote_addr":"[fd00:1122:3344:101::c]:64394","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":2250,"response_code":"200"} {"msg":"path is \"/data/regions/1b4669af-8adf-48f5-a198-6d78c6f56ab6\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.198177625Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/1b4669af-8adf-48f5-a198-6d78c6f56ab6","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.209639342Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"datafile"} {"msg":"region 1b4669af-8adf-48f5-a198-6d78c6f56ab6 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.219602942Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.219773035Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.219824826Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"uri":"/crucible/0/regions/1b4669af-8adf-48f5-a198-6d78c6f56ab6","method":"DELETE","req_id":"2b3dce3c-7533-4eac-9af8-f54fe59d9edc","remote_addr":"[fd00:1122:3344:101::c]:64394","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":21667,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.222785429Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"uri":"/crucible/0/regions/1b4669af-8adf-48f5-a198-6d78c6f56ab6","method":"GET","req_id":"876a43c1-831a-4f57-a684-35a3986148aa","remote_addr":"[fd00:1122:3344:101::c]:64394","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":448,"response_code":"200"} {"msg":"remove downstairs instance: downstairs-1b4669af-8adf-48f5-a198-6d78c6f56ab6","v":0,"name":"crucible-agent","level":50,"time":"2023-10-03T04:42:19.230914896Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"instance states: (Some(Online), None)","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.23165148Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.240392087Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/1b4669af-8adf-48f5-a198-6d78c6f56ab6\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.25160952Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"region":"1b4669af-8adf-48f5-a198-6d78c6f56ab6","component":"worker"} {"msg":"region 1b4669af-8adf-48f5-a198-6d78c6f56ab6 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.315416582Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:42:19.358933248Z","hostname":"oxz_crucible_9437cf60-11cd-4f5c-97a3-e2f5be4862a5","pid":21609,"uri":"/crucible/0/regions/1b4669af-8adf-48f5-a198-6d78c6f56ab6","method":"GET","req_id":"c443397d-c91a-423e-88df-afd5902c3c20","remote_addr":"[fd00:1122:3344:101::c]:64394","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":127,"response_code":"200"}