[ Jan 28 05:19:29 Enabled. ] [ Jan 28 05:19:29 Rereading configuration. ] [ Jan 28 05:19:30 Rereading configuration. ] [ Jan 28 05:19:31 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=oxControlService17 ++ 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::16 ++ 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 + [[ oxControlService17 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService17 ipadm: Could not delete oxControlService17: Interface does not exist + true + ipadm create-if -t oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService17 + ipadm show-addr oxControlService17/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService17/ll + ipadm show-addr oxControlService17/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService17/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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:19:32.208085674Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:19:32.216653542Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:19:32.216669562Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:19:32.357221736Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.321953198Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:38203"} {"msg":"region 0b34cd15-981f-4da1-9f68-17e6b81baf8e state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.351061393Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.351392517Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"uri":"/crucible/0/regions","method":"POST","req_id":"8f490e49-8d85-4372-b637-88e641b94eb6","remote_addr":"[fd00:1122:3344:101::b]:38203","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":11661,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.356268599Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/0b34cd15-981f-4da1-9f68-17e6b81baf8e","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.366019191Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/0b34cd15-981f-4da1-9f68-17e6b81baf8e","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.366048561Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"0b34cd15-981f-4da1-9f68-17e6b81baf8e\"), 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/0b34cd15-981f-4da1-9f68-17e6b81baf8e\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.425945893Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"region":"0b34cd15-981f-4da1-9f68-17e6b81baf8e","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.728557981Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"uri":"/crucible/0/regions","method":"POST","req_id":"a8354f56-6c46-4205-91f1-2863f68d59c5","remote_addr":"[fd00:1122:3344:101::b]:38203","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":66,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.731238335Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"region":"0b34cd15-981f-4da1-9f68-17e6b81baf8e","component":"worker"} {"msg":"region 0b34cd15-981f-4da1-9f68-17e6b81baf8e state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.731254885Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.731406367Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-0b34cd15-981f-4da1-9f68-17e6b81baf8e","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.731838822Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-0b34cd15-981f-4da1-9f68-17e6b81baf8e","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.73484944Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.743383847Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-0b34cd15-981f-4da1-9f68-17e6b81baf8e","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.746066791Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/0b34cd15-981f-4da1-9f68-17e6b81baf8e","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.74675109Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.749687787Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.749733807Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.749774188Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.756623024Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:36.761147241Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:37.456863533Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"uri":"/crucible/0/regions","method":"POST","req_id":"5d6a5628-2480-4b72-8a20-b0fbf66c9605","remote_addr":"[fd00:1122:3344:101::b]:38203","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":71,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:38.168743989Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:57197"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:38.16885238Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"uri":"/crucible/0/regions/0b34cd15-981f-4da1-9f68-17e6b81baf8e","method":"GET","req_id":"7e5f8134-a208-40b8-9d8d-1904e1d3a016","remote_addr":"[fd00:1122:3344:101::b]:57197","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":80,"response_code":"200"} {"msg":"path is \"/data/regions/0b34cd15-981f-4da1-9f68-17e6b81baf8e\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:38.169110223Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/0b34cd15-981f-4da1-9f68-17e6b81baf8e","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:38.177936844Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"datafile"} {"msg":"region 0b34cd15-981f-4da1-9f68-17e6b81baf8e state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:38.187060568Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:38.18719904Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:38.187244351Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"uri":"/crucible/0/regions/0b34cd15-981f-4da1-9f68-17e6b81baf8e","method":"DELETE","req_id":"c093c1b6-3956-4644-91ac-6bb3baaf44b5","remote_addr":"[fd00:1122:3344:101::b]:57197","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":18160,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:38.187406163Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"uri":"/crucible/0/regions/0b34cd15-981f-4da1-9f68-17e6b81baf8e","method":"GET","req_id":"8cb71d73-f621-46e0-b015-929f064562e7","remote_addr":"[fd00:1122:3344:101::b]:57197","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":20,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-0b34cd15-981f-4da1-9f68-17e6b81baf8e (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:38.188239493Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:38.192576638Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/0b34cd15-981f-4da1-9f68-17e6b81baf8e\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:38.203371873Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"region":"0b34cd15-981f-4da1-9f68-17e6b81baf8e","component":"worker"} {"msg":"region 0b34cd15-981f-4da1-9f68-17e6b81baf8e state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:38.259587399Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:20:38.311360289Z","hostname":"oxz_crucible_d22f5caa-8944-4963-a01c-feb63f085d83","pid":21568,"uri":"/crucible/0/regions/0b34cd15-981f-4da1-9f68-17e6b81baf8e","method":"GET","req_id":"9c5a69cc-62c3-45f1-a009-c8e65bf79a2a","remote_addr":"[fd00:1122:3344:101::b]:57197","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":624,"response_code":"200"}