[ Nov 30 05:05:37 Enabled. ] [ Nov 30 05:05:37 Rereading configuration. ] [ Nov 30 05:05:39 Rereading configuration. ] [ Nov 30 05:05:41 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/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 + [[ 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::16 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::16]: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-11-30T05:05:42.243558492Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:05:42.244743907Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:05:42.244754587Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:05:42.358640334Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:33.993153098Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:39512"} {"msg":"region 72667f94-4ec9-4760-8d86-1cd928a4b58e state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.023052523Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.023898181Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"uri":"/crucible/0/regions","method":"POST","req_id":"117fd72b-876c-40f3-8b75-3b85554b5235","remote_addr":"[fd00:1122:3344:101::a]:39512","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":12063,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.023919471Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.036363145Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.036389986Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"72667f94-4ec9-4760-8d86-1cd928a4b58e\"), 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/72667f94-4ec9-4760-8d86-1cd928a4b58e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.090288979Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"region":"72667f94-4ec9-4760-8d86-1cd928a4b58e","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.25622809Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"uri":"/crucible/0/regions","method":"POST","req_id":"d28e1d44-d08c-4349-949a-31698b49e084","remote_addr":"[fd00:1122:3344:101::a]:39512","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":837,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.274226312Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"region":"72667f94-4ec9-4760-8d86-1cd928a4b58e","component":"worker"} {"msg":"region 72667f94-4ec9-4760-8d86-1cd928a4b58e state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.274248772Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.274370745Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-72667f94-4ec9-4760-8d86-1cd928a4b58e","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.276721334Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-72667f94-4ec9-4760-8d86-1cd928a4b58e","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.279855051Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.292443618Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-72667f94-4ec9-4760-8d86-1cd928a4b58e","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.295284759Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.302865489Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.304897782Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.304959254Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.305003175Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.309642523Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.315676721Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:34.919926183Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"uri":"/crucible/0/regions","method":"POST","req_id":"8fef26fe-3a22-4272-a4ba-96c246f3632d","remote_addr":"[fd00:1122:3344:101::a]:39512","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":71,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.569615708Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:52537"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.571814245Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"uri":"/crucible/0/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e","method":"GET","req_id":"c5dfb25d-6fc6-4b08-aa9f-5345eaf8fc5e","remote_addr":"[fd00:1122:3344:101::a]:52537","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":2134,"response_code":"200"} {"msg":"path is \"/data/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.572800355Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.58149008Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"datafile"} {"msg":"region 72667f94-4ec9-4760-8d86-1cd928a4b58e state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.589100501Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.589256155Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.589317096Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"uri":"/crucible/0/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e","method":"DELETE","req_id":"31e35a7c-0aec-4df1-b76f-787f5db2fd71","remote_addr":"[fd00:1122:3344:101::a]:52537","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":17309,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.589473479Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"uri":"/crucible/0/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e","method":"GET","req_id":"1eec42cf-8f18-4423-abf8-a4524f6b0dcb","remote_addr":"[fd00:1122:3344:101::a]:52537","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":30,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-72667f94-4ec9-4760-8d86-1cd928a4b58e (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.590428729Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.595110659Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.604504078Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"region":"72667f94-4ec9-4760-8d86-1cd928a4b58e","component":"worker"} {"msg":"region 72667f94-4ec9-4760-8d86-1cd928a4b58e state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.653299834Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:35.663870858Z","hostname":"oxz_crucible_ebb6e177-18c3-48cf-ab42-2fcfb3de4637","pid":21490,"uri":"/crucible/0/regions/72667f94-4ec9-4760-8d86-1cd928a4b58e","method":"GET","req_id":"09004ad4-3143-4375-898d-641375df00a9","remote_addr":"[fd00:1122:3344:101::a]:52537","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":64,"response_code":"200"}