[ Feb 3 08:13:55 Enabled. ] [ Feb 3 08:13:55 Rereading configuration. ] [ Feb 3 08:13:56 Rereading configuration. ] [ Feb 3 08:13:58 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::13 ++ 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::13 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::13]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:13:59.057483099Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:13:59.065342977Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:13:59.065358457Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:13:59.202827832Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.06499338Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:65123"} {"msg":"region a009c1d5-22ba-49d0-b3eb-ea3b9b845159 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.116817786Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.124432622Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"uri":"/crucible/0/regions","method":"POST","req_id":"bc49d0f0-51b5-428d-90e9-e570e4529f53","remote_addr":"[fd00:1122:3344:101::c]:65123","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":19143,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.124471332Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a009c1d5-22ba-49d0-b3eb-ea3b9b845159","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.133334479Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a009c1d5-22ba-49d0-b3eb-ea3b9b845159","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.133366549Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"a009c1d5-22ba-49d0-b3eb-ea3b9b845159\"), 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/a009c1d5-22ba-49d0-b3eb-ea3b9b845159\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.19843607Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"region":"a009c1d5-22ba-49d0-b3eb-ea3b9b845159","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.339423746Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"region":"a009c1d5-22ba-49d0-b3eb-ea3b9b845159","component":"worker"} {"msg":"region a009c1d5-22ba-49d0-b3eb-ea3b9b845159 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.339473857Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.339588758Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-a009c1d5-22ba-49d0-b3eb-ea3b9b845159","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.340005691Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-a009c1d5-22ba-49d0-b3eb-ea3b9b845159","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.342703314Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.353977402Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-a009c1d5-22ba-49d0-b3eb-ea3b9b845159","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.356625274Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/a009c1d5-22ba-49d0-b3eb-ea3b9b845159","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.357426371Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.360063864Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.360113384Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.360152845Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.369041612Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.373110447Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.460134277Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"uri":"/crucible/0/regions","method":"POST","req_id":"f3783271-e8a3-4153-b0c0-c0edbe537e8b","remote_addr":"[fd00:1122:3344:101::c]:65123","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":64,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.658101133Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:59920"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.658223654Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"uri":"/crucible/0/regions/a009c1d5-22ba-49d0-b3eb-ea3b9b845159","method":"GET","req_id":"4dccc0dd-c3dc-46b9-852b-f2c549d35943","remote_addr":"[fd00:1122:3344:101::c]:59920","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":73,"response_code":"200"} {"msg":"path is \"/data/regions/a009c1d5-22ba-49d0-b3eb-ea3b9b845159\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.65888297Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a009c1d5-22ba-49d0-b3eb-ea3b9b845159","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.667496514Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"datafile"} {"msg":"region a009c1d5-22ba-49d0-b3eb-ea3b9b845159 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.675414102Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.675551123Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.675613614Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"uri":"/crucible/0/regions/a009c1d5-22ba-49d0-b3eb-ea3b9b845159","method":"DELETE","req_id":"f3f0530a-3dad-41af-8cfa-37bc0f5e927c","remote_addr":"[fd00:1122:3344:101::c]:59920","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":17292,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.675748745Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"uri":"/crucible/0/regions/a009c1d5-22ba-49d0-b3eb-ea3b9b845159","method":"GET","req_id":"39f3397a-665a-46a7-8fae-96102c54100d","remote_addr":"[fd00:1122:3344:101::c]:59920","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-a009c1d5-22ba-49d0-b3eb-ea3b9b845159 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.676560702Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.680176103Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a009c1d5-22ba-49d0-b3eb-ea3b9b845159\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.689951228Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"region":"a009c1d5-22ba-49d0-b3eb-ea3b9b845159","component":"worker"} {"msg":"region a009c1d5-22ba-49d0-b3eb-ea3b9b845159 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.742971466Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.816645424Z","hostname":"oxz_crucible_b4cada8f-52e5-4a46-9672-57256c24f8d3","pid":21520,"uri":"/crucible/0/regions/a009c1d5-22ba-49d0-b3eb-ea3b9b845159","method":"GET","req_id":"e5bf760e-cafc-4759-a759-4098185b1a7f","remote_addr":"[fd00:1122:3344:101::c]:59920","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":58,"response_code":"200"}