[ Oct 18 19:05:22 Enabled. ] [ Oct 18 19:05:22 Rereading configuration. ] [ Oct 18 19:05:23 Rereading configuration. ] [ Oct 18 19:05: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=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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::14 ++ 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::14 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:05:25.182144622Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:05:25.18312013Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:05:25.183132768Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:05:25.359643469Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.674452043Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:35049"} {"msg":"region a9159041-9a0e-4354-b0bc-5e01b8d20999 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.708277196Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.71379878Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.716275015Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"uri":"/crucible/0/regions","method":"POST","req_id":"841938a5-a7a8-4892-9ff6-f8fcfbc1b7ce","remote_addr":"[fd00:1122:3344:101::c]:35049","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":14426,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/a9159041-9a0e-4354-b0bc-5e01b8d20999","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.721985782Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/a9159041-9a0e-4354-b0bc-5e01b8d20999","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.722001224Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"a9159041-9a0e-4354-b0bc-5e01b8d20999\"), 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/a9159041-9a0e-4354-b0bc-5e01b8d20999\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.767822252Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"region":"a9159041-9a0e-4354-b0bc-5e01b8d20999","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.948172675Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"region":"a9159041-9a0e-4354-b0bc-5e01b8d20999","component":"worker"} {"msg":"region a9159041-9a0e-4354-b0bc-5e01b8d20999 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.948213685Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.948322917Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-a9159041-9a0e-4354-b0bc-5e01b8d20999","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.950685959Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-a9159041-9a0e-4354-b0bc-5e01b8d20999","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.955474921Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.963079391Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-a9159041-9a0e-4354-b0bc-5e01b8d20999","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.966365287Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/a9159041-9a0e-4354-b0bc-5e01b8d20999","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.967059085Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.967120117Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.96715939Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.967194453Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.976462463Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.982535332Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"uri":"/crucible/0/regions","method":"POST","req_id":"54b06364-e079-4acf-84ff-b6416cff21f4","remote_addr":"[fd00:1122:3344:101::c]:35049","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":77,"response_code":"200"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.982589782Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.197912963Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:41963"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.229288278Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"uri":"/crucible/0/regions/a9159041-9a0e-4354-b0bc-5e01b8d20999","method":"GET","req_id":"2a2f92d1-adf2-44cb-b0ad-a943822fb7c0","remote_addr":"[fd00:1122:3344:101::c]:41963","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":70,"response_code":"200"} {"msg":"path is \"/data/regions/a9159041-9a0e-4354-b0bc-5e01b8d20999\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.229530622Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/a9159041-9a0e-4354-b0bc-5e01b8d20999","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.241936444Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"datafile"} {"msg":"region a9159041-9a0e-4354-b0bc-5e01b8d20999 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.253041398Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.253221781Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.253276042Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"uri":"/crucible/0/regions/a9159041-9a0e-4354-b0bc-5e01b8d20999","method":"DELETE","req_id":"564bb24a-bfba-4961-9f21-c08639a7e43c","remote_addr":"[fd00:1122:3344:101::c]:41963","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":23772,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.253392633Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"uri":"/crucible/0/regions/a9159041-9a0e-4354-b0bc-5e01b8d20999","method":"GET","req_id":"247e1cca-1b13-4934-aa79-8ac4fce829e9","remote_addr":"[fd00:1122:3344:101::c]:41963","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-a9159041-9a0e-4354-b0bc-5e01b8d20999 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.256691479Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.270365669Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/a9159041-9a0e-4354-b0bc-5e01b8d20999\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.282539468Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"region":"a9159041-9a0e-4354-b0bc-5e01b8d20999","component":"worker"} {"msg":"region a9159041-9a0e-4354-b0bc-5e01b8d20999 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.33883525Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.39061134Z","hostname":"oxz_crucible_200054fe-b1c1-4a86-8b45-ce98c56decf3","pid":19934,"uri":"/crucible/0/regions/a9159041-9a0e-4354-b0bc-5e01b8d20999","method":"GET","req_id":"fb81673b-7ee5-4de0-be8b-0c4a654a1b36","remote_addr":"[fd00:1122:3344:101::c]:41963","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":87,"response_code":"200"}