[ Oct 11 22:23:14 Enabled. ] [ Oct 11 22:23:14 Rereading configuration. ] [ Oct 11 22:23:16 Rereading configuration. ] [ Oct 11 22:23:18 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=oxControlService13 ++ 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::17 ++ 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 + [[ oxControlService13 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService13 ipadm: Could not delete oxControlService13: Interface does not exist + true + ipadm create-if -t oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService13 + ipadm show-addr oxControlService13/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService13/ll + ipadm show-addr oxControlService13/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService13/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::17]: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":"2023-10-11T22:23:19.431497505Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:23:19.436458899Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:23:19.436470069Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:23:19.605048841Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.545155941Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:34610"} {"msg":"region ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.617663486Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.620404707Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"uri":"/crucible/0/regions","method":"POST","req_id":"76379df4-a8cf-42dd-b0ea-ef7b6234b48a","remote_addr":"[fd00:1122:3344:101::c]:34610","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":9795,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.623790718Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.632725162Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.632755952Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65\"), 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/ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.677264811Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"region":"ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.779610198Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"uri":"/crucible/0/regions","method":"POST","req_id":"cbfcb85f-2115-462c-8ac5-d171860d263a","remote_addr":"[fd00:1122:3344:101::c]:34610","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":99,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.861342115Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"region":"ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65","component":"worker"} {"msg":"region ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.861376816Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.861494297Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.872347991Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.876675076Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.890608475Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.893455957Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.894050566Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.894129188Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.894174838Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.894215639Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.899275155Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:34.908680066Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.525246557Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"uri":"/crucible/0/regions","method":"POST","req_id":"2cd031ab-d6b3-4318-8578-03708dabf47a","remote_addr":"[fd00:1122:3344:101::c]:34610","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":66,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.797671548Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:59439"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.859981993Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"uri":"/crucible/0/regions/ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65","method":"GET","req_id":"0faf7222-376b-429c-8757-d0eb4820fa38","remote_addr":"[fd00:1122:3344:101::c]:59439","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":97,"response_code":"200"} {"msg":"path is \"/data/regions/ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.860207967Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.872569102Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"datafile"} {"msg":"region ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.883321204Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.883483666Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.883538107Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"uri":"/crucible/0/regions/ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65","method":"DELETE","req_id":"f9b2982e-b9f9-4c3a-98c6-10b78b5e29fc","remote_addr":"[fd00:1122:3344:101::c]:59439","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":23350,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.886436261Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"uri":"/crucible/0/regions/ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65","method":"GET","req_id":"39bf0374-bc02-4549-a4e7-8c9d197e9a5f","remote_addr":"[fd00:1122:3344:101::c]:59439","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":437,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.895853942Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.900588713Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.913602789Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"region":"ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.952681436Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"uri":"/crucible/0/regions/ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65","method":"GET","req_id":"7e6ee647-53f9-4e08-a823-aa8f5ab64fae","remote_addr":"[fd00:1122:3344:101::c]:59439","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":87,"response_code":"200"} {"msg":"region ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:35.969233064Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:36.064384683Z","hostname":"oxz_crucible_84f5e880-b9cc-4522-a0fe-ed8738d8fb1f","pid":21702,"uri":"/crucible/0/regions/ba55d214-1d1d-47e3-a0ef-f0b2ffa88c65","method":"GET","req_id":"6db20475-9819-411d-b091-9984d2db1b96","remote_addr":"[fd00:1122:3344:101::c]:59439","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":37,"response_code":"200"}