[ Jan 11 00:55:10 Enabled. ] [ Jan 11 00:55:10 Rereading configuration. ] [ Jan 11 00:55:12 Rereading configuration. ] [ Jan 11 00:55:14 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=oxControlService22 ++ 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::15 ++ 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 + [[ oxControlService22 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService22 ipadm: Could not delete oxControlService22: Interface does not exist + true + ipadm create-if -t oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 + ipadm show-addr oxControlService22/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService22/ll + ipadm show-addr oxControlService22/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService22/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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:55:15.019265569Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:55:15.024716008Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:55:15.024738539Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:55:15.271401759Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:01.879807963Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:63514"} {"msg":"region 5b7679df-2322-40f7-8873-06afd4d6d0c4 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:01.887840128Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:01.889165326Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:01.892914148Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"uri":"/crucible/0/regions","method":"POST","req_id":"b79e8a5b-63a0-4eeb-a998-a54ed1172606","remote_addr":"[fd00:1122:3344:101::c]:63514","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":7795,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/5b7679df-2322-40f7-8873-06afd4d6d0c4","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:01.899740277Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/5b7679df-2322-40f7-8873-06afd4d6d0c4","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:01.899759387Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"5b7679df-2322-40f7-8873-06afd4d6d0c4\"), 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/5b7679df-2322-40f7-8873-06afd4d6d0c4\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:01.955848078Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"region":"5b7679df-2322-40f7-8873-06afd4d6d0c4","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.075699468Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"region":"5b7679df-2322-40f7-8873-06afd4d6d0c4","component":"worker"} {"msg":"region 5b7679df-2322-40f7-8873-06afd4d6d0c4 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.075757169Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.075850011Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-5b7679df-2322-40f7-8873-06afd4d6d0c4","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.076321521Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-5b7679df-2322-40f7-8873-06afd4d6d0c4","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.079692605Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.087419123Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-5b7679df-2322-40f7-8873-06afd4d6d0c4","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.090086341Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/5b7679df-2322-40f7-8873-06afd4d6d0c4","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.090755046Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.092855841Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.092900042Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.092941363Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.100950187Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.105608679Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.107135402Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"uri":"/crucible/0/regions","method":"POST","req_id":"2546013f-a054-440a-8466-9b926677c979","remote_addr":"[fd00:1122:3344:101::c]:63514","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":779,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.823660572Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:55547"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.824403919Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"uri":"/crucible/0/regions/5b7679df-2322-40f7-8873-06afd4d6d0c4","method":"GET","req_id":"05752851-dd94-40cd-a0bc-c8d6009a10de","remote_addr":"[fd00:1122:3344:101::c]:55547","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":724,"response_code":"200"} {"msg":"path is \"/data/regions/5b7679df-2322-40f7-8873-06afd4d6d0c4\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.824570332Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/5b7679df-2322-40f7-8873-06afd4d6d0c4","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.833694051Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"datafile"} {"msg":"region 5b7679df-2322-40f7-8873-06afd4d6d0c4 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.841607773Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.841756766Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.841827838Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"uri":"/crucible/0/regions/5b7679df-2322-40f7-8873-06afd4d6d0c4","method":"DELETE","req_id":"2ed79a4c-12f4-44a0-89af-5f7901529772","remote_addr":"[fd00:1122:3344:101::c]:55547","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":17288,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.841978081Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"uri":"/crucible/0/regions/5b7679df-2322-40f7-8873-06afd4d6d0c4","method":"GET","req_id":"f1efadea-f088-4aba-8748-bb797049951f","remote_addr":"[fd00:1122:3344:101::c]:55547","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-5b7679df-2322-40f7-8873-06afd4d6d0c4 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.842916631Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.847102883Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/5b7679df-2322-40f7-8873-06afd4d6d0c4\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.85801214Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"region":"5b7679df-2322-40f7-8873-06afd4d6d0c4","component":"worker"} {"msg":"region 5b7679df-2322-40f7-8873-06afd4d6d0c4 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.909706496Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-11T00:56:02.981415807Z","hostname":"oxz_crucible_f5f64775-c265-4b8b-aeaf-19fe96b1a1e0","pid":21261,"uri":"/crucible/0/regions/5b7679df-2322-40f7-8873-06afd4d6d0c4","method":"GET","req_id":"4688ea25-f73b-4380-9c9e-2dad5a8941fc","remote_addr":"[fd00:1122:3344:101::c]:55547","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":84,"response_code":"200"}