[ Feb 7 22:41:13 Enabled. ] [ Feb 7 22:41:13 Rereading configuration. ] [ Feb 7 22:41:15 Rereading configuration. ] [ Feb 7 22:41:17 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=oxControlService18 ++ 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 + [[ oxControlService18 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService18 ipadm: Could not delete oxControlService18: Interface does not exist + true + ipadm create-if -t oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService18 + ipadm show-addr oxControlService18/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService18/ll + ipadm show-addr oxControlService18/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService18/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-07T22:41:18.676168011Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:41:18.678762445Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:41:18.678776305Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:41:18.971932078Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.334096551Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:61355"} {"msg":"region 232d824d-fd99-4bb6-987e-38073f072292 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.364965533Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.365147306Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"uri":"/crucible/0/regions","method":"POST","req_id":"f49d1908-39b6-4df4-a8a1-6d1becc25ef8","remote_addr":"[fd00:1122:3344:101::a]:61355","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":656,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.366714743Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/232d824d-fd99-4bb6-987e-38073f072292","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.377052527Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/232d824d-fd99-4bb6-987e-38073f072292","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.377082278Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"232d824d-fd99-4bb6-987e-38073f072292\"), 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/232d824d-fd99-4bb6-987e-38073f072292\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.430345127Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"region":"232d824d-fd99-4bb6-987e-38073f072292","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.557562936Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"region":"232d824d-fd99-4bb6-987e-38073f072292","component":"worker"} {"msg":"region 232d824d-fd99-4bb6-987e-38073f072292 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.557611257Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.557713209Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-232d824d-fd99-4bb6-987e-38073f072292","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.558130846Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-232d824d-fd99-4bb6-987e-38073f072292","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.562697813Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.569921495Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-232d824d-fd99-4bb6-987e-38073f072292","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.573692879Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/232d824d-fd99-4bb6-987e-38073f072292","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.574292499Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.574389881Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.574437951Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.574479092Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.57906174Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.583650357Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.673691168Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"uri":"/crucible/0/regions","method":"POST","req_id":"f648319d-6aa5-4dd8-9a0d-5de0aaba5a71","remote_addr":"[fd00:1122:3344:101::a]:61355","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":82,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.974530111Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:58568"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.974640043Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"uri":"/crucible/0/regions/232d824d-fd99-4bb6-987e-38073f072292","method":"GET","req_id":"b82ff026-aefd-4ce5-8204-31733a6acfe3","remote_addr":"[fd00:1122:3344:101::a]:58568","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":66,"response_code":"200"} {"msg":"path is \"/data/regions/232d824d-fd99-4bb6-987e-38073f072292\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.974827976Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/232d824d-fd99-4bb6-987e-38073f072292","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.983627295Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"datafile"} {"msg":"region 232d824d-fd99-4bb6-987e-38073f072292 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.990890948Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.991082651Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.991159172Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"uri":"/crucible/0/regions/232d824d-fd99-4bb6-987e-38073f072292","method":"DELETE","req_id":"42ee0665-4c73-4692-a46f-81c6eb29ca68","remote_addr":"[fd00:1122:3344:101::a]:58568","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":16352,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.991315885Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"uri":"/crucible/0/regions/232d824d-fd99-4bb6-987e-38073f072292","method":"GET","req_id":"23a63b69-ff1e-45a7-96e3-dc696db22a08","remote_addr":"[fd00:1122:3344:101::a]:58568","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-232d824d-fd99-4bb6-987e-38073f072292 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.992284521Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.99576727Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/232d824d-fd99-4bb6-987e-38073f072292\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:07.004971876Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"region":"232d824d-fd99-4bb6-987e-38073f072292","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:07.049427997Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"uri":"/crucible/0/regions/232d824d-fd99-4bb6-987e-38073f072292","method":"GET","req_id":"f1ee4c33-b86e-4726-bfa6-44a92e979c8f","remote_addr":"[fd00:1122:3344:101::a]:58568","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":831,"response_code":"200"} {"msg":"region 232d824d-fd99-4bb6-987e-38073f072292 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:07.053100269Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:07.14372655Z","hostname":"oxz_crucible_01ce0537-29b2-4971-adc8-ada60f183ab7","pid":22447,"uri":"/crucible/0/regions/232d824d-fd99-4bb6-987e-38073f072292","method":"GET","req_id":"67dd4a9c-6191-45ad-a337-cb4939c14570","remote_addr":"[fd00:1122:3344:101::a]:58568","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":31,"response_code":"200"}