[ Oct 4 03:32:36 Enabled. ] [ Oct 4 03:32:36 Rereading configuration. ] [ Oct 4 03:32:38 Rereading configuration. ] [ Oct 4 03:32:39 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/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 + [[ 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::19 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::19]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.382233306Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.384113139Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.384123549Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.553181707Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.395282623Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:43717"} {"msg":"region 534f7dd0-81c3-46b3-b9dd-d0c32359ae92 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.458188234Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.460911116Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"uri":"/crucible/0/regions","method":"POST","req_id":"3e03b349-e8c1-4787-8a90-d5dda749a3e5","remote_addr":"[fd00:1122:3344:101::b]:43717","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":5288,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.461805827Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/534f7dd0-81c3-46b3-b9dd-d0c32359ae92","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.471604603Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/534f7dd0-81c3-46b3-b9dd-d0c32359ae92","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.471631904Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"534f7dd0-81c3-46b3-b9dd-d0c32359ae92\"), 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/534f7dd0-81c3-46b3-b9dd-d0c32359ae92\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.521101244Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"region":"534f7dd0-81c3-46b3-b9dd-d0c32359ae92","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.699901387Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"uri":"/crucible/0/regions","method":"POST","req_id":"ba8aa3ff-6335-42fe-8916-f2a82a25ce2d","remote_addr":"[fd00:1122:3344:101::b]:43717","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":85,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.718574667Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"region":"534f7dd0-81c3-46b3-b9dd-d0c32359ae92","component":"worker"} {"msg":"region 534f7dd0-81c3-46b3-b9dd-d0c32359ae92 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.718598818Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.71872817Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-534f7dd0-81c3-46b3-b9dd-d0c32359ae92","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.729320915Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-534f7dd0-81c3-46b3-b9dd-d0c32359ae92","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.732890787Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.743195595Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-534f7dd0-81c3-46b3-b9dd-d0c32359ae92","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.750078993Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/534f7dd0-81c3-46b3-b9dd-d0c32359ae92","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.750859551Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.750953913Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.750998385Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.751034866Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.757593877Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.762636113Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:36.359225637Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"uri":"/crucible/0/regions","method":"POST","req_id":"5a6da018-65b2-4176-b6e3-ec7e91df4676","remote_addr":"[fd00:1122:3344:101::b]:43717","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":101,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.455734355Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:55265"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.458817566Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"uri":"/crucible/0/regions/534f7dd0-81c3-46b3-b9dd-d0c32359ae92","method":"GET","req_id":"7db0b7e4-f9a1-400c-86f9-ef1231e8d1bf","remote_addr":"[fd00:1122:3344:101::b]:55265","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":2937,"response_code":"200"} {"msg":"path is \"/data/regions/534f7dd0-81c3-46b3-b9dd-d0c32359ae92\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.45897403Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/534f7dd0-81c3-46b3-b9dd-d0c32359ae92","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.472353618Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"datafile"} {"msg":"region 534f7dd0-81c3-46b3-b9dd-d0c32359ae92 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.482512123Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.483155287Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.485710216Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"uri":"/crucible/0/regions/534f7dd0-81c3-46b3-b9dd-d0c32359ae92","method":"DELETE","req_id":"9dda2a9c-aa33-4242-a231-f7bb61a25bbe","remote_addr":"[fd00:1122:3344:101::b]:55265","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":26703,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.48589313Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"uri":"/crucible/0/regions/534f7dd0-81c3-46b3-b9dd-d0c32359ae92","method":"GET","req_id":"6f807a70-f246-4e85-888a-1146253fffea","remote_addr":"[fd00:1122:3344:101::b]:55265","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":64,"response_code":"200"} {"msg":"remove downstairs instance: downstairs-534f7dd0-81c3-46b3-b9dd-d0c32359ae92","v":0,"name":"crucible-agent","level":50,"time":"2023-10-04T03:36:25.493764702Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"instance states: (Some(Online), None)","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.496599547Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.509656678Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/534f7dd0-81c3-46b3-b9dd-d0c32359ae92\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.523044297Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"region":"534f7dd0-81c3-46b3-b9dd-d0c32359ae92","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.567457571Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"uri":"/crucible/0/regions/534f7dd0-81c3-46b3-b9dd-d0c32359ae92","method":"GET","req_id":"a01a1e6a-ef82-4e29-8bbd-36851efae8ff","remote_addr":"[fd00:1122:3344:101::b]:55265","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":114,"response_code":"200"} {"msg":"region 534f7dd0-81c3-46b3-b9dd-d0c32359ae92 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.580401569Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.719959497Z","hostname":"oxz_crucible_38493c3d-0602-4469-9cab-96914d36ae3c","pid":24400,"uri":"/crucible/0/regions/534f7dd0-81c3-46b3-b9dd-d0c32359ae92","method":"GET","req_id":"c3683ac8-06b2-4961-9188-c327c59760ce","remote_addr":"[fd00:1122:3344:101::b]:55265","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":53,"response_code":"200"}