[ Oct 26 11:47:47 Enabled. ] [ Oct 26 11:47:47 Rereading configuration. ] [ Oct 26 11:47:49 Rereading configuration. ] [ Oct 26 11:47:49 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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::19 ++ 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::19 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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::19]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:50.331050607Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:50.334477068Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:50.334485308Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:50.418199162Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.225348051Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:33929"} {"msg":"region 76106ecd-a7f9-4f1a-99a2-9beeaadb998c state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.240782579Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.246210588Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"uri":"/crucible/0/regions","method":"POST","req_id":"b8aa8a7d-9a9b-4e8b-87bc-d94ee4eea8c3","remote_addr":"[fd00:1122:3344:101::a]:33929","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":13687,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.246244859Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/76106ecd-a7f9-4f1a-99a2-9beeaadb998c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.256340998Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/76106ecd-a7f9-4f1a-99a2-9beeaadb998c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.256397639Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"76106ecd-a7f9-4f1a-99a2-9beeaadb998c\"), 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/76106ecd-a7f9-4f1a-99a2-9beeaadb998c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.309070725Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"region":"76106ecd-a7f9-4f1a-99a2-9beeaadb998c","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.445671789Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"uri":"/crucible/0/regions","method":"POST","req_id":"2c4512b7-beda-4963-bd1f-2afc4b154e1c","remote_addr":"[fd00:1122:3344:101::a]:33929","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":82,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.479715251Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"region":"76106ecd-a7f9-4f1a-99a2-9beeaadb998c","component":"worker"} {"msg":"region 76106ecd-a7f9-4f1a-99a2-9beeaadb998c state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.479744591Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.479874453Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-76106ecd-a7f9-4f1a-99a2-9beeaadb998c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.482463011Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-76106ecd-a7f9-4f1a-99a2-9beeaadb998c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.485472936Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.496440888Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-76106ecd-a7f9-4f1a-99a2-9beeaadb998c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.4991402Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/76106ecd-a7f9-4f1a-99a2-9beeaadb998c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.499910679Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.49998591Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.50003213Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.500072521Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.50407809Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.51291449Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:45.050427764Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"uri":"/crucible/0/regions","method":"POST","req_id":"9ef7bf79-6c91-4fe3-b26b-1232e36c02bd","remote_addr":"[fd00:1122:3344:101::a]:33929","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":68,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.312246191Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:44746"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.312423344Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"uri":"/crucible/0/regions/76106ecd-a7f9-4f1a-99a2-9beeaadb998c","method":"GET","req_id":"f8d2e1a5-2a9b-4b08-8bfe-a1ae33e2848d","remote_addr":"[fd00:1122:3344:101::a]:44746","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":115,"response_code":"200"} {"msg":"path is \"/data/regions/76106ecd-a7f9-4f1a-99a2-9beeaadb998c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.312600666Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/76106ecd-a7f9-4f1a-99a2-9beeaadb998c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.326281858Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"datafile"} {"msg":"region 76106ecd-a7f9-4f1a-99a2-9beeaadb998c state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.33655275Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.336759823Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.336822564Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"uri":"/crucible/0/regions/76106ecd-a7f9-4f1a-99a2-9beeaadb998c","method":"DELETE","req_id":"dab5c814-f3a6-45c0-95b0-112b7701fa72","remote_addr":"[fd00:1122:3344:101::a]:44746","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":24244,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.336960666Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"uri":"/crucible/0/regions/76106ecd-a7f9-4f1a-99a2-9beeaadb998c","method":"GET","req_id":"4ddb2eda-9408-4171-b47f-3f8a19149c76","remote_addr":"[fd00:1122:3344:101::a]:44746","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":25,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-76106ecd-a7f9-4f1a-99a2-9beeaadb998c (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.337866759Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.352077539Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/76106ecd-a7f9-4f1a-99a2-9beeaadb998c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.363651564Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"region":"76106ecd-a7f9-4f1a-99a2-9beeaadb998c","component":"worker"} {"msg":"region 76106ecd-a7f9-4f1a-99a2-9beeaadb998c state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.431820844Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.480486982Z","hostname":"oxz_crucible_aabdc218-1b5e-4f9e-b23c-688222c35718","pid":25832,"uri":"/crucible/0/regions/76106ecd-a7f9-4f1a-99a2-9beeaadb998c","method":"GET","req_id":"7f062fa0-609d-45ef-8753-7a8e5e17a027","remote_addr":"[fd00:1122:3344:101::a]:44746","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":71,"response_code":"200"}