[ Dec 12 05:42:17 Enabled. ] [ Dec 12 05:42:17 Rereading configuration. ] [ Dec 12 05:42:22 Rereading configuration. ] [ Dec 12 05:42:26 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=oxControlService19 ++ 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::15 ++ 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 + [[ oxControlService19 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService19 ipadm: Could not delete oxControlService19: Interface does not exist + true + ipadm create-if -t oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService19 + ipadm show-addr oxControlService19/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService19/ll + ipadm show-addr oxControlService19/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService19/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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:42:27.646043869Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:42:27.649703752Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:42:27.649720713Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:42:28.081646433Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.030447312Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:43239"} {"msg":"region ed59e00b-eeb4-4c44-b171-0d42e7aa65fd state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.105608276Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.106663228Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"uri":"/crucible/0/regions","method":"POST","req_id":"9a32c7c8-e98f-41ef-b06a-03baea8ae9de","remote_addr":"[fd00:1122:3344:101::c]:43239","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":11435,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.106719669Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/ed59e00b-eeb4-4c44-b171-0d42e7aa65fd","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.116647256Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/ed59e00b-eeb4-4c44-b171-0d42e7aa65fd","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.116675526Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"ed59e00b-eeb4-4c44-b171-0d42e7aa65fd\"), 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/ed59e00b-eeb4-4c44-b171-0d42e7aa65fd\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.161273691Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"region":"ed59e00b-eeb4-4c44-b171-0d42e7aa65fd","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.306907424Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"region":"ed59e00b-eeb4-4c44-b171-0d42e7aa65fd","component":"worker"} {"msg":"region ed59e00b-eeb4-4c44-b171-0d42e7aa65fd state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.306952924Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.307025075Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-ed59e00b-eeb4-4c44-b171-0d42e7aa65fd","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.307580492Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-ed59e00b-eeb4-4c44-b171-0d42e7aa65fd","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.314171269Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.326007688Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-ed59e00b-eeb4-4c44-b171-0d42e7aa65fd","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.329812603Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/ed59e00b-eeb4-4c44-b171-0d42e7aa65fd","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.330561582Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.330624673Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.330667983Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.330709104Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.335406919Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.339518117Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:27.437930635Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"uri":"/crucible/0/regions","method":"POST","req_id":"27610b57-0e14-41f0-bc20-d536af3a188f","remote_addr":"[fd00:1122:3344:101::c]:43239","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:28.566261136Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:43748"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:28.56656321Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"uri":"/crucible/0/regions/ed59e00b-eeb4-4c44-b171-0d42e7aa65fd","method":"GET","req_id":"0a6e61b4-ee5a-4862-97b9-aa7e8d56c543","remote_addr":"[fd00:1122:3344:101::c]:43748","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":279,"response_code":"200"} {"msg":"path is \"/data/regions/ed59e00b-eeb4-4c44-b171-0d42e7aa65fd\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:28.56744955Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/ed59e00b-eeb4-4c44-b171-0d42e7aa65fd","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:28.577208295Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"datafile"} {"msg":"region ed59e00b-eeb4-4c44-b171-0d42e7aa65fd state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:28.585432611Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:28.585590513Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:28.585688425Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"uri":"/crucible/0/regions/ed59e00b-eeb4-4c44-b171-0d42e7aa65fd","method":"DELETE","req_id":"a400d930-ddbb-4f0f-9d4e-e25b0967d899","remote_addr":"[fd00:1122:3344:101::c]:43748","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":18981,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:28.585836776Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"uri":"/crucible/0/regions/ed59e00b-eeb4-4c44-b171-0d42e7aa65fd","method":"GET","req_id":"f984acbd-ac24-4b6c-847c-e4cf152919fa","remote_addr":"[fd00:1122:3344:101::c]:43748","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":26,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-ed59e00b-eeb4-4c44-b171-0d42e7aa65fd (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:28.586801048Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:28.590891226Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/ed59e00b-eeb4-4c44-b171-0d42e7aa65fd\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:28.600464298Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"region":"ed59e00b-eeb4-4c44-b171-0d42e7aa65fd","component":"worker"} {"msg":"region ed59e00b-eeb4-4c44-b171-0d42e7aa65fd state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:28.653423091Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-12T05:43:28.72728259Z","hostname":"oxz_crucible_a1c2465c-cc25-41dd-8119-4fbb722637ec","pid":23141,"uri":"/crucible/0/regions/ed59e00b-eeb4-4c44-b171-0d42e7aa65fd","method":"GET","req_id":"f669f6f6-2eaf-4a4d-9eef-89cb0b539f11","remote_addr":"[fd00:1122:3344:101::c]:43748","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":87,"response_code":"200"}