[ Oct 17 23:51:41 Enabled. ] [ Oct 17 23:51:41 Rereading configuration. ] [ Oct 17 23:51:44 Rereading configuration. ] [ Oct 17 23:51:47 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::17 ++ 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::17 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:51:48.503098937Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:51:48.506714216Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:51:48.506726607Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:51:48.682578933Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.451220791Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:47656"} {"msg":"region 9f9717c6-eeee-4bd5-abd7-ba748b4923eb state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.484832216Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.487588827Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"uri":"/crucible/0/regions","method":"POST","req_id":"5541cc9d-6114-44ce-816b-0712ee0a11d9","remote_addr":"[fd00:1122:3344:101::b]:47656","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":5153,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.48866013Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9f9717c6-eeee-4bd5-abd7-ba748b4923eb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.498634038Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9f9717c6-eeee-4bd5-abd7-ba748b4923eb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.498660949Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"9f9717c6-eeee-4bd5-abd7-ba748b4923eb\"), 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/9f9717c6-eeee-4bd5-abd7-ba748b4923eb\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.548636862Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"region":"9f9717c6-eeee-4bd5-abd7-ba748b4923eb","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.714623452Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"region":"9f9717c6-eeee-4bd5-abd7-ba748b4923eb","component":"worker"} {"msg":"region 9f9717c6-eeee-4bd5-abd7-ba748b4923eb state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.714672713Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.714756115Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-9f9717c6-eeee-4bd5-abd7-ba748b4923eb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.715222215Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-9f9717c6-eeee-4bd5-abd7-ba748b4923eb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.718797243Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.727774449Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-9f9717c6-eeee-4bd5-abd7-ba748b4923eb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.730754005Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/9f9717c6-eeee-4bd5-abd7-ba748b4923eb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.731480381Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.731551372Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.731596243Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.731636204Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.736140263Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.745133209Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:37.792439744Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"uri":"/crucible/0/regions","method":"POST","req_id":"6c27b849-6c34-42ae-9aef-1beaf5745bf8","remote_addr":"[fd00:1122:3344:101::b]:47656","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":74,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.069097305Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:61092"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.101090664Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"uri":"/crucible/0/regions/9f9717c6-eeee-4bd5-abd7-ba748b4923eb","method":"GET","req_id":"c900358e-b736-4270-a472-deed42eee0a2","remote_addr":"[fd00:1122:3344:101::b]:61092","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":79,"response_code":"200"} {"msg":"path is \"/data/regions/9f9717c6-eeee-4bd5-abd7-ba748b4923eb\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.10133415Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9f9717c6-eeee-4bd5-abd7-ba748b4923eb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.11368512Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"datafile"} {"msg":"region 9f9717c6-eeee-4bd5-abd7-ba748b4923eb state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.124033436Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.12420515Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.124256181Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"uri":"/crucible/0/regions/9f9717c6-eeee-4bd5-abd7-ba748b4923eb","method":"DELETE","req_id":"36d4b614-3586-443f-9c49-94f68860f976","remote_addr":"[fd00:1122:3344:101::b]:61092","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":22943,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.124383844Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"uri":"/crucible/0/regions/9f9717c6-eeee-4bd5-abd7-ba748b4923eb","method":"GET","req_id":"cdb645ca-f566-4098-916d-2b10bbf4d8af","remote_addr":"[fd00:1122:3344:101::b]:61092","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":36,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-9f9717c6-eeee-4bd5-abd7-ba748b4923eb (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.125471867Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.13123787Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9f9717c6-eeee-4bd5-abd7-ba748b4923eb\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.143318948Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"region":"9f9717c6-eeee-4bd5-abd7-ba748b4923eb","component":"worker"} {"msg":"region 9f9717c6-eeee-4bd5-abd7-ba748b4923eb state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.198374252Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:38.246238429Z","hostname":"oxz_crucible_5d4e23c2-8be1-47e5-a230-02baf24b08b4","pid":22817,"uri":"/crucible/0/regions/9f9717c6-eeee-4bd5-abd7-ba748b4923eb","method":"GET","req_id":"5d7df61f-415b-49c9-9fde-50b617d71519","remote_addr":"[fd00:1122:3344:101::b]:61092","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":73,"response_code":"200"}