[ Feb 3 08:13:55 Enabled. ] [ Feb 3 08:13:55 Rereading configuration. ] [ Feb 3 08:13:56 Rereading configuration. ] [ Feb 3 08:13:58 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=oxControlService23 ++ 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::15 ++ 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 + [[ oxControlService23 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService23 ipadm: Could not delete oxControlService23: Interface does not exist + true + ipadm create-if -t oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService23 + ipadm show-addr oxControlService23/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService23/ll + ipadm show-addr oxControlService23/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService23/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::15]: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":"2024-02-03T08:13:59.163715135Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:13:59.172070557Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:13:59.172084597Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:13:59.278472745Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.034059913Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:40730"} {"msg":"region d9e176d4-7864-47d5-8692-b615194f7273 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.106923981Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.114310875Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"uri":"/crucible/0/regions","method":"POST","req_id":"114fba9f-3912-4b25-b342-78e1d6a53520","remote_addr":"[fd00:1122:3344:101::c]:40730","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":13071,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.114339825Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/d9e176d4-7864-47d5-8692-b615194f7273","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.12535692Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/d9e176d4-7864-47d5-8692-b615194f7273","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.125386231Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"d9e176d4-7864-47d5-8692-b615194f7273\"), 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/d9e176d4-7864-47d5-8692-b615194f7273\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.176021797Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"region":"d9e176d4-7864-47d5-8692-b615194f7273","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.258333737Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"uri":"/crucible/0/regions","method":"POST","req_id":"d6d047d4-065a-4fd7-a754-0c7b56d14157","remote_addr":"[fd00:1122:3344:101::c]:40730","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":70,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.362239273Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"region":"d9e176d4-7864-47d5-8692-b615194f7273","component":"worker"} {"msg":"region d9e176d4-7864-47d5-8692-b615194f7273 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.362286013Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.362410504Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-d9e176d4-7864-47d5-8692-b615194f7273","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.362874818Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-d9e176d4-7864-47d5-8692-b615194f7273","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.365594462Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.378749635Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-d9e176d4-7864-47d5-8692-b615194f7273","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.381839692Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/d9e176d4-7864-47d5-8692-b615194f7273","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.382538808Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.38506971Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.38511724Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.38515036Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.391025941Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.394664562Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:53.989428831Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"uri":"/crucible/0/regions","method":"POST","req_id":"d79a4242-22a7-42a7-b7ea-8abbe068f402","remote_addr":"[fd00:1122:3344:101::c]:40730","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":71,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.203756504Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:61934"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.203873625Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"uri":"/crucible/0/regions/d9e176d4-7864-47d5-8692-b615194f7273","method":"GET","req_id":"25b5c2e3-98a4-421b-a085-cea7aa81822c","remote_addr":"[fd00:1122:3344:101::c]:61934","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":89,"response_code":"200"} {"msg":"path is \"/data/regions/d9e176d4-7864-47d5-8692-b615194f7273\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.204098347Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/d9e176d4-7864-47d5-8692-b615194f7273","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.214140584Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"datafile"} {"msg":"region d9e176d4-7864-47d5-8692-b615194f7273 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.222747218Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.222883489Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.22293204Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"uri":"/crucible/0/regions/d9e176d4-7864-47d5-8692-b615194f7273","method":"DELETE","req_id":"2dc01d0b-ca47-4de5-a6c5-60379e1b7952","remote_addr":"[fd00:1122:3344:101::c]:61934","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":18929,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.223085801Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"uri":"/crucible/0/regions/d9e176d4-7864-47d5-8692-b615194f7273","method":"GET","req_id":"f3347db4-fcee-4cda-bf8c-bf92bace8a60","remote_addr":"[fd00:1122:3344:101::c]:61934","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-d9e176d4-7864-47d5-8692-b615194f7273 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.224041669Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.227966313Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/d9e176d4-7864-47d5-8692-b615194f7273\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.237760248Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"region":"d9e176d4-7864-47d5-8692-b615194f7273","component":"worker"} {"msg":"region d9e176d4-7864-47d5-8692-b615194f7273 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.289795478Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-03T08:14:54.311198273Z","hostname":"oxz_crucible_507e5bfd-4c5f-4039-aebe-425475608038","pid":21606,"uri":"/crucible/0/regions/d9e176d4-7864-47d5-8692-b615194f7273","method":"GET","req_id":"c56bce0d-22f5-444b-bc1c-bb09534a489c","remote_addr":"[fd00:1122:3344:101::c]:61934","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":55,"response_code":"200"}