[ Oct 26 23:28:05 Enabled. ] [ Oct 26 23:28:05 Rereading configuration. ] [ Oct 26 23:28:07 Rereading configuration. ] [ Oct 26 23:28:14 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=oxControlService23 ++ 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::12 ++ 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 + [[ oxControlService23 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService23 ipadm: Could not delete oxControlService23: Interface does not exist + true + ipadm create-if -t oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService23 + ipadm show-addr oxControlService23/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService23/ll + ipadm show-addr oxControlService23/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::12 oxControlService23/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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::12]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:28:15.831066042Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:28:15.865517873Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:28:15.865527163Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:28:16.341626422Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.652369186Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:58046"} {"msg":"region 73e13c0d-df82-4a2d-9f73-cba81fe78019 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.715169123Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.720329926Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.720382317Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"uri":"/crucible/0/regions","method":"POST","req_id":"e4fcf87e-f951-4701-af58-bf04fae830b2","remote_addr":"[fd00:1122:3344:101::a]:58046","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":5605,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/73e13c0d-df82-4a2d-9f73-cba81fe78019","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.729905178Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/73e13c0d-df82-4a2d-9f73-cba81fe78019","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.729940299Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"73e13c0d-df82-4a2d-9f73-cba81fe78019\"), 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/73e13c0d-df82-4a2d-9f73-cba81fe78019\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.785251757Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"region":"73e13c0d-df82-4a2d-9f73-cba81fe78019","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.854840661Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"uri":"/crucible/0/regions","method":"POST","req_id":"51c39bcf-ca7f-482b-a0e6-c9f1a696db92","remote_addr":"[fd00:1122:3344:101::a]:58046","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.954171852Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"region":"73e13c0d-df82-4a2d-9f73-cba81fe78019","component":"worker"} {"msg":"region 73e13c0d-df82-4a2d-9f73-cba81fe78019 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.954200502Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.954346835Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-73e13c0d-df82-4a2d-9f73-cba81fe78019","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.954933017Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-73e13c0d-df82-4a2d-9f73-cba81fe78019","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.963132201Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.972880136Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-73e13c0d-df82-4a2d-9f73-cba81fe78019","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.976766694Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/73e13c0d-df82-4a2d-9f73-cba81fe78019","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.977513849Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.977591641Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.977636672Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.977674552Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.987923648Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.992607602Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.461160239Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"uri":"/crucible/0/regions","method":"POST","req_id":"c0ade252-faee-4db6-86ce-facb444a1572","remote_addr":"[fd00:1122:3344:101::a]:58046","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":69,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.74721428Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:34227"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.747361543Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"uri":"/crucible/0/regions/73e13c0d-df82-4a2d-9f73-cba81fe78019","method":"GET","req_id":"be476a70-04b8-4150-93ed-ffd1c8220695","remote_addr":"[fd00:1122:3344:101::a]:34227","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":90,"response_code":"200"} {"msg":"path is \"/data/regions/73e13c0d-df82-4a2d-9f73-cba81fe78019\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.747506746Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/73e13c0d-df82-4a2d-9f73-cba81fe78019","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.759436895Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"datafile"} {"msg":"region 73e13c0d-df82-4a2d-9f73-cba81fe78019 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.769150109Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.769320193Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.769371624Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"uri":"/crucible/0/regions/73e13c0d-df82-4a2d-9f73-cba81fe78019","method":"DELETE","req_id":"edb1938f-7b8e-4272-a7a4-15840657f8a4","remote_addr":"[fd00:1122:3344:101::a]:34227","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":21901,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.769479456Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"uri":"/crucible/0/regions/73e13c0d-df82-4a2d-9f73-cba81fe78019","method":"GET","req_id":"f58b9004-63e7-4962-adec-2a32dc02b212","remote_addr":"[fd00:1122:3344:101::a]:34227","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-73e13c0d-df82-4a2d-9f73-cba81fe78019 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.770349764Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.773750612Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/73e13c0d-df82-4a2d-9f73-cba81fe78019\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.784929136Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"region":"73e13c0d-df82-4a2d-9f73-cba81fe78019","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.828912067Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"uri":"/crucible/0/regions/73e13c0d-df82-4a2d-9f73-cba81fe78019","method":"GET","req_id":"c2533c22-69dd-4589-8862-11b371672e65","remote_addr":"[fd00:1122:3344:101::a]:34227","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":64,"response_code":"200"} {"msg":"region 73e13c0d-df82-4a2d-9f73-cba81fe78019 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.839609551Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.902275627Z","hostname":"oxz_crucible_892a58f2-9fcc-4a93-b32e-e31a9aedc714","pid":21689,"uri":"/crucible/0/regions/73e13c0d-df82-4a2d-9f73-cba81fe78019","method":"GET","req_id":"fcc34f52-99d1-4829-9e3b-1b732c65e2f7","remote_addr":"[fd00:1122:3344:101::a]:34227","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":29,"response_code":"200"}