-
Notifications
You must be signed in to change notification settings - Fork 17
Labels
Description
I'm trying to use RustFS as the S3-compatible storage backend for s2 lite, but startup fails with repeated object store retry errors.
RustFS startup command
docker run --name rustfs_local \
-p 9000:9000 \
-p 9001:9001 \
-v ./rustfs-data:/data \
-e RUSTFS_ACCESS_KEY=rustfsadmin \
-e RUSTFS_SECRET_KEY=rustfsadmin \
-e RUSTFS_CONSOLE_ENABLE=true \
rustfs/rustfs:latest /data
Environment variables
export AWS_ACCESS_KEY_ID="rustfsadmin"
export AWS_SECRET_ACCESS_KEY="rustfsadmin"
export AWS_ENDPOINT_URL_S3="http://localhost:9000"
export AWS_REGION="us-east-1"
s2 lite command
s2 lite \
--port 7070 \
--bucket tag \
--path s2lite
s2 lite starts, detects the S3 object store bucket, and picks up the static credentials from env vars, but then fails while opening the SlateDB database. It keeps retrying S3 list operations and logs the following error:
2026-03-06T07:11:13.309582Z INFO s2_lite::server: args=LiteArgs { bucket: Some("tag"), local_root: None, path: "s2lite", tls: TlsConfig { tls_self: false, tls_cert: None, tls_key: None }, port: Some(7070), no_cors: false, init_file: None }
2026-03-06T07:11:13.311037Z INFO s2_lite::server: using s3 object store bucket="tag"
2026-03-06T07:11:13.311613Z INFO s2_lite::server: using static credentials from env vars key_id="rustfsadmin"
2026-03-06T07:11:13.453921Z INFO s2_lite::server: pipelining disabled
2026-03-06T07:11:13.454118Z INFO slatedb::db::builder: opening SlateDB database [path=s2lite, settings={"flush_interval":"050ms","manifest_poll_interval":"1s","manifest_update_timeout":"300s","min_filter_keys":1000,"filter_bits_per_key":10,"l0_sst_size_bytes":67108864,"l0_max_ssts":8,"max_unflushed_bytes":1073741824,"compactor_options":{"poll_interval":"5s","manifest_update_timeout":"300s","max_sst_size":268435456,"max_concurrent_compactions":4,"scheduler_options":{}},"compression_codec":null,"object_store_cache_options":{"root_folder":null,"max_cache_size_bytes":17179869184,"part_size_bytes":4194304,"cache_puts":false,"preload_disk_cache_on_startup":null,"scan_interval":"3600s"},"garbage_collector_options":null,"default_ttl":null}]
2026-03-06T07:11:13.482798Z INFO slatedb::retrying_object_store: retrying object store operation [error=Generic { store: "S3", source: ListRequest { source: RetryError(RetryErrorImpl { method: GET, uri: Some(http://localhost:9000/tag?list-type=2&prefix=s2lite%2Fmanifest%2F), retries: 0, max_retries: 10, elapsed: 67.791µs, retry_timeout: 180s, inner: Http(HttpError { kind: Unknown, source: reqwest::Error { kind: Builder, source: BadScheme } }) }) } }, duration=100ms]

Reactions are currently unavailable