[ Jan 31 21:19:41 Enabled. ] [ Jan 31 21:19:41 Rereading configuration. ] [ Jan 31 21:19:43 Rereading configuration. ] [ Jan 31 21:19:45 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=oxControlService21 ++ 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::1a ++ 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 + [[ oxControlService21 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService21 ipadm: Could not delete oxControlService21: Interface does not exist + true + ipadm create-if -t oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService21 + ipadm show-addr oxControlService21/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService21/ll + ipadm show-addr oxControlService21/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService21/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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::1a]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:19:46.600435875Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:19:46.625554825Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:19:46.625580356Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:19:46.941740456Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:04.452125303Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:34472"} {"msg":"region 9e374b92-20ce-4223-8660-664b59ea103a state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:04.559512209Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:04.574161926Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"uri":"/crucible/0/regions","method":"POST","req_id":"8bd07613-b81e-4a97-9c88-97ee2e7df6de","remote_addr":"[fd00:1122:3344:101::a]:34472","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":46653,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:04.580355525Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9e374b92-20ce-4223-8660-664b59ea103a","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:04.59357731Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9e374b92-20ce-4223-8660-664b59ea103a","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:04.59360009Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"9e374b92-20ce-4223-8660-664b59ea103a\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/9e374b92-20ce-4223-8660-664b59ea103a\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:04.674893769Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"region":"9e374b92-20ce-4223-8660-664b59ea103a","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:04.845044445Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"uri":"/crucible/0/regions","method":"POST","req_id":"8ed9b004-5fa4-4359-a71d-52a73639701d","remote_addr":"[fd00:1122:3344:101::a]:34472","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":79,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.493167151Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"region":"9e374b92-20ce-4223-8660-664b59ea103a","component":"worker"} {"msg":"region 9e374b92-20ce-4223-8660-664b59ea103a state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.493206291Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.493328272Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-9e374b92-20ce-4223-8660-664b59ea103a","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.493730715Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-9e374b92-20ce-4223-8660-664b59ea103a","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.507894318Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.537593035Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-9e374b92-20ce-4223-8660-664b59ea103a","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.54451531Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/9e374b92-20ce-4223-8660-664b59ea103a","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.545070105Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.551019042Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.551067072Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.551105013Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.580627028Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.589468539Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.593671682Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"uri":"/crucible/0/regions","method":"POST","req_id":"4c26f434-5da3-4a8e-9912-f18ee37bba3e","remote_addr":"[fd00:1122:3344:101::a]:34472","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":81,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.940454387Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:55982"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.940618628Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"uri":"/crucible/0/regions/9e374b92-20ce-4223-8660-664b59ea103a","method":"GET","req_id":"414a7538-acbe-4d6f-b473-0bca48334f1e","remote_addr":"[fd00:1122:3344:101::a]:55982","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":98,"response_code":"200"} {"msg":"path is \"/data/regions/9e374b92-20ce-4223-8660-664b59ea103a\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.941743197Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9e374b92-20ce-4223-8660-664b59ea103a","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.957234421Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"datafile"} {"msg":"region 9e374b92-20ce-4223-8660-664b59ea103a state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.96593583Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.966182672Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.966272513Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"uri":"/crucible/0/regions/9e374b92-20ce-4223-8660-664b59ea103a","method":"DELETE","req_id":"f362ed9e-a4c6-4251-8892-eb48555a0a25","remote_addr":"[fd00:1122:3344:101::a]:55982","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":25464,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.967101259Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"uri":"/crucible/0/regions/9e374b92-20ce-4223-8660-664b59ea103a","method":"GET","req_id":"4f6070d2-7461-46fb-a5c1-f741a600afa2","remote_addr":"[fd00:1122:3344:101::a]:55982","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":654,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-9e374b92-20ce-4223-8660-664b59ea103a (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.967318981Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.979605169Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9e374b92-20ce-4223-8660-664b59ea103a\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.989111335Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"region":"9e374b92-20ce-4223-8660-664b59ea103a","component":"worker"} {"msg":"region 9e374b92-20ce-4223-8660-664b59ea103a state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:39.057085887Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:39.061533202Z","hostname":"oxz_crucible_7aede8e5-c7f6-40c3-9245-60ecd570f175","pid":22440,"uri":"/crucible/0/regions/9e374b92-20ce-4223-8660-664b59ea103a","method":"GET","req_id":"cd8da658-cba7-4333-9d45-6afc9af644cb","remote_addr":"[fd00:1122:3344:101::a]:55982","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":93,"response_code":"200"}