[ Dec 8 16:12:45 Enabled. ] [ Dec 8 16:12:45 Rereading configuration. ] [ Dec 8 16:12:47 Rereading configuration. ] [ Dec 8 16:12:48 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::16 ++ 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::16 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:12:49.802379188Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:12:49.813050516Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:12:49.813070842Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:12:50.003281106Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.113229674Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:55442"} {"msg":"region a441f68d-e098-4c45-929a-cd15dd63ebd4 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.191271429Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.19254765Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.196500456Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"uri":"/crucible/0/regions","method":"POST","req_id":"1b6855d6-7293-4fe6-acfe-01ccb8ab165e","remote_addr":"[fd00:1122:3344:101::b]:55442","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":18425,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/a441f68d-e098-4c45-929a-cd15dd63ebd4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.201973206Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/a441f68d-e098-4c45-929a-cd15dd63ebd4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.201988206Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"a441f68d-e098-4c45-929a-cd15dd63ebd4\"), 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/a441f68d-e098-4c45-929a-cd15dd63ebd4\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.250792829Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"region":"a441f68d-e098-4c45-929a-cd15dd63ebd4","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.389442713Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"uri":"/crucible/0/regions","method":"POST","req_id":"ba877a37-8d4f-43e2-8bf7-69921c9d0719","remote_addr":"[fd00:1122:3344:101::b]:55442","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":80,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.430187994Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"region":"a441f68d-e098-4c45-929a-cd15dd63ebd4","component":"worker"} {"msg":"region a441f68d-e098-4c45-929a-cd15dd63ebd4 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.430207316Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.430323287Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-a441f68d-e098-4c45-929a-cd15dd63ebd4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.432704942Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-a441f68d-e098-4c45-929a-cd15dd63ebd4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.435869625Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.448820784Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-a441f68d-e098-4c45-929a-cd15dd63ebd4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.452105168Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/a441f68d-e098-4c45-929a-cd15dd63ebd4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.458848066Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.460883733Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.460938203Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.460977954Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.46555875Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.471537736Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:45.981870574Z","hostname":"oxz_crucible_0e69ecd9-f37b-423d-9146-1774b81163cc","pid":20630,"uri":"/crucible/0/regions","method":"POST","req_id":"4f294f7f-35c5-4bda-a8c7-0c46572f7cbf","remote_addr":"[fd00:1122:3344:101::b]:55442","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":636,"response_code":"200"}