[ Nov 30 02:12:57 Enabled. ] [ Nov 30 02:12:57 Rereading configuration. ] [ Nov 30 02:12:59 Rereading configuration. ] [ Nov 30 02:13:01 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=oxControlService19 ++ 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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::14 ++ 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 + [[ oxControlService19 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService19 ipadm: Could not delete oxControlService19: Interface does not exist + true + ipadm create-if -t oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService19 + ipadm show-addr oxControlService19/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService19/ll + ipadm show-addr oxControlService19/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService19/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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:13:02.751693757Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:13:02.757797506Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:13:02.757816656Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:13:03.192087079Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.094951677Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:56183"} {"msg":"region 1a2854ab-7297-4b35-abef-5fc55638d3c7 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.119427763Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.121757481Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.124667247Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"uri":"/crucible/0/regions","method":"POST","req_id":"e4c374c6-ced2-4d0c-91d6-5f2282b7f9e0","remote_addr":"[fd00:1122:3344:101::c]:56183","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":13760,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/1a2854ab-7297-4b35-abef-5fc55638d3c7","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.13024506Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/1a2854ab-7297-4b35-abef-5fc55638d3c7","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.130270311Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"1a2854ab-7297-4b35-abef-5fc55638d3c7\"), 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/1a2854ab-7297-4b35-abef-5fc55638d3c7\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.181739877Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"region":"1a2854ab-7297-4b35-abef-5fc55638d3c7","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.380610679Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"region":"1a2854ab-7297-4b35-abef-5fc55638d3c7","component":"worker"} {"msg":"region 1a2854ab-7297-4b35-abef-5fc55638d3c7 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.380660741Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.380760514Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-1a2854ab-7297-4b35-abef-5fc55638d3c7","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.381249308Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-1a2854ab-7297-4b35-abef-5fc55638d3c7","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.384170523Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.393832066Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-1a2854ab-7297-4b35-abef-5fc55638d3c7","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.396709631Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/1a2854ab-7297-4b35-abef-5fc55638d3c7","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.400936684Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.402935923Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.403019225Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.403084557Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.407193288Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.412640677Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T02:14:02.446537739Z","hostname":"oxz_crucible_905df8f1-ba2f-44d0-999b-98b9d0111b4a","pid":22584,"uri":"/crucible/0/regions","method":"POST","req_id":"6f30fbad-6b3b-4c0d-97c3-91806afaf0b3","remote_addr":"[fd00:1122:3344:101::c]:56183","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":66,"response_code":"200"}