[ Nov 29 19:47:25 Enabled. ] [ Nov 29 19:47:25 Rereading configuration. ] [ Nov 29 19:47:26 Rereading configuration. ] [ Nov 29 19:47:27 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=oxControlService20 ++ 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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/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 + [[ oxControlService20 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService20 ipadm: Could not delete oxControlService20: Interface does not exist + true + ipadm create-if -t oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService20 + ipadm show-addr oxControlService20/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService20/ll + ipadm show-addr oxControlService20/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::12 oxControlService20/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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::12]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:28.135084752Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:28.136118087Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:28.136134727Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:28.420787526Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.007238615Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:45035"} {"msg":"region ce25e2e0-1d2c-4632-bd05-04f897315b90 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.049660626Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.057187776Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.057213106Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"uri":"/crucible/0/regions","method":"POST","req_id":"9b44b244-94d8-43f7-a2fd-6a70b058e736","remote_addr":"[fd00:1122:3344:101::b]:45035","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":25800,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ce25e2e0-1d2c-4632-bd05-04f897315b90","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.067365315Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ce25e2e0-1d2c-4632-bd05-04f897315b90","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.067404356Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"ce25e2e0-1d2c-4632-bd05-04f897315b90\"), 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/ce25e2e0-1d2c-4632-bd05-04f897315b90\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.144348243Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"region":"ce25e2e0-1d2c-4632-bd05-04f897315b90","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.291719651Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"uri":"/crucible/0/regions","method":"POST","req_id":"950a9c0d-0471-4ac2-9969-7bbcd119e998","remote_addr":"[fd00:1122:3344:101::b]:45035","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":92,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.383197171Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"region":"ce25e2e0-1d2c-4632-bd05-04f897315b90","component":"worker"} {"msg":"region ce25e2e0-1d2c-4632-bd05-04f897315b90 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.383222721Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.383351563Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-ce25e2e0-1d2c-4632-bd05-04f897315b90","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.385729748Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-ce25e2e0-1d2c-4632-bd05-04f897315b90","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.401405147Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.442760113Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-ce25e2e0-1d2c-4632-bd05-04f897315b90","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.449961448Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/ce25e2e0-1d2c-4632-bd05-04f897315b90","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.450676749Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.45076623Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.450823171Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.450871002Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.460673525Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.492046305Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.94522196Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"uri":"/crucible/0/regions","method":"POST","req_id":"c50de17a-aaa3-4071-9df4-b15317f95a2e","remote_addr":"[fd00:1122:3344:101::b]:45035","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.363033379Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:47513"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.363221902Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"uri":"/crucible/0/regions/ce25e2e0-1d2c-4632-bd05-04f897315b90","method":"GET","req_id":"969cb488-ec03-4dac-9a38-ce426d7f07b5","remote_addr":"[fd00:1122:3344:101::b]:47513","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":116,"response_code":"200"} {"msg":"path is \"/data/regions/ce25e2e0-1d2c-4632-bd05-04f897315b90\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.363414885Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ce25e2e0-1d2c-4632-bd05-04f897315b90","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.372731181Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"datafile"} {"msg":"region ce25e2e0-1d2c-4632-bd05-04f897315b90 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.382089598Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.38224066Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.382302461Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"uri":"/crucible/0/regions/ce25e2e0-1d2c-4632-bd05-04f897315b90","method":"DELETE","req_id":"7862f19a-65ec-439a-82f1-1a0fe29aa6c2","remote_addr":"[fd00:1122:3344:101::b]:47513","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":18921,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.382455773Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"uri":"/crucible/0/regions/ce25e2e0-1d2c-4632-bd05-04f897315b90","method":"GET","req_id":"9ebc9cad-47b0-49a4-a505-32ca3a066139","remote_addr":"[fd00:1122:3344:101::b]:47513","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-ce25e2e0-1d2c-4632-bd05-04f897315b90 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.383288525Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.392142905Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ce25e2e0-1d2c-4632-bd05-04f897315b90\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.402353535Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"region":"ce25e2e0-1d2c-4632-bd05-04f897315b90","component":"worker"} {"msg":"region ce25e2e0-1d2c-4632-bd05-04f897315b90 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.455437232Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.521820904Z","hostname":"oxz_crucible_12aba0c1-e6ce-418a-b8a5-5719f9f32ff4","pid":22820,"uri":"/crucible/0/regions/ce25e2e0-1d2c-4632-bd05-04f897315b90","method":"GET","req_id":"38eaa9ef-45db-4844-b404-08ccffe5a44e","remote_addr":"[fd00:1122:3344:101::b]:47513","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":52,"response_code":"200"}