[ Feb 18 04:56:04 Enabled. ] [ Feb 18 04:56:04 Rereading configuration. ] [ Feb 18 04:56:06 Rereading configuration. ] [ Feb 18 04:56:09 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=oxControlService10 ++ 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 + [[ oxControlService10 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService10 ipadm: Could not delete oxControlService10: Interface does not exist + true + ipadm create-if -t oxControlService10 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService10 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService10 + ipadm show-addr oxControlService10/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService10/ll + ipadm show-addr oxControlService10/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::13 oxControlService10/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-18T04:56:10.337076035Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:56:10.341602412Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:56:10.341618432Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:56:10.651253023Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.557949267Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:52629"} {"msg":"region c639875c-45bc-4235-8aa5-22e03f8aa508 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.60655635Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.609565998Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.613631686Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"uri":"/crucible/0/regions","method":"POST","req_id":"0ce188f0-1478-44b1-9c2b-4f90e8764051","remote_addr":"[fd00:1122:3344:101::c]:52629","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":17061,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/c639875c-45bc-4235-8aa5-22e03f8aa508","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.620470937Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/c639875c-45bc-4235-8aa5-22e03f8aa508","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.620482337Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"c639875c-45bc-4235-8aa5-22e03f8aa508\"), 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/c639875c-45bc-4235-8aa5-22e03f8aa508\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.685168958Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"region":"c639875c-45bc-4235-8aa5-22e03f8aa508","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.791330135Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"uri":"/crucible/0/regions","method":"POST","req_id":"c2305ab9-69b9-43b8-b296-88660728548b","remote_addr":"[fd00:1122:3344:101::c]:52629","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":83,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.805235482Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"region":"c639875c-45bc-4235-8aa5-22e03f8aa508","component":"worker"} {"msg":"region c639875c-45bc-4235-8aa5-22e03f8aa508 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.805256442Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.805388505Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-c639875c-45bc-4235-8aa5-22e03f8aa508","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.805795012Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-c639875c-45bc-4235-8aa5-22e03f8aa508","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.813263416Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.827661422Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-c639875c-45bc-4235-8aa5-22e03f8aa508","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.831594838Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/c639875c-45bc-4235-8aa5-22e03f8aa508","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.83226541Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.832337212Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.832387573Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.832432014Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.836740836Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.846122236Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:01.353007461Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"uri":"/crucible/0/regions","method":"POST","req_id":"a5c5e681-1ddc-4ac8-a9c3-b17e44fd0d99","remote_addr":"[fd00:1122:3344:101::c]:52629","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":716,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:01.727794581Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:62177"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:01.727926494Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"uri":"/crucible/0/regions/c639875c-45bc-4235-8aa5-22e03f8aa508","method":"GET","req_id":"fadcaf0c-68fe-4d66-9c27-0f48129746e8","remote_addr":"[fd00:1122:3344:101::c]:62177","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":92,"response_code":"200"} {"msg":"path is \"/data/regions/c639875c-45bc-4235-8aa5-22e03f8aa508\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:01.728127578Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/c639875c-45bc-4235-8aa5-22e03f8aa508","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:01.736747893Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"datafile"} {"msg":"region c639875c-45bc-4235-8aa5-22e03f8aa508 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:01.745372749Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:01.745592503Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:01.745688985Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"uri":"/crucible/0/regions/c639875c-45bc-4235-8aa5-22e03f8aa508","method":"DELETE","req_id":"924250fa-9883-4cc8-a79c-5aeea4a4c2c9","remote_addr":"[fd00:1122:3344:101::c]:62177","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":17584,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:01.746512541Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"uri":"/crucible/0/regions/c639875c-45bc-4235-8aa5-22e03f8aa508","method":"GET","req_id":"dd80b1db-0dc1-4743-a1fd-cd36509dbe72","remote_addr":"[fd00:1122:3344:101::c]:62177","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":647,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-c639875c-45bc-4235-8aa5-22e03f8aa508 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:01.746907688Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:01.751005517Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/c639875c-45bc-4235-8aa5-22e03f8aa508\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:01.760738864Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"region":"c639875c-45bc-4235-8aa5-22e03f8aa508","component":"worker"} {"msg":"region c639875c-45bc-4235-8aa5-22e03f8aa508 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:01.810430397Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:01.891823619Z","hostname":"oxz_crucible_61d27292-b3b5-43ea-9528-b4073c7561ad","pid":21280,"uri":"/crucible/0/regions/c639875c-45bc-4235-8aa5-22e03f8aa508","method":"GET","req_id":"65bff799-2e74-41b5-a264-75daa7776712","remote_addr":"[fd00:1122:3344:101::c]:62177","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":66,"response_code":"200"}