[ Oct 24 17:40:41 Enabled. ] [ Oct 24 17:40:41 Rereading configuration. ] [ Oct 24 17:40:43 Rereading configuration. ] [ Oct 24 17:40:44 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:40:45.575125936Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:40:45.57931163Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:40:45.57932261Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:40:45.707878696Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:41.967936897Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:37562"} {"msg":"region c80fa30f-4f6a-447f-baf8-846fa2e3f8f5 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.036899598Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.040719725Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"uri":"/crucible/0/regions","method":"POST","req_id":"9f971445-e954-4647-972d-8a4e2c1ad32c","remote_addr":"[fd00:1122:3344:101::c]:37562","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":9906,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.040750505Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/c80fa30f-4f6a-447f-baf8-846fa2e3f8f5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.05071369Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/c80fa30f-4f6a-447f-baf8-846fa2e3f8f5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.05075597Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"c80fa30f-4f6a-447f-baf8-846fa2e3f8f5\"), 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/c80fa30f-4f6a-447f-baf8-846fa2e3f8f5\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.10546239Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"region":"c80fa30f-4f6a-447f-baf8-846fa2e3f8f5","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.203859097Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"uri":"/crucible/0/regions","method":"POST","req_id":"bc0c5da8-55b6-4861-b0a3-ec844ee731b7","remote_addr":"[fd00:1122:3344:101::c]:37562","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":95,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.371510978Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"region":"c80fa30f-4f6a-447f-baf8-846fa2e3f8f5","component":"worker"} {"msg":"region c80fa30f-4f6a-447f-baf8-846fa2e3f8f5 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.371558689Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.371824764Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-c80fa30f-4f6a-447f-baf8-846fa2e3f8f5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.372368004Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-c80fa30f-4f6a-447f-baf8-846fa2e3f8f5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.375868865Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.389907581Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-c80fa30f-4f6a-447f-baf8-846fa2e3f8f5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.393092837Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/c80fa30f-4f6a-447f-baf8-846fa2e3f8f5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.393920092Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.394008223Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.394064864Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.394107655Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.398892129Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.404520088Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:42.924713666Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"uri":"/crucible/0/regions","method":"POST","req_id":"2ad36fb1-7cff-4ba3-9815-1f1106041d87","remote_addr":"[fd00:1122:3344:101::c]:37562","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":125,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:43.218287387Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:41326"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:43.280727903Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"uri":"/crucible/0/regions/c80fa30f-4f6a-447f-baf8-846fa2e3f8f5","method":"GET","req_id":"fc76f27b-f209-4ef5-86cd-bf90b73902d1","remote_addr":"[fd00:1122:3344:101::c]:41326","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":101,"response_code":"200"} {"msg":"path is \"/data/regions/c80fa30f-4f6a-447f-baf8-846fa2e3f8f5\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:43.281041488Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/c80fa30f-4f6a-447f-baf8-846fa2e3f8f5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:43.293037249Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"datafile"} {"msg":"region c80fa30f-4f6a-447f-baf8-846fa2e3f8f5 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:43.302963723Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:43.303125236Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:43.303188047Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"uri":"/crucible/0/regions/c80fa30f-4f6a-447f-baf8-846fa2e3f8f5","method":"DELETE","req_id":"317653d1-5e00-4b8c-aec8-bf8c8d9f0663","remote_addr":"[fd00:1122:3344:101::c]:41326","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":22171,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:43.303297719Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"uri":"/crucible/0/regions/c80fa30f-4f6a-447f-baf8-846fa2e3f8f5","method":"GET","req_id":"58564e2b-c9c3-4f05-b13f-979245e7f8bf","remote_addr":"[fd00:1122:3344:101::c]:41326","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-c80fa30f-4f6a-447f-baf8-846fa2e3f8f5 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:43.304363287Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:43.309195492Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/c80fa30f-4f6a-447f-baf8-846fa2e3f8f5\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:43.321010459Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"region":"c80fa30f-4f6a-447f-baf8-846fa2e3f8f5","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:43.371658498Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"uri":"/crucible/0/regions/c80fa30f-4f6a-447f-baf8-846fa2e3f8f5","method":"GET","req_id":"61e1b547-0573-4d16-af31-fefd1bd1ca6d","remote_addr":"[fd00:1122:3344:101::c]:41326","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":97,"response_code":"200"} {"msg":"region c80fa30f-4f6a-447f-baf8-846fa2e3f8f5 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:43.380020905Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:43.531613645Z","hostname":"oxz_crucible_2180ccaf-8975-4480-b9ce-caddfd91a175","pid":21145,"uri":"/crucible/0/regions/c80fa30f-4f6a-447f-baf8-846fa2e3f8f5","method":"GET","req_id":"59944b7b-6808-4434-8c61-febd8b7e596f","remote_addr":"[fd00:1122:3344:101::c]:41326","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":36,"response_code":"200"}