[ Oct 25 23:04:31 Enabled. ] [ Oct 25 23:04:31 Rereading configuration. ] [ Oct 25 23:04:34 Rereading configuration. ] [ Oct 25 23:04:36 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=oxControlService18 ++ 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::15 ++ 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 + [[ oxControlService18 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService18 ipadm: Could not delete oxControlService18: Interface does not exist + true + ipadm create-if -t oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService18 + ipadm show-addr oxControlService18/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService18/ll + ipadm show-addr oxControlService18/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService18/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::15]: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":"2023-10-25T23:04:37.159480114Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:04:37.163779181Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:04:37.163789201Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:04:37.404840591Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.338925212Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:53390"} {"msg":"region 4b2bc609-54d2-4900-98fb-cd384a7bd51f state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.372165644Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.373536255Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"uri":"/crucible/0/regions","method":"POST","req_id":"458b1451-f357-4629-be85-0230d60a7f27","remote_addr":"[fd00:1122:3344:101::a]:53390","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":1676,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.373561225Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4b2bc609-54d2-4900-98fb-cd384a7bd51f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.383233241Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4b2bc609-54d2-4900-98fb-cd384a7bd51f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.383257912Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"4b2bc609-54d2-4900-98fb-cd384a7bd51f\"), 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/4b2bc609-54d2-4900-98fb-cd384a7bd51f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.425566051Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"region":"4b2bc609-54d2-4900-98fb-cd384a7bd51f","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.619201029Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"uri":"/crucible/0/regions","method":"POST","req_id":"79cb5e14-f98b-4248-8a84-bd8e994ee4c4","remote_addr":"[fd00:1122:3344:101::a]:53390","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":76,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.625110764Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"region":"4b2bc609-54d2-4900-98fb-cd384a7bd51f","component":"worker"} {"msg":"region 4b2bc609-54d2-4900-98fb-cd384a7bd51f state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.625129044Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.625393062Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-4b2bc609-54d2-4900-98fb-cd384a7bd51f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.625821955Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-4b2bc609-54d2-4900-98fb-cd384a7bd51f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.629093761Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.637297184Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-4b2bc609-54d2-4900-98fb-cd384a7bd51f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.640314393Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/4b2bc609-54d2-4900-98fb-cd384a7bd51f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.641074405Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.641144057Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.641184678Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.641219079Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.645707662Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.654859952Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:41.923723063Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"uri":"/crucible/0/regions","method":"POST","req_id":"08781cfb-8f10-4e43-8da0-f2d22795e4fc","remote_addr":"[fd00:1122:3344:101::a]:53390","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":79,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.676592136Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:54333"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.67672592Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"uri":"/crucible/0/regions/4b2bc609-54d2-4900-98fb-cd384a7bd51f","method":"GET","req_id":"ce41a02c-add3-41ac-a01d-5ddc934b762c","remote_addr":"[fd00:1122:3344:101::a]:54333","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":85,"response_code":"200"} {"msg":"path is \"/data/regions/4b2bc609-54d2-4900-98fb-cd384a7bd51f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.676949947Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4b2bc609-54d2-4900-98fb-cd384a7bd51f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.688809677Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"datafile"} {"msg":"region 4b2bc609-54d2-4900-98fb-cd384a7bd51f state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.69871122Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.698874524Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.698934566Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"uri":"/crucible/0/regions/4b2bc609-54d2-4900-98fb-cd384a7bd51f","method":"DELETE","req_id":"8af33bf5-8f38-42eb-91ab-dec4ddce9d73","remote_addr":"[fd00:1122:3344:101::a]:54333","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":22057,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.69908172Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"uri":"/crucible/0/regions/4b2bc609-54d2-4900-98fb-cd384a7bd51f","method":"GET","req_id":"10aba48d-7c99-462f-b670-0b05cf03aa7f","remote_addr":"[fd00:1122:3344:101::a]:54333","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-4b2bc609-54d2-4900-98fb-cd384a7bd51f (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.700036279Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.703958404Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4b2bc609-54d2-4900-98fb-cd384a7bd51f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.716936628Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"region":"4b2bc609-54d2-4900-98fb-cd384a7bd51f","component":"worker"} {"msg":"region 4b2bc609-54d2-4900-98fb-cd384a7bd51f state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.766765099Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:42.820924159Z","hostname":"oxz_crucible_a7862d60-f735-4f2c-b1f9-55e04f663d6b","pid":21237,"uri":"/crucible/0/regions/4b2bc609-54d2-4900-98fb-cd384a7bd51f","method":"GET","req_id":"a5322d95-05b1-4056-8611-ae721088e5e3","remote_addr":"[fd00:1122:3344:101::a]:54333","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":73,"response_code":"200"}