[ Dec 8 16:12:46 Enabled. ] [ Dec 8 16:12:46 Rereading configuration. ] [ Dec 8 16:12:48 Rereading configuration. ] [ Dec 8 16:12:49 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=oxControlService13 ++ 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::13 ++ 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 + [[ oxControlService13 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService13 ipadm: Could not delete oxControlService13: Interface does not exist + true + ipadm create-if -t oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService13 + ipadm show-addr oxControlService13/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService13/ll + ipadm show-addr oxControlService13/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::13 oxControlService13/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::13]: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-12-08T16:12:49.919585508Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:12:49.926296356Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:12:49.926356282Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:12:50.075916014Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.475896227Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:60288"} {"msg":"region 030cf053-7ccf-4089-abd2-f4bac87312a2 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.505482172Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.506448687Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.510750248Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"uri":"/crucible/0/regions","method":"POST","req_id":"4ffa8365-c22c-4713-8b0c-1a6bf271afa5","remote_addr":"[fd00:1122:3344:101::b]:60288","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":18489,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/030cf053-7ccf-4089-abd2-f4bac87312a2","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.516965178Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/030cf053-7ccf-4089-abd2-f4bac87312a2","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.516979016Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"030cf053-7ccf-4089-abd2-f4bac87312a2\"), 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/030cf053-7ccf-4089-abd2-f4bac87312a2\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.574123274Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"region":"030cf053-7ccf-4089-abd2-f4bac87312a2","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.747032314Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"region":"030cf053-7ccf-4089-abd2-f4bac87312a2","component":"worker"} {"msg":"region 030cf053-7ccf-4089-abd2-f4bac87312a2 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.747080802Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.747153292Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-030cf053-7ccf-4089-abd2-f4bac87312a2","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.749464578Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-030cf053-7ccf-4089-abd2-f4bac87312a2","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.753147404Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.769230134Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-030cf053-7ccf-4089-abd2-f4bac87312a2","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.772990852Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/030cf053-7ccf-4089-abd2-f4bac87312a2","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.780301734Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.782384385Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.782456789Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.782508551Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.788718154Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.793224204Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.829789601Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"uri":"/crucible/0/regions","method":"POST","req_id":"b676e306-656c-4dc1-8362-05c5d40a0bb1","remote_addr":"[fd00:1122:3344:101::b]:60288","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":74,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.784253896Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:59852"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.78647696Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"uri":"/crucible/0/regions/030cf053-7ccf-4089-abd2-f4bac87312a2","method":"GET","req_id":"9a2d59f0-1e6e-44d5-9b48-66f118a1875d","remote_addr":"[fd00:1122:3344:101::b]:59852","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":2187,"response_code":"200"} {"msg":"path is \"/data/regions/030cf053-7ccf-4089-abd2-f4bac87312a2\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.786698591Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/030cf053-7ccf-4089-abd2-f4bac87312a2","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.795394685Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"datafile"} {"msg":"region 030cf053-7ccf-4089-abd2-f4bac87312a2 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.80340185Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.803562748Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.803619469Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"uri":"/crucible/0/regions/030cf053-7ccf-4089-abd2-f4bac87312a2","method":"DELETE","req_id":"fac65d94-8926-48e1-bcdf-603347e487b8","remote_addr":"[fd00:1122:3344:101::b]:59852","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":16936,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.804417879Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"uri":"/crucible/0/regions/030cf053-7ccf-4089-abd2-f4bac87312a2","method":"GET","req_id":"58206ba0-75f4-4605-8653-52ad112e0c6e","remote_addr":"[fd00:1122:3344:101::b]:59852","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":639,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-030cf053-7ccf-4089-abd2-f4bac87312a2 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.80502526Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.809304766Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/030cf053-7ccf-4089-abd2-f4bac87312a2\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.819154385Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"region":"030cf053-7ccf-4089-abd2-f4bac87312a2","component":"worker"} {"msg":"region 030cf053-7ccf-4089-abd2-f4bac87312a2 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.870841319Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.907047799Z","hostname":"oxz_crucible_45c37974-2f06-4868-82dc-eb5354d6b413","pid":20732,"uri":"/crucible/0/regions/030cf053-7ccf-4089-abd2-f4bac87312a2","method":"GET","req_id":"b81dab76-74e5-442f-a7c4-a26b66e1db85","remote_addr":"[fd00:1122:3344:101::b]:59852","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":50,"response_code":"200"}