[ Nov 14 22:15:17 Enabled. ] [ Nov 14 22:15:17 Rereading configuration. ] [ Nov 14 22:15:18 Rereading configuration. ] [ Nov 14 22:15:19 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::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 + [[ 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::15 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::15]: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-11-14T22:15:20.686042973Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:20.687242795Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:20.687254295Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:20.870808434Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.22650878Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:48560"} {"msg":"region 2ecd4afc-a616-40c8-aab8-ceaeadbfb60c state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.29131049Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.291688647Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"uri":"/crucible/0/regions","method":"POST","req_id":"1e0ca7c5-e3fa-479b-ac19-6934e0eadf79","remote_addr":"[fd00:1122:3344:101::b]:48560","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":911,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.292876289Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2ecd4afc-a616-40c8-aab8-ceaeadbfb60c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.302890854Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2ecd4afc-a616-40c8-aab8-ceaeadbfb60c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.302924045Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"2ecd4afc-a616-40c8-aab8-ceaeadbfb60c\"), 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/2ecd4afc-a616-40c8-aab8-ceaeadbfb60c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.356007267Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"region":"2ecd4afc-a616-40c8-aab8-ceaeadbfb60c","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.491806421Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"uri":"/crucible/0/regions","method":"POST","req_id":"49dd6892-3496-4425-ae25-a968e40d042e","remote_addr":"[fd00:1122:3344:101::b]:48560","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":98,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.525007996Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"region":"2ecd4afc-a616-40c8-aab8-ceaeadbfb60c","component":"worker"} {"msg":"region 2ecd4afc-a616-40c8-aab8-ceaeadbfb60c state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.525037706Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.525161509Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-2ecd4afc-a616-40c8-aab8-ceaeadbfb60c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.52575912Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-2ecd4afc-a616-40c8-aab8-ceaeadbfb60c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.529651632Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.536844635Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-2ecd4afc-a616-40c8-aab8-ceaeadbfb60c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.539948643Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/2ecd4afc-a616-40c8-aab8-ceaeadbfb60c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.540537833Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.540613375Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.540658616Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.540697676Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.544805262Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.552747539Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.101265695Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"uri":"/crucible/0/regions","method":"POST","req_id":"deaef79b-5dcd-4b02-8dae-a3e07e894df7","remote_addr":"[fd00:1122:3344:101::b]:48560","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":102,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.493789662Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:48939"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.525067361Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"uri":"/crucible/0/regions/2ecd4afc-a616-40c8-aab8-ceaeadbfb60c","method":"GET","req_id":"b3d04317-bb17-43b3-b118-80a72246badc","remote_addr":"[fd00:1122:3344:101::b]:48939","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":102,"response_code":"200"} {"msg":"path is \"/data/regions/2ecd4afc-a616-40c8-aab8-ceaeadbfb60c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.525322626Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2ecd4afc-a616-40c8-aab8-ceaeadbfb60c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.537077183Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"datafile"} {"msg":"region 2ecd4afc-a616-40c8-aab8-ceaeadbfb60c state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.547353814Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.547499406Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.547558097Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"uri":"/crucible/0/regions/2ecd4afc-a616-40c8-aab8-ceaeadbfb60c","method":"DELETE","req_id":"f2342ca0-4031-4ea4-a672-07460e0fdd9c","remote_addr":"[fd00:1122:3344:101::b]:48939","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":22255,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.54769768Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"uri":"/crucible/0/regions/2ecd4afc-a616-40c8-aab8-ceaeadbfb60c","method":"GET","req_id":"e94c4c57-6c9d-4738-a060-1268c185cafe","remote_addr":"[fd00:1122:3344:101::b]:48939","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-2ecd4afc-a616-40c8-aab8-ceaeadbfb60c (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.548580766Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.552536519Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2ecd4afc-a616-40c8-aab8-ceaeadbfb60c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.564019912Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"region":"2ecd4afc-a616-40c8-aab8-ceaeadbfb60c","component":"worker"} {"msg":"region 2ecd4afc-a616-40c8-aab8-ceaeadbfb60c state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.625611922Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.666662103Z","hostname":"oxz_crucible_18ff6f26-b88f-4994-8392-322a4a9036c1","pid":25320,"uri":"/crucible/0/regions/2ecd4afc-a616-40c8-aab8-ceaeadbfb60c","method":"GET","req_id":"04687aa4-d03f-4815-a2d6-37f066da126c","remote_addr":"[fd00:1122:3344:101::b]:48939","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":97,"response_code":"200"}