[ Oct 4 20:50:42 Enabled. ] [ Oct 4 20:50:42 Rereading configuration. ] [ Oct 4 20:50:43 Rereading configuration. ] [ Oct 4 20:50:43 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_e4b4dc87-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 + [[ 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_e4b4dc87-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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:50:44.532460227Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:50:44.535953536Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:50:44.535962556Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:50:44.614717394Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:47.646496895Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:47584"} {"msg":"region c6c88f56-c5f9-4758-916f-6784fd43a216 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:47.647360642Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:47.647658328Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"uri":"/crucible/0/regions","method":"POST","req_id":"3df2ce41-9ef1-4698-b20f-16bcfe564876","remote_addr":"[fd00:1122:3344:101::b]:47584","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":538,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:47.648708869Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/c6c88f56-c5f9-4758-916f-6784fd43a216","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:47.659041463Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/c6c88f56-c5f9-4758-916f-6784fd43a216","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:47.659067354Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"c6c88f56-c5f9-4758-916f-6784fd43a216\"), 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/c6c88f56-c5f9-4758-916f-6784fd43a216\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:47.819570458Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"region":"c6c88f56-c5f9-4758-916f-6784fd43a216","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.024799377Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"uri":"/crucible/0/regions","method":"POST","req_id":"8bd4f585-9eb0-4996-9446-06bf72185e12","remote_addr":"[fd00:1122:3344:101::b]:47584","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":87,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.111751227Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"region":"c6c88f56-c5f9-4758-916f-6784fd43a216","component":"worker"} {"msg":"region c6c88f56-c5f9-4758-916f-6784fd43a216 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.111769257Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.111884829Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-c6c88f56-c5f9-4758-916f-6784fd43a216","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.121290965Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-c6c88f56-c5f9-4758-916f-6784fd43a216","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.137160729Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.199424041Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-c6c88f56-c5f9-4758-916f-6784fd43a216","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.23582526Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/c6c88f56-c5f9-4758-916f-6784fd43a216","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.236404582Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.236501034Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.236548505Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.236586276Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.280584186Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"uri":"/crucible/0/regions","method":"POST","req_id":"2a3d5eba-2320-41da-8fd0-ebb028d241cb","remote_addr":"[fd00:1122:3344:101::b]:47584","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":65,"response_code":"200"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.280840201Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:48.347918718Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.320939902Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:38553"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.382546871Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"uri":"/crucible/0/regions/c6c88f56-c5f9-4758-916f-6784fd43a216","method":"GET","req_id":"57562d7e-0510-48c5-a4bd-699c8d84df9e","remote_addr":"[fd00:1122:3344:101::b]:38553","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":120,"response_code":"200"} {"msg":"path is \"/data/regions/c6c88f56-c5f9-4758-916f-6784fd43a216\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.382810096Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/c6c88f56-c5f9-4758-916f-6784fd43a216","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.39514733Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"datafile"} {"msg":"region c6c88f56-c5f9-4758-916f-6784fd43a216 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.40528Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.405403183Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.408032965Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"uri":"/crucible/0/regions/c6c88f56-c5f9-4758-916f-6784fd43a216","method":"DELETE","req_id":"9a4ffd5b-d17d-4aea-8c69-dd0b92a8bf0c","remote_addr":"[fd00:1122:3344:101::b]:38553","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":25193,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.408231879Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"uri":"/crucible/0/regions/c6c88f56-c5f9-4758-916f-6784fd43a216","method":"GET","req_id":"927af830-b7ae-4939-9191-5780c5168118","remote_addr":"[fd00:1122:3344:101::b]:38553","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":80,"response_code":"200"} {"msg":"remove downstairs instance: downstairs-c6c88f56-c5f9-4758-916f-6784fd43a216","v":0,"name":"crucible-agent","level":50,"time":"2023-10-04T20:51:49.415338059Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"instance states: (Some(Online), None)","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.416027013Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.437746152Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/c6c88f56-c5f9-4758-916f-6784fd43a216\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.448115667Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"region":"c6c88f56-c5f9-4758-916f-6784fd43a216","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.490388414Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"uri":"/crucible/0/regions/c6c88f56-c5f9-4758-916f-6784fd43a216","method":"GET","req_id":"a79adb19-2bfc-481c-a046-5a8b41d53f75","remote_addr":"[fd00:1122:3344:101::b]:38553","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":76,"response_code":"200"} {"msg":"region c6c88f56-c5f9-4758-916f-6784fd43a216 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.513237146Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:49.634972343Z","hostname":"oxz_crucible_1705a4e7-ff65-4d75-b2fe-5b5b5c7fc751","pid":21922,"uri":"/crucible/0/regions/c6c88f56-c5f9-4758-916f-6784fd43a216","method":"GET","req_id":"c20986fb-d6f8-455b-9064-bb938eeed1b0","remote_addr":"[fd00:1122:3344:101::b]:38553","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":34,"response_code":"200"}