[ Feb 15 00:09:01 Enabled. ] [ Feb 15 00:09:01 Rereading configuration. ] [ Feb 15 00:09:05 Rereading configuration. ] [ Feb 15 00:09:07 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_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 + [[ 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::13 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_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-02-15T00:09:08.028943932Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:09:08.030757978Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:09:08.030769939Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:09:08.191240708Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:09.949201407Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:33323"} {"msg":"region 73df67b2-e6fd-4539-beca-76e47670d5f8 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.011961314Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.014515505Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"uri":"/crucible/0/regions","method":"POST","req_id":"c06f9dbc-955f-402e-8d1a-1e4dc5d09336","remote_addr":"[fd00:1122:3344:101::b]:33323","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":8968,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.014996806Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/73df67b2-e6fd-4539-beca-76e47670d5f8","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.024686481Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/73df67b2-e6fd-4539-beca-76e47670d5f8","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.024712187Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"73df67b2-e6fd-4539-beca-76e47670d5f8\"), 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/73df67b2-e6fd-4539-beca-76e47670d5f8\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.091324752Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"region":"73df67b2-e6fd-4539-beca-76e47670d5f8","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.246917716Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"region":"73df67b2-e6fd-4539-beca-76e47670d5f8","component":"worker"} {"msg":"region 73df67b2-e6fd-4539-beca-76e47670d5f8 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.246965737Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.247076189Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-73df67b2-e6fd-4539-beca-76e47670d5f8","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.247498378Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-73df67b2-e6fd-4539-beca-76e47670d5f8","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.254841899Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.26931443Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-73df67b2-e6fd-4539-beca-76e47670d5f8","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.273153343Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/73df67b2-e6fd-4539-beca-76e47670d5f8","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.273889744Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.273945765Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.273988356Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.274027626Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.278198809Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.282586287Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.288900348Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"uri":"/crucible/0/regions","method":"POST","req_id":"3a3edcd2-da40-4d6c-a3c0-9822b04ef4c7","remote_addr":"[fd00:1122:3344:101::b]:33323","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":69,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.072024218Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:49793"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.072753773Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"uri":"/crucible/0/regions/73df67b2-e6fd-4539-beca-76e47670d5f8","method":"GET","req_id":"4678227a-1115-45f0-b2ac-b0a33868f60d","remote_addr":"[fd00:1122:3344:101::b]:49793","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":691,"response_code":"200"} {"msg":"path is \"/data/regions/73df67b2-e6fd-4539-beca-76e47670d5f8\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.072944517Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/73df67b2-e6fd-4539-beca-76e47670d5f8","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.082238592Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"datafile"} {"msg":"region 73df67b2-e6fd-4539-beca-76e47670d5f8 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.090804373Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.091031587Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.091136239Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"uri":"/crucible/0/regions/73df67b2-e6fd-4539-beca-76e47670d5f8","method":"DELETE","req_id":"2d13a1d0-9c80-4e20-a47c-ee86433b3b96","remote_addr":"[fd00:1122:3344:101::b]:49793","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":18204,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.091396754Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"uri":"/crucible/0/regions/73df67b2-e6fd-4539-beca-76e47670d5f8","method":"GET","req_id":"e14ab0bb-87dd-408a-bfc0-699a7fff54e7","remote_addr":"[fd00:1122:3344:101::b]:49793","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":42,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-73df67b2-e6fd-4539-beca-76e47670d5f8 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.092251651Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.096413644Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/73df67b2-e6fd-4539-beca-76e47670d5f8\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.106009726Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"region":"73df67b2-e6fd-4539-beca-76e47670d5f8","component":"worker"} {"msg":"region 73df67b2-e6fd-4539-beca-76e47670d5f8 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.170454741Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.176775596Z","hostname":"oxz_crucible_1b32292f-6190-435a-87d8-7fdbe1a65f21","pid":22714,"uri":"/crucible/0/regions/73df67b2-e6fd-4539-beca-76e47670d5f8","method":"GET","req_id":"386c0d57-b84a-474c-8b0c-45fd9f1517a1","remote_addr":"[fd00:1122:3344:101::b]:49793","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":57,"response_code":"200"}