[ Nov 28 19:01:53 Enabled. ] [ Nov 28 19:01:53 Rereading configuration. ] [ Nov 28 19:01:57 Rereading configuration. ] [ Nov 28 19:02:02 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=oxControlService21 ++ 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::19 ++ 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 + [[ oxControlService21 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService21 ipadm: Could not delete oxControlService21: Interface does not exist + true + ipadm create-if -t oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService21 + ipadm show-addr oxControlService21/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService21/ll + ipadm show-addr oxControlService21/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::19 oxControlService21/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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::19]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:02:03.025920327Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:02:03.029332791Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:02:03.029341529Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:02:03.125493642Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.170229614Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:62625"} {"msg":"region d070cea9-db00-4b82-b3d9-381eed079661 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.252434717Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.25852084Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.258624872Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"uri":"/crucible/0/regions","method":"POST","req_id":"fa241346-387f-47c3-b06a-c86e50055c97","remote_addr":"[fd00:1122:3344:101::b]:62625","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":22812,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d070cea9-db00-4b82-b3d9-381eed079661","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.270479105Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d070cea9-db00-4b82-b3d9-381eed079661","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.270506996Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"d070cea9-db00-4b82-b3d9-381eed079661\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/d070cea9-db00-4b82-b3d9-381eed079661\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.387629989Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"region":"d070cea9-db00-4b82-b3d9-381eed079661","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.625889241Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"uri":"/crucible/0/regions","method":"POST","req_id":"21373a33-8b62-4e19-8213-7b186fcfb0f6","remote_addr":"[fd00:1122:3344:101::b]:62625","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":87,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.820069726Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"region":"d070cea9-db00-4b82-b3d9-381eed079661","component":"worker"} {"msg":"region d070cea9-db00-4b82-b3d9-381eed079661 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.820106916Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.82036598Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-d070cea9-db00-4b82-b3d9-381eed079661","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.822784993Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-d070cea9-db00-4b82-b3d9-381eed079661","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.829912422Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.85227551Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-d070cea9-db00-4b82-b3d9-381eed079661","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.863117269Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/d070cea9-db00-4b82-b3d9-381eed079661","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.86390095Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.863982001Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.864029562Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.864066402Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.874661048Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.900464754Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:17.978207615Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"uri":"/crucible/0/regions","method":"POST","req_id":"67f58e61-1a2b-40ff-9370-c1b91b31bed4","remote_addr":"[fd00:1122:3344:101::b]:62625","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":68,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:06:10.936448802Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:65062"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:06:10.943039822Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"uri":"/crucible/0/regions/d070cea9-db00-4b82-b3d9-381eed079661","method":"GET","req_id":"12ac4e98-1569-4ec8-9aec-c0c3c9e01b9b","remote_addr":"[fd00:1122:3344:101::b]:65062","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":6539,"response_code":"200"} {"msg":"path is \"/data/regions/d070cea9-db00-4b82-b3d9-381eed079661\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:06:10.945517347Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d070cea9-db00-4b82-b3d9-381eed079661","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:06:10.959744283Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"datafile"} {"msg":"region d070cea9-db00-4b82-b3d9-381eed079661 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:06:10.969934343Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:06:10.970608692Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:06:10.970667343Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"uri":"/crucible/0/regions/d070cea9-db00-4b82-b3d9-381eed079661","method":"DELETE","req_id":"7cffebc3-f896-4a66-aa38-5bf922a4a23f","remote_addr":"[fd00:1122:3344:101::b]:65062","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":27429,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:06:10.970844405Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"uri":"/crucible/0/regions/d070cea9-db00-4b82-b3d9-381eed079661","method":"GET","req_id":"5435ec4b-6e5c-4452-9740-9d14cbc46c3d","remote_addr":"[fd00:1122:3344:101::b]:65062","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-d070cea9-db00-4b82-b3d9-381eed079661 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:06:10.973989659Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:06:10.987234671Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d070cea9-db00-4b82-b3d9-381eed079661\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:06:10.997225199Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"region":"d070cea9-db00-4b82-b3d9-381eed079661","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:06:11.033188875Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"uri":"/crucible/0/regions/d070cea9-db00-4b82-b3d9-381eed079661","method":"GET","req_id":"233c2455-ea92-4890-8803-b7c7931b1a25","remote_addr":"[fd00:1122:3344:101::b]:65062","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":66,"response_code":"200"} {"msg":"region d070cea9-db00-4b82-b3d9-381eed079661 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:06:11.040960542Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:06:11.21141056Z","hostname":"oxz_crucible_1339fc15-a76e-4070-8b2a-7e289b1bf0b4","pid":21997,"uri":"/crucible/0/regions/d070cea9-db00-4b82-b3d9-381eed079661","method":"GET","req_id":"8c420fae-28e5-456f-98b3-d93ef3452377","remote_addr":"[fd00:1122:3344:101::b]:65062","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":27,"response_code":"200"}