[ Oct 17 23:51:41 Enabled. ] [ Oct 17 23:51:41 Rereading configuration. ] [ Oct 17 23:51:44 Rereading configuration. ] [ Oct 17 23:51:47 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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::19 ++ 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::19 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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::19]: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-17T23:51:48.05927278Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:51:48.06291849Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:51:48.06292659Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:51:48.384170416Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.482297341Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:37638"} {"msg":"region 4540dd69-1611-4ffa-8ac3-5763ee115f92 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.485667914Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.486017192Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"uri":"/crucible/0/regions","method":"POST","req_id":"8cadcd21-5299-485e-86bd-5ec5e023a98f","remote_addr":"[fd00:1122:3344:101::b]:37638","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":753,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.487317521Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4540dd69-1611-4ffa-8ac3-5763ee115f92","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.497517924Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4540dd69-1611-4ffa-8ac3-5763ee115f92","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.497547194Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"4540dd69-1611-4ffa-8ac3-5763ee115f92\"), 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/4540dd69-1611-4ffa-8ac3-5763ee115f92\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.546123867Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"region":"4540dd69-1611-4ffa-8ac3-5763ee115f92","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.716693097Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"region":"4540dd69-1611-4ffa-8ac3-5763ee115f92","component":"worker"} {"msg":"region 4540dd69-1611-4ffa-8ac3-5763ee115f92 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.716739858Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.716866921Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-4540dd69-1611-4ffa-8ac3-5763ee115f92","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.719333445Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-4540dd69-1611-4ffa-8ac3-5763ee115f92","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.723614298Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.733056305Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-4540dd69-1611-4ffa-8ac3-5763ee115f92","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.736187044Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/4540dd69-1611-4ffa-8ac3-5763ee115f92","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.736893549Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.73696421Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.737008722Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.737048062Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.741294215Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.745535458Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.764041443Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"uri":"/crucible/0/regions","method":"POST","req_id":"25b79569-afc1-4a67-b95d-1e823bff5e3d","remote_addr":"[fd00:1122:3344:101::b]:37638","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":73,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.037955941Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:33166"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.101108314Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"uri":"/crucible/0/regions/4540dd69-1611-4ffa-8ac3-5763ee115f92","method":"GET","req_id":"67a30781-7d70-4acb-a871-05bf85e2af01","remote_addr":"[fd00:1122:3344:101::b]:33166","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":71,"response_code":"200"} {"msg":"path is \"/data/regions/4540dd69-1611-4ffa-8ac3-5763ee115f92\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.10136252Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4540dd69-1611-4ffa-8ac3-5763ee115f92","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.113438024Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"datafile"} {"msg":"region 4540dd69-1611-4ffa-8ac3-5763ee115f92 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.123713749Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.123857422Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.123907263Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"uri":"/crucible/0/regions/4540dd69-1611-4ffa-8ac3-5763ee115f92","method":"DELETE","req_id":"039de349-2d8c-4103-80ee-8bbf2e6adbdf","remote_addr":"[fd00:1122:3344:101::b]:33166","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":22571,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.124052586Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"uri":"/crucible/0/regions/4540dd69-1611-4ffa-8ac3-5763ee115f92","method":"GET","req_id":"867932ea-f457-4ea1-bddd-838279de97c3","remote_addr":"[fd00:1122:3344:101::b]:33166","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-4540dd69-1611-4ffa-8ac3-5763ee115f92 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.124926355Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.130254412Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4540dd69-1611-4ffa-8ac3-5763ee115f92\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.143617134Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"region":"4540dd69-1611-4ffa-8ac3-5763ee115f92","component":"worker"} {"msg":"region 4540dd69-1611-4ffa-8ac3-5763ee115f92 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.20377575Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.22582728Z","hostname":"oxz_crucible_3c8ede2e-b57e-4e70-a106-32360545b06c","pid":22530,"uri":"/crucible/0/regions/4540dd69-1611-4ffa-8ac3-5763ee115f92","method":"GET","req_id":"1d36281c-d742-4cc4-bc83-647b1afbffd0","remote_addr":"[fd00:1122:3344:101::b]:33166","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":51,"response_code":"200"}