Skip to content

Parseable server start error with s3-store with incorrect/invalid bucket name #574

@nikhilsinhaparseable

Description

@nikhilsinhaparseable

Error occurs in starting Parseable server with s3-store with incorrect/invalid bucket name.

Steps to reproduce-

Start Minio in Local -

Download minio executable
Run below command -
MINIO_ROOT_USER=admin MINIO_ROOT_PASSWORD=password ./minio server /tmp/data --console-address ":9001"
Open browser and type localhost:9000 and login with user=admin, password=password
Create bucket with name - "parseable-main"
Start Parseable server in Local -

Clone parseable code from main branch
cargo build
set below environment variable -
export P_ADDR=0.0.0.0:8000
export P_S3_URL="http://localhost:9000/"
export P_S3_ACCESS_KEY="admin"
export P_S3_SECRET_KEY="password"
export P_S3_REGION="us-east-1"
export P_S3_BUCKET="parseable
export P_USERNAME="admin"
export P_PASSWORD="admin"
Run below command -
./target/debug/parseable s3-store
Below error occurs -

Error: Unhandled Error: Could not start the server because metadata not found in storage. Join us on Parseable Slack to report this incident : https://launchpass.com/parseable
error: the following required arguments were not provided:
--username
--password

IMO the error should explain that the bucket name passed as environment variable does not exist in the S3 URL.

Please look into the issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions