[ Nov 2 05:42:57 Enabled. ] [ Nov 2 05:42:57 Rereading configuration. ] [ Nov 2 05:42:59 Rereading configuration. ] [ Nov 2 05:43:01 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=oxControlService11 ++ 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_31bd71cd-4736-4a12-a387-9b74b050396f/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 + [[ oxControlService11 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService11 ipadm: Could not delete oxControlService11: Interface does not exist + true + ipadm create-if -t oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService11 + ipadm show-addr oxControlService11/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService11/ll + ipadm show-addr oxControlService11/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService11/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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:43:01.935740015Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:43:01.936873845Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:43:01.936882115Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:43:02.074477456Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:03.987620951Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:42155"} {"msg":"region c6c0b4bd-2265-4269-954c-8cac64428714 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:03.995015087Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:03.995443888Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"uri":"/crucible/0/regions","method":"POST","req_id":"ac193e0b-593e-4191-a4e3-ec8dc446ff97","remote_addr":"[fd00:1122:3344:101::b]:42155","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":2652,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:03.996605579Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c6c0b4bd-2265-4269-954c-8cac64428714","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.008497055Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c6c0b4bd-2265-4269-954c-8cac64428714","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.008524766Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"c6c0b4bd-2265-4269-954c-8cac64428714\"), 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/c6c0b4bd-2265-4269-954c-8cac64428714\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.054768572Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"region":"c6c0b4bd-2265-4269-954c-8cac64428714","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.129560987Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"uri":"/crucible/0/regions","method":"POST","req_id":"f1122578-995c-4cf7-bad9-af9f57dbe431","remote_addr":"[fd00:1122:3344:101::b]:42155","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":95,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.228363198Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"region":"c6c0b4bd-2265-4269-954c-8cac64428714","component":"worker"} {"msg":"region c6c0b4bd-2265-4269-954c-8cac64428714 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.228406879Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.228523292Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-c6c0b4bd-2265-4269-954c-8cac64428714","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.228964634Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-c6c0b4bd-2265-4269-954c-8cac64428714","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.232038285Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.26692117Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-c6c0b4bd-2265-4269-954c-8cac64428714","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.271314727Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/c6c0b4bd-2265-4269-954c-8cac64428714","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.271926453Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.272054687Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.272075797Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.272102698Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.276897205Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.283289145Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.727195062Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"uri":"/crucible/0/regions","method":"POST","req_id":"8be2f9f6-b0b4-4a4e-a0ae-07a8ed0bd2cb","remote_addr":"[fd00:1122:3344:101::b]:42155","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.0991661Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:35740"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.131126568Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"uri":"/crucible/0/regions/c6c0b4bd-2265-4269-954c-8cac64428714","method":"GET","req_id":"a8f2b236-2b9f-4eac-a20f-6e02a5a4f867","remote_addr":"[fd00:1122:3344:101::b]:35740","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":127,"response_code":"200"} {"msg":"path is \"/data/regions/c6c0b4bd-2265-4269-954c-8cac64428714\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.131398085Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c6c0b4bd-2265-4269-954c-8cac64428714","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.143072015Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"datafile"} {"msg":"region c6c0b4bd-2265-4269-954c-8cac64428714 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.153345508Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.153517332Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.153569984Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"uri":"/crucible/0/regions/c6c0b4bd-2265-4269-954c-8cac64428714","method":"DELETE","req_id":"dc395a79-2228-40b4-bddd-69730b97dbc9","remote_addr":"[fd00:1122:3344:101::b]:35740","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":22205,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.153719968Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"uri":"/crucible/0/regions/c6c0b4bd-2265-4269-954c-8cac64428714","method":"GET","req_id":"c9cc6488-ccb3-4abb-8dbd-9a336aefc757","remote_addr":"[fd00:1122:3344:101::b]:35740","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-c6c0b4bd-2265-4269-954c-8cac64428714 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.154605181Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.158552956Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c6c0b4bd-2265-4269-954c-8cac64428714\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.170320338Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"region":"c6c0b4bd-2265-4269-954c-8cac64428714","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.206530389Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"uri":"/crucible/0/regions/c6c0b4bd-2265-4269-954c-8cac64428714","method":"GET","req_id":"06f367e1-e9c4-4b84-a778-173e14d341ae","remote_addr":"[fd00:1122:3344:101::b]:35740","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":86,"response_code":"200"} {"msg":"region c6c0b4bd-2265-4269-954c-8cac64428714 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.226842688Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.337595175Z","hostname":"oxz_crucible_ccc300c3-2655-4230-b589-0b70686d4a2b","pid":21281,"uri":"/crucible/0/regions/c6c0b4bd-2265-4269-954c-8cac64428714","method":"GET","req_id":"37943edf-5dbb-484e-9e54-0a57a368669d","remote_addr":"[fd00:1122:3344:101::b]:35740","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":36,"response_code":"200"}