[ Oct 5 07:23:29 Enabled. ] [ Oct 5 07:23:29 Rereading configuration. ] [ Oct 5 07:23:30 Rereading configuration. ] [ Oct 5 07:23:31 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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::17 ++ 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::17 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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:32.455388453Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:32.456437859Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:32.45645046Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:32.612003285Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.240162667Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:44815"} {"msg":"region ff3e067c-be04-43bc-84a9-cf18723e2d22 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.269267519Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.277971016Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"uri":"/crucible/0/regions","method":"POST","req_id":"7b53e0b1-f1e7-4129-9632-ec3e04f49d0b","remote_addr":"[fd00:1122:3344:101::c]:44815","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":20522,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.284014952Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/ff3e067c-be04-43bc-84a9-cf18723e2d22","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.292919943Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/ff3e067c-be04-43bc-84a9-cf18723e2d22","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.292958244Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"ff3e067c-be04-43bc-84a9-cf18723e2d22\"), 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/ff3e067c-be04-43bc-84a9-cf18723e2d22\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.504874043Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"region":"ff3e067c-be04-43bc-84a9-cf18723e2d22","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.589220559Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"uri":"/crucible/0/regions","method":"POST","req_id":"5f2d25cf-a612-4b4f-a9e6-b36eed232817","remote_addr":"[fd00:1122:3344:101::c]:44815","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":96,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.784895591Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"region":"ff3e067c-be04-43bc-84a9-cf18723e2d22","component":"worker"} {"msg":"region ff3e067c-be04-43bc-84a9-cf18723e2d22 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.784935901Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.785041723Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-ff3e067c-be04-43bc-84a9-cf18723e2d22","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.795297176Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-ff3e067c-be04-43bc-84a9-cf18723e2d22","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.804209977Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.834579218Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-ff3e067c-be04-43bc-84a9-cf18723e2d22","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.852427811Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/ff3e067c-be04-43bc-84a9-cf18723e2d22","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.85301591Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.853099212Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.853148712Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.853189223Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.878059057Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.90850525Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.056633907Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"uri":"/crucible/0/regions","method":"POST","req_id":"348c79bb-8b17-46e5-86b2-9aee6165c61e","remote_addr":"[fd00:1122:3344:101::c]:44815","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":74,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.512584594Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:62489"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.54387333Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"uri":"/crucible/0/regions/ff3e067c-be04-43bc-84a9-cf18723e2d22","method":"GET","req_id":"49f88c07-d746-4dca-bd37-fac835a2b0f4","remote_addr":"[fd00:1122:3344:101::c]:62489","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":101,"response_code":"200"} {"msg":"path is \"/data/regions/ff3e067c-be04-43bc-84a9-cf18723e2d22\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.544104954Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/ff3e067c-be04-43bc-84a9-cf18723e2d22","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.555466564Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"datafile"} {"msg":"region ff3e067c-be04-43bc-84a9-cf18723e2d22 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.564408055Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.564550048Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.564595049Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"uri":"/crucible/0/regions/ff3e067c-be04-43bc-84a9-cf18723e2d22","method":"DELETE","req_id":"d8d2886c-bf08-42a9-807d-844b14555be7","remote_addr":"[fd00:1122:3344:101::c]:62489","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":20506,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.567101308Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"uri":"/crucible/0/regions/ff3e067c-be04-43bc-84a9-cf18723e2d22","method":"GET","req_id":"d5d618a8-bb95-4bd9-9a98-0750f2928bea","remote_addr":"[fd00:1122:3344:101::c]:62489","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":401,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-ff3e067c-be04-43bc-84a9-cf18723e2d22 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.574937122Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.595696271Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/ff3e067c-be04-43bc-84a9-cf18723e2d22\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.607193664Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"region":"ff3e067c-be04-43bc-84a9-cf18723e2d22","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.68961453Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"uri":"/crucible/0/regions/ff3e067c-be04-43bc-84a9-cf18723e2d22","method":"GET","req_id":"5923e9fc-b6fc-4b81-83b5-4f199b8b31f3","remote_addr":"[fd00:1122:3344:101::c]:62489","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":68,"response_code":"200"} {"msg":"region ff3e067c-be04-43bc-84a9-cf18723e2d22 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.711009619Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.82780232Z","hostname":"oxz_crucible_d5dbf010-5241-47f6-819e-0c7cab802175","pid":20575,"uri":"/crucible/0/regions/ff3e067c-be04-43bc-84a9-cf18723e2d22","method":"GET","req_id":"58485a65-b5a8-4456-9574-15f296c6924d","remote_addr":"[fd00:1122:3344:101::c]:62489","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":29,"response_code":"200"}