[ Oct 11 22:23:14 Enabled. ] [ Oct 11 22:23:14 Rereading configuration. ] [ Oct 11 22:23:16 Rereading configuration. ] [ Oct 11 22:23:18 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=oxControlService20 ++ 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::14 ++ 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 + [[ oxControlService20 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService20 ipadm: Could not delete oxControlService20: Interface does not exist + true + ipadm create-if -t oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService20 + ipadm show-addr oxControlService20/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService20/ll + ipadm show-addr oxControlService20/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService20/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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:23:18.931150709Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:23:18.936008152Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:23:18.936021813Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:23:19.147441458Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.610513488Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:62646"} {"msg":"region 4d7fe510-b97e-4cbe-810e-33422f817a0a state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.637504933Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.644818463Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"uri":"/crucible/0/regions","method":"POST","req_id":"4445e7af-698c-4709-a0ee-53e70d5f5206","remote_addr":"[fd00:1122:3344:101::c]:62646","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":14194,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.648095873Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/4d7fe510-b97e-4cbe-810e-33422f817a0a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.65726114Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/4d7fe510-b97e-4cbe-810e-33422f817a0a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.657290391Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"4d7fe510-b97e-4cbe-810e-33422f817a0a\"), 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/4d7fe510-b97e-4cbe-810e-33422f817a0a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.705262831Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"region":"4d7fe510-b97e-4cbe-810e-33422f817a0a","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.890887599Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"region":"4d7fe510-b97e-4cbe-810e-33422f817a0a","component":"worker"} {"msg":"region 4d7fe510-b97e-4cbe-810e-33422f817a0a state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.89093606Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.891008661Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-4d7fe510-b97e-4cbe-810e-33422f817a0a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.903157253Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-4d7fe510-b97e-4cbe-810e-33422f817a0a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.910101947Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.925686982Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-4d7fe510-b97e-4cbe-810e-33422f817a0a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.929498529Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/4d7fe510-b97e-4cbe-810e-33422f817a0a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.930299171Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.930378532Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.930425563Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.930466323Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.93557163Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.943385158Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"uri":"/crucible/0/regions","method":"POST","req_id":"36857163-fb88-43bc-bd94-f0d25ce2af0d","remote_addr":"[fd00:1122:3344:101::c]:62646","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":87,"response_code":"200"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.944356152Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.85974782Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:52384"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.859974743Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"uri":"/crucible/0/regions/4d7fe510-b97e-4cbe-810e-33422f817a0a","method":"GET","req_id":"99edd080-0e8d-4929-97f5-e7a88f0e049c","remote_addr":"[fd00:1122:3344:101::c]:52384","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":105,"response_code":"200"} {"msg":"path is \"/data/regions/4d7fe510-b97e-4cbe-810e-33422f817a0a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.860178526Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/4d7fe510-b97e-4cbe-810e-33422f817a0a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.871587167Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"datafile"} {"msg":"region 4d7fe510-b97e-4cbe-810e-33422f817a0a state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.883138591Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.883383305Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.883430196Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"uri":"/crucible/0/regions/4d7fe510-b97e-4cbe-810e-33422f817a0a","method":"DELETE","req_id":"e0378707-cfa1-4e10-9999-bf9b51b5736b","remote_addr":"[fd00:1122:3344:101::c]:52384","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":23279,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.886433401Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"uri":"/crucible/0/regions/4d7fe510-b97e-4cbe-810e-33422f817a0a","method":"GET","req_id":"2b846c3b-094c-4144-b7ee-d8a49380f90e","remote_addr":"[fd00:1122:3344:101::c]:52384","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":468,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-4d7fe510-b97e-4cbe-810e-33422f817a0a (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.895569558Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.900192337Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/4d7fe510-b97e-4cbe-810e-33422f817a0a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.912528573Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"region":"4d7fe510-b97e-4cbe-810e-33422f817a0a","component":"worker"} {"msg":"region 4d7fe510-b97e-4cbe-810e-33422f817a0a state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.963058392Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.964969Z","hostname":"oxz_crucible_fb77703c-1786-4e30-ad5e-b29c535361dd","pid":21491,"uri":"/crucible/0/regions/4d7fe510-b97e-4cbe-810e-33422f817a0a","method":"GET","req_id":"753af708-68d9-4bd3-ab22-96e74538634b","remote_addr":"[fd00:1122:3344:101::c]:52384","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":71,"response_code":"200"}