[ Oct 4 22:29:11 Enabled. ] [ Oct 4 22:29:11 Rereading configuration. ] [ Oct 4 22:29:13 Rereading configuration. ] [ Oct 4 22:29:14 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=oxControlService12 ++ 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::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 + [[ oxControlService12 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService12 ipadm: Could not delete oxControlService12: Interface does not exist + true + ipadm create-if -t oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService12 + ipadm show-addr oxControlService12/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService12/ll + ipadm show-addr oxControlService12/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::13 oxControlService12/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::13]: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-10-04T22:29:14.759932802Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:14.763643059Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:14.763652939Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:14.934690063Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:56.687508391Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:40803"} {"msg":"region 4abcd2e1-bba6-4d18-9ad3-74cae29be8fd state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:56.698371789Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:56.702782467Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"uri":"/crucible/0/regions","method":"POST","req_id":"4afbc3ec-e5d2-42aa-bc69-dd06468c987f","remote_addr":"[fd00:1122:3344:101::a]:40803","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":10682,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:56.703953025Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/4abcd2e1-bba6-4d18-9ad3-74cae29be8fd","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:56.713598154Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/4abcd2e1-bba6-4d18-9ad3-74cae29be8fd","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:56.713628305Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:56.840874481Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"uri":"/crucible/0/regions","method":"POST","req_id":"9c48e365-947e-4e2c-b691-88d561547e75","remote_addr":"[fd00:1122:3344:101::a]:40803","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":80,"response_code":"200"} {"msg":"creating region Region { id: RegionId(\"4abcd2e1-bba6-4d18-9ad3-74cae29be8fd\"), 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/4abcd2e1-bba6-4d18-9ad3-74cae29be8fd\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:56.958086613Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"region":"4abcd2e1-bba6-4d18-9ad3-74cae29be8fd","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.200248027Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"uri":"/crucible/0/regions","method":"POST","req_id":"6f5664df-fe1d-4515-b8e4-6e3ba1499cad","remote_addr":"[fd00:1122:3344:101::a]:40803","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":98,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.428719998Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"region":"4abcd2e1-bba6-4d18-9ad3-74cae29be8fd","component":"worker"} {"msg":"region 4abcd2e1-bba6-4d18-9ad3-74cae29be8fd state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.428759139Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.429024603Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-4abcd2e1-bba6-4d18-9ad3-74cae29be8fd","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.438808894Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-4abcd2e1-bba6-4d18-9ad3-74cae29be8fd","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.465023003Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.549271402Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-4abcd2e1-bba6-4d18-9ad3-74cae29be8fd","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.59768127Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/4abcd2e1-bba6-4d18-9ad3-74cae29be8fd","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.598425391Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.598505693Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.598551144Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.598590024Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.612338977Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.636542179Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:58.454287036Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"uri":"/crucible/0/regions","method":"POST","req_id":"190b1932-787f-4d14-84fa-b3bc75427dea","remote_addr":"[fd00:1122:3344:101::a]:40803","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.48806992Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:38363"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.488462716Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"uri":"/crucible/0/regions/4abcd2e1-bba6-4d18-9ad3-74cae29be8fd","method":"GET","req_id":"b529d33a-aef8-4cda-9ac9-78adfe4927ac","remote_addr":"[fd00:1122:3344:101::a]:38363","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":107,"response_code":"200"} {"msg":"path is \"/data/regions/4abcd2e1-bba6-4d18-9ad3-74cae29be8fd\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.488655099Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/4abcd2e1-bba6-4d18-9ad3-74cae29be8fd","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.49971232Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"datafile"} {"msg":"region 4abcd2e1-bba6-4d18-9ad3-74cae29be8fd state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.510423466Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.510570478Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.510623399Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"uri":"/crucible/0/regions/4abcd2e1-bba6-4d18-9ad3-74cae29be8fd","method":"DELETE","req_id":"5a6b765e-6c7b-4f46-a2c3-5ea8903eccad","remote_addr":"[fd00:1122:3344:101::a]:38363","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":22065,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.513630935Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"uri":"/crucible/0/regions/4abcd2e1-bba6-4d18-9ad3-74cae29be8fd","method":"GET","req_id":"be829316-bbae-4a12-bc0e-319edb777bfd","remote_addr":"[fd00:1122:3344:101::a]:38363","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":478,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-4abcd2e1-bba6-4d18-9ad3-74cae29be8fd (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.522016255Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.583108029Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/4abcd2e1-bba6-4d18-9ad3-74cae29be8fd\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.593661842Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"region":"4abcd2e1-bba6-4d18-9ad3-74cae29be8fd","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.658646567Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"uri":"/crucible/0/regions/4abcd2e1-bba6-4d18-9ad3-74cae29be8fd","method":"GET","req_id":"67ad17ca-f9d5-471f-ac39-415db36cfb1c","remote_addr":"[fd00:1122:3344:101::a]:38363","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":86,"response_code":"200"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.753069246Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"uri":"/crucible/0/regions/4abcd2e1-bba6-4d18-9ad3-74cae29be8fd","method":"GET","req_id":"bd1a85c6-09a9-4b9b-956d-c6482637bc16","remote_addr":"[fd00:1122:3344:101::a]:38363","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":43,"response_code":"200"} {"msg":"region 4abcd2e1-bba6-4d18-9ad3-74cae29be8fd state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.779221291Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.934106235Z","hostname":"oxz_crucible_8c365c9b-a01a-4993-9760-835bcd02a17c","pid":20392,"uri":"/crucible/0/regions/4abcd2e1-bba6-4d18-9ad3-74cae29be8fd","method":"GET","req_id":"1c539ff5-4ed5-4455-b115-bb0b9d89e71c","remote_addr":"[fd00:1122:3344:101::a]:38363","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":47,"response_code":"200"}