[ Feb 7 22:41:13 Enabled. ] [ Feb 7 22:41:13 Rereading configuration. ] [ Feb 7 22:41:15 Rereading configuration. ] [ Feb 7 22:41:18 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=oxControlService23 ++ 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::18 ++ 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 + [[ oxControlService23 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService23 ipadm: Could not delete oxControlService23: Interface does not exist + true + ipadm create-if -t oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService23 + ipadm show-addr oxControlService23/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService23/ll + ipadm show-addr oxControlService23/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService23/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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:41:18.735236799Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:41:18.737562148Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:41:18.737574699Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:41:18.992852712Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.363660301Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:41356"} {"msg":"region b067c645-f632-4bcc-99bd-d8195ba5b6d8 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.366048351Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.366787814Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"uri":"/crucible/0/regions","method":"POST","req_id":"4afad530-7719-4fcf-bd39-b480078be98e","remote_addr":"[fd00:1122:3344:101::a]:41356","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":1212,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.367954743Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b067c645-f632-4bcc-99bd-d8195ba5b6d8","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.377307872Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b067c645-f632-4bcc-99bd-d8195ba5b6d8","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.377332972Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"b067c645-f632-4bcc-99bd-d8195ba5b6d8\"), 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/b067c645-f632-4bcc-99bd-d8195ba5b6d8\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.423664684Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"region":"b067c645-f632-4bcc-99bd-d8195ba5b6d8","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.553202563Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"region":"b067c645-f632-4bcc-99bd-d8195ba5b6d8","component":"worker"} {"msg":"region b067c645-f632-4bcc-99bd-d8195ba5b6d8 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.553259454Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.553348675Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-b067c645-f632-4bcc-99bd-d8195ba5b6d8","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.553767872Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-b067c645-f632-4bcc-99bd-d8195ba5b6d8","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.557879902Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.565246146Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-b067c645-f632-4bcc-99bd-d8195ba5b6d8","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.569154372Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/b067c645-f632-4bcc-99bd-d8195ba5b6d8","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.569926945Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.570030207Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.570081688Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.570124449Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.57432817Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.578614122Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:06.723654853Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"uri":"/crucible/0/regions","method":"POST","req_id":"84e865b8-77c9-4bbd-94e6-ed7e715d9adc","remote_addr":"[fd00:1122:3344:101::a]:41356","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":58,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:07.187065462Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:49216"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:07.188044429Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"uri":"/crucible/0/regions/b067c645-f632-4bcc-99bd-d8195ba5b6d8","method":"GET","req_id":"f17e4d03-470e-4f09-a53f-393d94f1cf1f","remote_addr":"[fd00:1122:3344:101::a]:49216","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":947,"response_code":"200"} {"msg":"path is \"/data/regions/b067c645-f632-4bcc-99bd-d8195ba5b6d8\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:07.188283523Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b067c645-f632-4bcc-99bd-d8195ba5b6d8","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:07.196873818Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"datafile"} {"msg":"region b067c645-f632-4bcc-99bd-d8195ba5b6d8 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:07.205354611Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:07.205512284Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:07.205550485Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"uri":"/crucible/0/regions/b067c645-f632-4bcc-99bd-d8195ba5b6d8","method":"DELETE","req_id":"1b814afc-c808-4726-b17f-c87eb50b26ba","remote_addr":"[fd00:1122:3344:101::a]:49216","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":17330,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:07.205730298Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"uri":"/crucible/0/regions/b067c645-f632-4bcc-99bd-d8195ba5b6d8","method":"GET","req_id":"9d416edb-c5c3-441e-940d-850444b983bf","remote_addr":"[fd00:1122:3344:101::a]:49216","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-b067c645-f632-4bcc-99bd-d8195ba5b6d8 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:07.206525931Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:07.210248034Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b067c645-f632-4bcc-99bd-d8195ba5b6d8\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:07.219398168Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"region":"b067c645-f632-4bcc-99bd-d8195ba5b6d8","component":"worker"} {"msg":"region b067c645-f632-4bcc-99bd-d8195ba5b6d8 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:07.268667471Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-07T22:42:07.342171293Z","hostname":"oxz_crucible_2ce1c66b-948b-4120-8b98-ba6ffd124460","pid":22537,"uri":"/crucible/0/regions/b067c645-f632-4bcc-99bd-d8195ba5b6d8","method":"GET","req_id":"5ed41d85-a014-418f-87c7-9558e6d6837b","remote_addr":"[fd00:1122:3344:101::a]:49216","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":98,"response_code":"200"}