[ Jan 28 05:19:29 Enabled. ] [ Jan 28 05:19:29 Rereading configuration. ] [ Jan 28 05:19:31 Rereading configuration. ] [ Jan 28 05:19:32 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":"2024-01-28T05:19:33.093179773Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:19:33.102042915Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:19:33.102096645Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:19:33.215765782Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.291217612Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:65410"} {"msg":"region 6dfc8c18-9575-4529-90fb-0dfd3ff5f52d state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.32693325Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.327120543Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"uri":"/crucible/0/regions","method":"POST","req_id":"a4f51ace-af2e-4c84-a505-194218e5781b","remote_addr":"[fd00:1122:3344:101::b]:65410","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":2768,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.331748591Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.341312391Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.341341091Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"6dfc8c18-9575-4529-90fb-0dfd3ff5f52d\"), 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/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.386154654Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"region":"6dfc8c18-9575-4529-90fb-0dfd3ff5f52d","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.51812309Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"region":"6dfc8c18-9575-4529-90fb-0dfd3ff5f52d","component":"worker"} {"msg":"region 6dfc8c18-9575-4529-90fb-0dfd3ff5f52d state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.518172791Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.518280242Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-6dfc8c18-9575-4529-90fb-0dfd3ff5f52d","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.518751358Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-6dfc8c18-9575-4529-90fb-0dfd3ff5f52d","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.52129041Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.529083008Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-6dfc8c18-9575-4529-90fb-0dfd3ff5f52d","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.5316288Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.532363859Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.534575037Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.534622497Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.534668608Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.541878348Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.5459882Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.643706847Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"uri":"/crucible/0/regions","method":"POST","req_id":"8dfb6234-795e-4bd2-bd53-b09ad7abc69e","remote_addr":"[fd00:1122:3344:101::b]:65410","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":672,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:37.863766381Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:59379"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:37.863905132Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"uri":"/crucible/0/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d","method":"GET","req_id":"6e9a4901-cbdb-45d8-a742-b68c75bd8c5f","remote_addr":"[fd00:1122:3344:101::b]:59379","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":84,"response_code":"200"} {"msg":"path is \"/data/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:37.864141525Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:37.874746858Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"datafile"} {"msg":"region 6dfc8c18-9575-4529-90fb-0dfd3ff5f52d state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:37.884589992Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:37.884735504Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:37.884818295Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"uri":"/crucible/0/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d","method":"DELETE","req_id":"79315bdc-4fd7-4b2f-8fc8-b64edd2dfbb0","remote_addr":"[fd00:1122:3344:101::b]:59379","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":20722,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:37.885026267Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"uri":"/crucible/0/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d","method":"GET","req_id":"90b9c45f-6d61-41ed-8a51-6793366faaba","remote_addr":"[fd00:1122:3344:101::b]:59379","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-6dfc8c18-9575-4529-90fb-0dfd3ff5f52d (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:37.885835027Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:37.889727646Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:37.900531712Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"region":"6dfc8c18-9575-4529-90fb-0dfd3ff5f52d","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:37.948496334Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"uri":"/crucible/0/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d","method":"GET","req_id":"f6f80ca0-09f6-4432-b18c-d972164a5ce6","remote_addr":"[fd00:1122:3344:101::b]:59379","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":115,"response_code":"200"} {"msg":"region 6dfc8c18-9575-4529-90fb-0dfd3ff5f52d state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:37.954474389Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:38.123904706Z","hostname":"oxz_crucible_3d0d6ae8-14ff-488b-a0db-77c3440d2125","pid":22215,"uri":"/crucible/0/regions/6dfc8c18-9575-4529-90fb-0dfd3ff5f52d","method":"GET","req_id":"4d0b34c5-8a27-40f6-be28-c9bd9a24607c","remote_addr":"[fd00:1122:3344:101::b]:59379","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":50,"response_code":"200"}