[ Oct 22 04:53:51 Enabled. ] [ Oct 22 04:53:51 Rereading configuration. ] [ Oct 22 04:53:55 Rereading configuration. ] [ Oct 22 04:54:01 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=oxControlService13 ++ 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::16 ++ 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 + [[ oxControlService13 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService13 ipadm: Could not delete oxControlService13: Interface does not exist + true + ipadm create-if -t oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService13 + ipadm show-addr oxControlService13/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService13/ll + ipadm show-addr oxControlService13/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService13/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::16]: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-22T04:54:02.352685708Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:02.35635479Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:02.35636392Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:02.521306741Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:01.96743753Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:39446"} {"msg":"region 65097696-1ee7-4001-bc3a-c3dab997c923 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:01.99751879Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.003135015Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"uri":"/crucible/0/regions","method":"POST","req_id":"fc410897-82eb-4d06-b99a-9df61a72f53e","remote_addr":"[fd00:1122:3344:101::b]:39446","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":18048,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.003172166Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/65097696-1ee7-4001-bc3a-c3dab997c923","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.013681698Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/65097696-1ee7-4001-bc3a-c3dab997c923","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.013709758Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"65097696-1ee7-4001-bc3a-c3dab997c923\"), 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/65097696-1ee7-4001-bc3a-c3dab997c923\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.06109172Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"region":"65097696-1ee7-4001-bc3a-c3dab997c923","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.232608Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"region":"65097696-1ee7-4001-bc3a-c3dab997c923","component":"worker"} {"msg":"region 65097696-1ee7-4001-bc3a-c3dab997c923 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.232647385Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.232749507Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-65097696-1ee7-4001-bc3a-c3dab997c923","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.233383884Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-65097696-1ee7-4001-bc3a-c3dab997c923","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.238126682Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.255497484Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-65097696-1ee7-4001-bc3a-c3dab997c923","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.258979494Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/65097696-1ee7-4001-bc3a-c3dab997c923","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.259693083Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.259766434Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.259810244Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.259849755Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.265088536Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.27923718Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.308109066Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"uri":"/crucible/0/regions","method":"POST","req_id":"919142c1-177a-4f60-9c59-9d16ad26cddf","remote_addr":"[fd00:1122:3344:101::b]:39446","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":88,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.28490504Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:34371"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.287290438Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"uri":"/crucible/0/regions/65097696-1ee7-4001-bc3a-c3dab997c923","method":"GET","req_id":"801f7710-54ca-4c39-b9a4-85ba1b43dcf0","remote_addr":"[fd00:1122:3344:101::b]:34371","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":2343,"response_code":"200"} {"msg":"path is \"/data/regions/65097696-1ee7-4001-bc3a-c3dab997c923\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.28746953Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/65097696-1ee7-4001-bc3a-c3dab997c923","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.300135008Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"datafile"} {"msg":"region 65097696-1ee7-4001-bc3a-c3dab997c923 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.30982051Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.310116794Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.310191905Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"uri":"/crucible/0/regions/65097696-1ee7-4001-bc3a-c3dab997c923","method":"DELETE","req_id":"52220524-a5ca-4218-b186-f1eb5869094a","remote_addr":"[fd00:1122:3344:101::b]:34371","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":22741,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.310348886Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"uri":"/crucible/0/regions/65097696-1ee7-4001-bc3a-c3dab997c923","method":"GET","req_id":"1225118f-0294-4042-aadf-cd6701e73171","remote_addr":"[fd00:1122:3344:101::b]:34371","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-65097696-1ee7-4001-bc3a-c3dab997c923 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.313602224Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.326208201Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/65097696-1ee7-4001-bc3a-c3dab997c923\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.337789706Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"region":"65097696-1ee7-4001-bc3a-c3dab997c923","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.366229417Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"uri":"/crucible/0/regions/65097696-1ee7-4001-bc3a-c3dab997c923","method":"GET","req_id":"2caf19d8-ec22-4b6d-bbe7-3e408530719b","remote_addr":"[fd00:1122:3344:101::b]:34371","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":84,"response_code":"200"} {"msg":"region 65097696-1ee7-4001-bc3a-c3dab997c923 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.391672543Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.433561581Z","hostname":"oxz_crucible_8ecd06af-3dcf-4529-be66-b8f6c7a04656","pid":22225,"uri":"/crucible/0/regions/65097696-1ee7-4001-bc3a-c3dab997c923","method":"GET","req_id":"f6e8ace5-a56b-4c9c-99bd-7fdcfc7cc8f3","remote_addr":"[fd00:1122:3344:101::b]:34371","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":24,"response_code":"200"}