[ Nov 2 20:24:51 Enabled. ] [ Nov 2 20:24:51 Rereading configuration. ] [ Nov 2 20:24:52 Rereading configuration. ] [ Nov 2 20:24:53 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=oxControlService16 ++ 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::1a ++ 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 + [[ oxControlService16 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService16 ipadm: Could not delete oxControlService16: Interface does not exist + true + ipadm create-if -t oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService16 + ipadm show-addr oxControlService16/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService16/ll + ipadm show-addr oxControlService16/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService16/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::1a]: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-11-02T20:24:53.944827953Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:24:53.945898519Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:24:53.945908359Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:24:54.088159011Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.309078091Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:45725"} {"msg":"region 0d126b93-a214-45d1-832f-447c0c922c7a state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.349114775Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.359437259Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"uri":"/crucible/0/regions","method":"POST","req_id":"8892737f-cc6c-4aca-a353-1e4bac71e3bd","remote_addr":"[fd00:1122:3344:101::c]:45725","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":18771,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.360525395Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/0d126b93-a214-45d1-832f-447c0c922c7a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.372819317Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/0d126b93-a214-45d1-832f-447c0c922c7a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.372851748Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"0d126b93-a214-45d1-832f-447c0c922c7a\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/0d126b93-a214-45d1-832f-447c0c922c7a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.464754501Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"region":"0d126b93-a214-45d1-832f-447c0c922c7a","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.607629062Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"uri":"/crucible/0/regions","method":"POST","req_id":"ded639fe-5a63-49b5-b332-3e76298716f0","remote_addr":"[fd00:1122:3344:101::c]:45725","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":94,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.691786041Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"region":"0d126b93-a214-45d1-832f-447c0c922c7a","component":"worker"} {"msg":"region 0d126b93-a214-45d1-832f-447c0c922c7a state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.691814111Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.691923513Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-0d126b93-a214-45d1-832f-447c0c922c7a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.696895516Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-0d126b93-a214-45d1-832f-447c0c922c7a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.711537294Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.744679866Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-0d126b93-a214-45d1-832f-447c0c922c7a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.760526321Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/0d126b93-a214-45d1-832f-447c0c922c7a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.761431905Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.761505455Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.761551036Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.761590927Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.769984571Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.793716234Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:53.15056661Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"uri":"/crucible/0/regions","method":"POST","req_id":"53ffc989-b32c-4c79-b52b-99e55ae1350e","remote_addr":"[fd00:1122:3344:101::c]:45725","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":76,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.465818248Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:52840"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.497730252Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"uri":"/crucible/0/regions/0d126b93-a214-45d1-832f-447c0c922c7a","method":"GET","req_id":"7f6fc78a-236a-4c60-ae6b-12d88b6a244d","remote_addr":"[fd00:1122:3344:101::c]:52840","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":179,"response_code":"200"} {"msg":"path is \"/data/regions/0d126b93-a214-45d1-832f-447c0c922c7a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.497961875Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/0d126b93-a214-45d1-832f-447c0c922c7a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.510022274Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"datafile"} {"msg":"region 0d126b93-a214-45d1-832f-447c0c922c7a state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.520024853Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.520232236Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.520298337Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"uri":"/crucible/0/regions/0d126b93-a214-45d1-832f-447c0c922c7a","method":"DELETE","req_id":"fcfebc74-03fb-4a66-9f8e-9897d8e371a9","remote_addr":"[fd00:1122:3344:101::c]:52840","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":22372,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.520444419Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"uri":"/crucible/0/regions/0d126b93-a214-45d1-832f-447c0c922c7a","method":"GET","req_id":"cb74eb7b-bd33-4a87-b427-dd8c675229de","remote_addr":"[fd00:1122:3344:101::c]:52840","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-0d126b93-a214-45d1-832f-447c0c922c7a (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.521542265Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.529699066Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/0d126b93-a214-45d1-832f-447c0c922c7a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.541799586Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"region":"0d126b93-a214-45d1-832f-447c0c922c7a","component":"worker"} {"msg":"region 0d126b93-a214-45d1-832f-447c0c922c7a state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.591161558Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.622127258Z","hostname":"oxz_crucible_32bf42b4-f447-4517-b253-dcc649fd0468","pid":19665,"uri":"/crucible/0/regions/0d126b93-a214-45d1-832f-447c0c922c7a","method":"GET","req_id":"f1537106-0489-485b-9a66-4de01688d84c","remote_addr":"[fd00:1122:3344:101::c]:52840","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":90,"response_code":"200"}