[ Oct 20 00:36:27 Enabled. ] [ Oct 20 00:36:27 Rereading configuration. ] [ Oct 20 00:36:30 Rereading configuration. ] [ Oct 20 00:36:32 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=oxControlService17 ++ 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::12 ++ 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 + [[ oxControlService17 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService17 ipadm: Could not delete oxControlService17: Interface does not exist + true + ipadm create-if -t oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService17 + ipadm show-addr oxControlService17/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService17/ll + ipadm show-addr oxControlService17/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::12 oxControlService17/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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::12]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:36:33.165886286Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:36:33.170170519Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:36:33.170180599Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:36:33.31706697Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.060468937Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:51396"} {"msg":"region 2a0af7d6-1cb7-4dea-a1ae-70312449f718 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.092242854Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.093853468Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.09392274Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"uri":"/crucible/0/regions","method":"POST","req_id":"bbb023cc-3bcc-4b5d-9023-2c6215d1920b","remote_addr":"[fd00:1122:3344:101::c]:51396","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":1971,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/2a0af7d6-1cb7-4dea-a1ae-70312449f718","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.103740602Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/2a0af7d6-1cb7-4dea-a1ae-70312449f718","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.103772823Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"2a0af7d6-1cb7-4dea-a1ae-70312449f718\"), 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/2a0af7d6-1cb7-4dea-a1ae-70312449f718\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.148801908Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"region":"2a0af7d6-1cb7-4dea-a1ae-70312449f718","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.266927836Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"uri":"/crucible/0/regions","method":"POST","req_id":"2d313f46-576a-4d6d-8331-d76b439b3bc1","remote_addr":"[fd00:1122:3344:101::c]:51396","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":97,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.314180599Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"region":"2a0af7d6-1cb7-4dea-a1ae-70312449f718","component":"worker"} {"msg":"region 2a0af7d6-1cb7-4dea-a1ae-70312449f718 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.31421501Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.314333823Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-2a0af7d6-1cb7-4dea-a1ae-70312449f718","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.314780992Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-2a0af7d6-1cb7-4dea-a1ae-70312449f718","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.317974652Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.325131256Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-2a0af7d6-1cb7-4dea-a1ae-70312449f718","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.328264564Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/2a0af7d6-1cb7-4dea-a1ae-70312449f718","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.329128103Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.329212675Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.329268456Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.329318727Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.335340648Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.345909866Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.892308128Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"uri":"/crucible/0/regions","method":"POST","req_id":"b33ee5c9-47fa-474b-ba31-8157221da319","remote_addr":"[fd00:1122:3344:101::c]:51396","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":71,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.236372377Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:45755"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.23652006Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"uri":"/crucible/0/regions/2a0af7d6-1cb7-4dea-a1ae-70312449f718","method":"GET","req_id":"3b568cdd-bdba-45ed-9141-c8e56cf16c25","remote_addr":"[fd00:1122:3344:101::c]:45755","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"path is \"/data/regions/2a0af7d6-1cb7-4dea-a1ae-70312449f718\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.236768266Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/2a0af7d6-1cb7-4dea-a1ae-70312449f718","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.249025991Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"datafile"} {"msg":"region 2a0af7d6-1cb7-4dea-a1ae-70312449f718 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.259439857Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.25961573Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.259679452Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"uri":"/crucible/0/regions/2a0af7d6-1cb7-4dea-a1ae-70312449f718","method":"DELETE","req_id":"e5ea7bd6-e384-4c82-9244-77309b4a2917","remote_addr":"[fd00:1122:3344:101::c]:45755","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":22988,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.259805554Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"uri":"/crucible/0/regions/2a0af7d6-1cb7-4dea-a1ae-70312449f718","method":"GET","req_id":"f1b43c4d-e991-4be6-a798-a88343b2bb6c","remote_addr":"[fd00:1122:3344:101::c]:45755","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":28,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-2a0af7d6-1cb7-4dea-a1ae-70312449f718 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.260845807Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.266096001Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/2a0af7d6-1cb7-4dea-a1ae-70312449f718\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.276529507Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"region":"2a0af7d6-1cb7-4dea-a1ae-70312449f718","component":"worker"} {"msg":"region 2a0af7d6-1cb7-4dea-a1ae-70312449f718 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.329360834Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.35566926Z","hostname":"oxz_crucible_bcb54cf9-f8ee-4360-ad39-7041ab4b7a11","pid":21013,"uri":"/crucible/0/regions/2a0af7d6-1cb7-4dea-a1ae-70312449f718","method":"GET","req_id":"ffee0417-fc31-4024-bccc-25ce70d5d11b","remote_addr":"[fd00:1122:3344:101::c]:45755","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":102,"response_code":"200"}