[ 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=oxControlService22 ++ 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 + [[ oxControlService22 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService22 ipadm: Could not delete oxControlService22: Interface does not exist + true + ipadm create-if -t oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 + ipadm show-addr oxControlService22/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService22/ll + ipadm show-addr oxControlService22/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::13 oxControlService22/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-11T22:23:19.536817306Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:23:19.541213343Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:23:19.541225643Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:23:19.767624473Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.322350587Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:63182"} {"msg":"region f0530155-e2ac-4648-a630-c66b0e980f84 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.336920815Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.342649921Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"uri":"/crucible/0/regions","method":"POST","req_id":"c03c023e-e1e7-4cc8-bddc-a053b73dfda6","remote_addr":"[fd00:1122:3344:101::c]:63182","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":10418,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.343756058Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/f0530155-e2ac-4648-a630-c66b0e980f84","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.353967042Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/f0530155-e2ac-4648-a630-c66b0e980f84","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.353992472Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"f0530155-e2ac-4648-a630-c66b0e980f84\"), 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/f0530155-e2ac-4648-a630-c66b0e980f84\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.405527056Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"region":"f0530155-e2ac-4648-a630-c66b0e980f84","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.603041312Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"region":"f0530155-e2ac-4648-a630-c66b0e980f84","component":"worker"} {"msg":"region f0530155-e2ac-4648-a630-c66b0e980f84 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.603096653Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.603182425Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-f0530155-e2ac-4648-a630-c66b0e980f84","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.615639972Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-f0530155-e2ac-4648-a630-c66b0e980f84","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.622492384Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.634758049Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-f0530155-e2ac-4648-a630-c66b0e980f84","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.637748304Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/f0530155-e2ac-4648-a630-c66b0e980f84","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.638512665Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.638595246Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.638640947Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.638680628Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.645668153Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.655248427Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"uri":"/crucible/0/regions","method":"POST","req_id":"687231a2-b426-41d2-b9f9-3486bca86eed","remote_addr":"[fd00:1122:3344:101::c]:63182","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.655857509Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.062916223Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:38946"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.063277469Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"uri":"/crucible/0/regions/f0530155-e2ac-4648-a630-c66b0e980f84","method":"GET","req_id":"040a2a2f-23f0-44fb-8bf8-641e1e381c7c","remote_addr":"[fd00:1122:3344:101::c]:38946","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":209,"response_code":"200"} {"msg":"path is \"/data/regions/f0530155-e2ac-4648-a630-c66b0e980f84\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.063416591Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/f0530155-e2ac-4648-a630-c66b0e980f84","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.075443752Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"datafile"} {"msg":"region f0530155-e2ac-4648-a630-c66b0e980f84 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.085900678Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.086065641Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.088761761Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"uri":"/crucible/0/regions/f0530155-e2ac-4648-a630-c66b0e980f84","method":"DELETE","req_id":"64ab5503-b13b-4d7e-85f8-660628fefb32","remote_addr":"[fd00:1122:3344:101::c]:38946","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":25301,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.088984455Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"uri":"/crucible/0/regions/f0530155-e2ac-4648-a630-c66b0e980f84","method":"GET","req_id":"a3eb2e79-308f-4a8a-8380-4c8c1ce40762","remote_addr":"[fd00:1122:3344:101::c]:38946","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-f0530155-e2ac-4648-a630-c66b0e980f84 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.097548964Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.107013166Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/f0530155-e2ac-4648-a630-c66b0e980f84\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.119819878Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"region":"f0530155-e2ac-4648-a630-c66b0e980f84","component":"worker"} {"msg":"region f0530155-e2ac-4648-a630-c66b0e980f84 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.187496224Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.219651207Z","hostname":"oxz_crucible_aab1a11e-997e-4222-bc4b-fd36a182da26","pid":21762,"uri":"/crucible/0/regions/f0530155-e2ac-4648-a630-c66b0e980f84","method":"GET","req_id":"41f3cb6b-6168-434e-9c57-cebe1e261e58","remote_addr":"[fd00:1122:3344:101::c]:38946","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":68,"response_code":"200"}