[ Jan 24 19:33:24 Enabled. ] [ Jan 24 19:33:24 Rereading configuration. ] [ Jan 24 19:33:26 Rereading configuration. ] [ Jan 24 19:33:33 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=oxControlService16 ++ 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 + [[ oxControlService16 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService16 ipadm: Could not delete oxControlService16: Interface does not exist + true + ipadm create-if -t oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService16 + ipadm show-addr oxControlService16/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService16/ll + ipadm show-addr oxControlService16/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::13 oxControlService16/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":"2024-01-24T19:33:34.205075891Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:33:34.20783794Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:33:34.207851431Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:33:34.531554827Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.169050902Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:41962"} {"msg":"region 94e826b1-ae34-4f5c-bf8a-4377c3f1ea81 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.248962647Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.252411851Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.255977717Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"uri":"/crucible/0/regions","method":"POST","req_id":"97a1e06a-622e-4644-ba34-e2ecab97290d","remote_addr":"[fd00:1122:3344:101::a]:41962","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":17500,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/94e826b1-ae34-4f5c-bf8a-4377c3f1ea81","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.26315482Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/94e826b1-ae34-4f5c-bf8a-4377c3f1ea81","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.263173091Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"94e826b1-ae34-4f5c-bf8a-4377c3f1ea81\"), 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/94e826b1-ae34-4f5c-bf8a-4377c3f1ea81\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.316622511Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"region":"94e826b1-ae34-4f5c-bf8a-4377c3f1ea81","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.450974178Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"region":"94e826b1-ae34-4f5c-bf8a-4377c3f1ea81","component":"worker"} {"msg":"region 94e826b1-ae34-4f5c-bf8a-4377c3f1ea81 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.451024539Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.451134761Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-94e826b1-ae34-4f5c-bf8a-4377c3f1ea81","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.453661135Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-94e826b1-ae34-4f5c-bf8a-4377c3f1ea81","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.457712822Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.465687352Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"uri":"/crucible/0/regions","method":"POST","req_id":"6804bb37-36ce-49be-aabe-0c81ded9a5bc","remote_addr":"[fd00:1122:3344:101::a]:41962","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":73,"response_code":"200"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.468585384Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-94e826b1-ae34-4f5c-bf8a-4377c3f1ea81","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.47215008Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/94e826b1-ae34-4f5c-bf8a-4377c3f1ea81","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.472869525Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.475017531Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.475069592Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.475116543Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.485424683Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:29.492698018Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:30.2571952Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:38419"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:30.257348393Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"uri":"/crucible/0/regions/94e826b1-ae34-4f5c-bf8a-4377c3f1ea81","method":"GET","req_id":"ba3160a4-2b35-43d3-aed8-4fd4cf60d657","remote_addr":"[fd00:1122:3344:101::a]:38419","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":93,"response_code":"200"} {"msg":"path is \"/data/regions/94e826b1-ae34-4f5c-bf8a-4377c3f1ea81\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:30.257544357Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/94e826b1-ae34-4f5c-bf8a-4377c3f1ea81","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:30.267209113Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"datafile"} {"msg":"region 94e826b1-ae34-4f5c-bf8a-4377c3f1ea81 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:30.275722775Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:30.275880479Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:30.27594008Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"uri":"/crucible/0/regions/94e826b1-ae34-4f5c-bf8a-4377c3f1ea81","method":"DELETE","req_id":"b73b4ed0-d537-45a0-a640-fb2b83c96f68","remote_addr":"[fd00:1122:3344:101::a]:38419","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":18445,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:30.276089283Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"uri":"/crucible/0/regions/94e826b1-ae34-4f5c-bf8a-4377c3f1ea81","method":"GET","req_id":"2324adaf-4e07-4c70-ad87-816e04bd6f07","remote_addr":"[fd00:1122:3344:101::a]:38419","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-94e826b1-ae34-4f5c-bf8a-4377c3f1ea81 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:30.276912781Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:30.281494278Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/94e826b1-ae34-4f5c-bf8a-4377c3f1ea81\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:30.290575572Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"region":"94e826b1-ae34-4f5c-bf8a-4377c3f1ea81","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:30.335412819Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"uri":"/crucible/0/regions/94e826b1-ae34-4f5c-bf8a-4377c3f1ea81","method":"GET","req_id":"b44b711b-fc38-4ce4-889a-ac7008a37825","remote_addr":"[fd00:1122:3344:101::a]:38419","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"region 94e826b1-ae34-4f5c-bf8a-4377c3f1ea81 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:30.346678299Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:30.413599137Z","hostname":"oxz_crucible_83dfe8e3-6b3c-49a7-8e20-12388c7613f3","pid":21523,"uri":"/crucible/0/regions/94e826b1-ae34-4f5c-bf8a-4377c3f1ea81","method":"GET","req_id":"83e9a3fb-a337-45b3-9c40-bb99effa926b","remote_addr":"[fd00:1122:3344:101::a]:38419","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":975,"response_code":"200"}