[ Sep 20 03:50:23 Enabled. ] [ Sep 20 03:50:23 Rereading configuration. ] [ Sep 20 03:50:25 Rereading configuration. ] [ Sep 20 03:50:26 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=oxControlService15 ++ 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::16 ++ 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 + [[ oxControlService15 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService15 ipadm: Could not delete oxControlService15: Interface does not exist + true + ipadm create-if -t oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService15 + ipadm show-addr oxControlService15/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService15/ll + ipadm show-addr oxControlService15/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService15/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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:50:27.440103982Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:50:27.441206092Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:50:27.441215462Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:50:27.706660438Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:44.884194532Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:33050"} {"msg":"region 1ba09f7d-c664-49b7-9561-eed1b53f2403 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:44.920536745Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:44.927604487Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:44.92989896Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"uri":"/crucible/0/regions","method":"POST","req_id":"a3824a79-a7e2-4496-b7ea-2b5c7be0a5aa","remote_addr":"[fd00:1122:3344:101::b]:33050","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":12124,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1ba09f7d-c664-49b7-9561-eed1b53f2403","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:44.937292839Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1ba09f7d-c664-49b7-9561-eed1b53f2403","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:44.937311669Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"1ba09f7d-c664-49b7-9561-eed1b53f2403\"), 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/1ba09f7d-c664-49b7-9561-eed1b53f2403\"","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:44.994651677Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"region":"1ba09f7d-c664-49b7-9561-eed1b53f2403","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:45.146286915Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"uri":"/crucible/0/regions","method":"POST","req_id":"a3e516e7-7fc5-4419-a6d2-13a5de20bb10","remote_addr":"[fd00:1122:3344:101::b]:33050","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":79,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:45.240704558Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"region":"1ba09f7d-c664-49b7-9561-eed1b53f2403","component":"worker"} {"msg":"region 1ba09f7d-c664-49b7-9561-eed1b53f2403 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:45.240737069Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:45.240844591Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-1ba09f7d-c664-49b7-9561-eed1b53f2403","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:45.25302081Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-1ba09f7d-c664-49b7-9561-eed1b53f2403","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:45.256291311Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:45.270973287Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-1ba09f7d-c664-49b7-9561-eed1b53f2403","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:45.274267438Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/1ba09f7d-c664-49b7-9561-eed1b53f2403","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:45.275301448Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:45.275442111Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:45.275506182Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:45.275551093Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:45.286085871Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:45.29031145Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:51:45.50027178Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"uri":"/crucible/0/regions","method":"POST","req_id":"5baf3ad1-59be-4fdc-a49e-9975f4d40d5a","remote_addr":"[fd00:1122:3344:101::b]:33050","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":90,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:54:37.208418055Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:56120"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:54:37.24336326Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"uri":"/crucible/0/regions/1ba09f7d-c664-49b7-9561-eed1b53f2403","method":"GET","req_id":"cd259a9c-aa1d-4bcf-8ae2-469a813e9f7a","remote_addr":"[fd00:1122:3344:101::b]:56120","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":3491,"response_code":"200"} {"msg":"path is \"/data/regions/1ba09f7d-c664-49b7-9561-eed1b53f2403\"","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:54:37.243504443Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1ba09f7d-c664-49b7-9561-eed1b53f2403","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:54:37.257308241Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"datafile"} {"msg":"region 1ba09f7d-c664-49b7-9561-eed1b53f2403 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:54:37.26683757Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:54:37.267634665Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:54:37.267686216Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"uri":"/crucible/0/regions/1ba09f7d-c664-49b7-9561-eed1b53f2403","method":"DELETE","req_id":"12c54800-cf5c-4d59-9aa5-ed99cb5dd74a","remote_addr":"[fd00:1122:3344:101::b]:56120","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":24213,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:54:37.270393456Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"uri":"/crucible/0/regions/1ba09f7d-c664-49b7-9561-eed1b53f2403","method":"GET","req_id":"c01217a2-c94a-4262-b621-a16890018077","remote_addr":"[fd00:1122:3344:101::b]:56120","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":460,"response_code":"200"} {"msg":"remove downstairs instance: downstairs-1ba09f7d-c664-49b7-9561-eed1b53f2403","v":0,"name":"crucible-agent","level":50,"time":"2023-09-20T03:54:37.278270654Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"instance states: (Some(Online), None)","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:54:37.280927664Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:54:37.29249198Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1ba09f7d-c664-49b7-9561-eed1b53f2403\"","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:54:37.304249041Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"region":"1ba09f7d-c664-49b7-9561-eed1b53f2403","component":"worker"} {"msg":"region 1ba09f7d-c664-49b7-9561-eed1b53f2403 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:54:37.359894183Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-09-20T03:54:37.385216407Z","hostname":"oxz_crucible_68e17930-c4e8-46a4-b943-ce2dfb9c32f7","pid":21076,"uri":"/crucible/0/regions/1ba09f7d-c664-49b7-9561-eed1b53f2403","method":"GET","req_id":"9cecf576-7f51-4902-81bf-03a22cdf5bbf","remote_addr":"[fd00:1122:3344:101::b]:56120","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":67,"response_code":"200"}