[ 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=oxControlService15 ++ 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::1a ++ 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 + [[ oxControlService15 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService15 ipadm: Could not delete oxControlService15: Interface does not exist + true + ipadm create-if -t oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService15 + ipadm show-addr oxControlService15/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService15/ll + ipadm show-addr oxControlService15/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService15/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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::1a]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:13:58.917778865Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:13:58.924743254Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:13:58.924756595Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:13:59.028347328Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.095881866Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:41270"} {"msg":"region 8aa0576f-ba96-4f1c-83b5-ec1e788267e2 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.128893191Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.136739988Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"uri":"/crucible/0/regions","method":"POST","req_id":"a84a9e9b-c753-4a47-ad8e-691ad455af6a","remote_addr":"[fd00:1122:3344:101::c]:41270","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":15900,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.136764069Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/8aa0576f-ba96-4f1c-83b5-ec1e788267e2","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.1461879Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/8aa0576f-ba96-4f1c-83b5-ec1e788267e2","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.1462099Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"8aa0576f-ba96-4f1c-83b5-ec1e788267e2\"), 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/8aa0576f-ba96-4f1c-83b5-ec1e788267e2\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.200563209Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"region":"8aa0576f-ba96-4f1c-83b5-ec1e788267e2","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.350761024Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"uri":"/crucible/0/regions","method":"POST","req_id":"bddce1d8-cd92-4dcf-accf-193637199a28","remote_addr":"[fd00:1122:3344:101::c]:41270","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":85,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.359975783Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"region":"8aa0576f-ba96-4f1c-83b5-ec1e788267e2","component":"worker"} {"msg":"region 8aa0576f-ba96-4f1c-83b5-ec1e788267e2 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.359994354Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.360140295Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-8aa0576f-ba96-4f1c-83b5-ec1e788267e2","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.360536128Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-8aa0576f-ba96-4f1c-83b5-ec1e788267e2","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.363807516Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.375717999Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-8aa0576f-ba96-4f1c-83b5-ec1e788267e2","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.378624554Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/8aa0576f-ba96-4f1c-83b5-ec1e788267e2","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.379171347Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.38156514Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.38161284Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.38164629Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.389214295Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.393775565Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.852714592Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"uri":"/crucible/0/regions","method":"POST","req_id":"285ca779-c425-4313-ad0e-a093e5eed0fa","remote_addr":"[fd00:1122:3344:101::c]:41270","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":111,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.358206899Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:49493"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.358859189Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"uri":"/crucible/0/regions/8aa0576f-ba96-4f1c-83b5-ec1e788267e2","method":"GET","req_id":"348fbb51-2835-4127-9b5b-c9bdc65ce9af","remote_addr":"[fd00:1122:3344:101::c]:49493","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":646,"response_code":"200"} {"msg":"path is \"/data/regions/8aa0576f-ba96-4f1c-83b5-ec1e788267e2\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.359034306Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/8aa0576f-ba96-4f1c-83b5-ec1e788267e2","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.368789781Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"datafile"} {"msg":"region 8aa0576f-ba96-4f1c-83b5-ec1e788267e2 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.377318565Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.377464676Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.377522926Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"uri":"/crucible/0/regions/8aa0576f-ba96-4f1c-83b5-ec1e788267e2","method":"DELETE","req_id":"825da290-a85b-420b-883a-5523488b17cf","remote_addr":"[fd00:1122:3344:101::c]:49493","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":18565,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.377656127Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"uri":"/crucible/0/regions/8aa0576f-ba96-4f1c-83b5-ec1e788267e2","method":"GET","req_id":"e068d4ed-9aa3-40a0-ba57-225ae8abb576","remote_addr":"[fd00:1122:3344:101::c]:49493","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":19,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-8aa0576f-ba96-4f1c-83b5-ec1e788267e2 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.378485895Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.382641751Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/8aa0576f-ba96-4f1c-83b5-ec1e788267e2\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.392670097Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"region":"8aa0576f-ba96-4f1c-83b5-ec1e788267e2","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.435312366Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"uri":"/crucible/0/regions/8aa0576f-ba96-4f1c-83b5-ec1e788267e2","method":"GET","req_id":"7f070631-3dda-4baa-bea1-3bb141258166","remote_addr":"[fd00:1122:3344:101::c]:49493","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":483,"response_code":"200"} {"msg":"region 8aa0576f-ba96-4f1c-83b5-ec1e788267e2 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.449071875Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.614214733Z","hostname":"oxz_crucible_8c2823a1-3452-4f3b-80c4-a3349578ccac","pid":21460,"uri":"/crucible/0/regions/8aa0576f-ba96-4f1c-83b5-ec1e788267e2","method":"GET","req_id":"28d58d4d-3a28-46b7-8342-7cf7b29bed8e","remote_addr":"[fd00:1122:3344:101::c]:49493","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":57,"response_code":"200"}