[ Oct 20 00:36:28 Enabled. ] [ Oct 20 00:36:28 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=oxControlService11 ++ 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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/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 + [[ oxControlService11 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService11 ipadm: Could not delete oxControlService11: Interface does not exist + true + ipadm create-if -t oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService11 + ipadm show-addr oxControlService11/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService11/ll + ipadm show-addr oxControlService11/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService11/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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:36:33.601343869Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:36:33.605902387Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:36:33.605914958Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:36:33.800355417Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.028810411Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:43139"} {"msg":"region 75bbc187-b179-494e-81e7-9663bfd3ecc7 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.092300875Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.094051833Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.094070093Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"uri":"/crucible/0/regions","method":"POST","req_id":"a1dbedf7-7452-4b36-b6ff-7c24060ec191","remote_addr":"[fd00:1122:3344:101::c]:43139","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":2120,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/75bbc187-b179-494e-81e7-9663bfd3ecc7","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.104439928Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/75bbc187-b179-494e-81e7-9663bfd3ecc7","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.104465678Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"75bbc187-b179-494e-81e7-9663bfd3ecc7\"), 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/75bbc187-b179-494e-81e7-9663bfd3ecc7\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.150616508Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"region":"75bbc187-b179-494e-81e7-9663bfd3ecc7","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.318952122Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"region":"75bbc187-b179-494e-81e7-9663bfd3ecc7","component":"worker"} {"msg":"region 75bbc187-b179-494e-81e7-9663bfd3ecc7 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.318988473Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.319091208Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-75bbc187-b179-494e-81e7-9663bfd3ecc7","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.319548686Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-75bbc187-b179-494e-81e7-9663bfd3ecc7","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.323037381Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.331340611Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-75bbc187-b179-494e-81e7-9663bfd3ecc7","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.335394309Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/75bbc187-b179-494e-81e7-9663bfd3ecc7","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.336242467Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.336322369Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.3363724Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.336413241Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.341605313Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.350375103Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:28.465764782Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"uri":"/crucible/0/regions","method":"POST","req_id":"0b21b3a4-4c60-435b-a955-2ed3155b9143","remote_addr":"[fd00:1122:3344:101::c]:43139","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.174018467Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:40980"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.236540691Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"uri":"/crucible/0/regions/75bbc187-b179-494e-81e7-9663bfd3ecc7","method":"GET","req_id":"429b5706-905b-454f-849f-a699bee7fd7f","remote_addr":"[fd00:1122:3344:101::c]:40980","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":69,"response_code":"200"} {"msg":"path is \"/data/regions/75bbc187-b179-494e-81e7-9663bfd3ecc7\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.236821367Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/75bbc187-b179-494e-81e7-9663bfd3ecc7","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.248088531Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"datafile"} {"msg":"region 75bbc187-b179-494e-81e7-9663bfd3ecc7 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.258076477Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.25822283Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.258277241Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"uri":"/crucible/0/regions/75bbc187-b179-494e-81e7-9663bfd3ecc7","method":"DELETE","req_id":"c7afec78-0100-48e0-8c78-82287653a67d","remote_addr":"[fd00:1122:3344:101::c]:40980","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":21539,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.258479326Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"uri":"/crucible/0/regions/75bbc187-b179-494e-81e7-9663bfd3ecc7","method":"GET","req_id":"66716dd2-292c-4dc2-827c-472a4103a00b","remote_addr":"[fd00:1122:3344:101::c]:40980","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-75bbc187-b179-494e-81e7-9663bfd3ecc7 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.259322774Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.264823573Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/75bbc187-b179-494e-81e7-9663bfd3ecc7\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.27529168Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"region":"75bbc187-b179-494e-81e7-9663bfd3ecc7","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.314042979Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"uri":"/crucible/0/regions/75bbc187-b179-494e-81e7-9663bfd3ecc7","method":"GET","req_id":"2cf93e88-34e9-46d5-8724-0f373a0981ba","remote_addr":"[fd00:1122:3344:101::c]:40980","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":61,"response_code":"200"} {"msg":"region 75bbc187-b179-494e-81e7-9663bfd3ecc7 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.327336407Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:29.482364814Z","hostname":"oxz_crucible_00741d78-c6dd-4a5d-a187-6099af189740","pid":21196,"uri":"/crucible/0/regions/75bbc187-b179-494e-81e7-9663bfd3ecc7","method":"GET","req_id":"8a2a18b7-3fa8-4bd8-8fd8-f0c5f97e82ea","remote_addr":"[fd00:1122:3344:101::c]:40980","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":36,"response_code":"200"}