mpn mbn
10/24/2024, 6:41 PMHaoming Jiang
10/24/2024, 9:37 PMmpn mbn
10/25/2024, 8:03 AMVincent Caldwell
10/26/2024, 5:13 AMRudy Cortembert
10/27/2024, 9:18 PMParth Ghinaiya
10/28/2024, 8:14 PMAndrij David
10/29/2024, 8:33 PMAndrij David
10/29/2024, 8:46 PMHaoming Jiang
10/30/2024, 1:11 AMlakefs/get_object(repository_id, reference_id, path)
, but I dont see how to write datampn mbn
10/31/2024, 12:05 PMlakectl fs rm -r <lakefs://repo/branch/A>
lakectl fs upload -r <lakefs://repo/branch/A> -s A
My question is:
How can I do this using Python lakefs package?Ocean Chang
11/06/2024, 8:12 AMauth:
remote_authenticator:
enabled: true
endpoint: <https://testendpoint.com>
default_user_group: "Developers"
ui_config:
logout_url: /logout
login_cookie_names:
- Authorization
Boris
11/07/2024, 1:01 PMOcean Chang
11/08/2024, 2:23 AMv1/auth/login
API call or the Client
from SDK. They are successful with 200. Login API call returns the token
and token_expiration
However, when subsequently trying to call /api/v1/repositories
, I m getting 401 error authenticating request
Question: Do I need to attach the login token being returned in order to make subsequent calls? If so, how?Mike Fang
11/08/2024, 7:09 PMMike Fang
11/09/2024, 1:42 AMtime="2024-11-09T01:33:57Z"
level=warning msg="Could not access storage namespace"
func="pkg/api.(*Controller).CreateRepository"
file="lakeFS/pkg/api/controller.go:2016" error="operation error S3:
PutObject, https response error StatusCode: 400, RequestID:
GV2RCD8F49KSN5K3, HostID:
P2Te8QubRyKCczc2nt/cJ3YnGfIJFDD2vJRKYoKC7JuDkMkEgN6woYVtsfChFfRhkO2HvM10uYE=,
api error InvalidRequest: Content-MD5 OR x-amz-checksum- HTTP header is
required for Put Object requests with Object Lock parameters"
reason=unknown service=api_gateway
storage_namespace="<s3://nile-data-catalog-storefangmik-406016533510-dev/test-lakefs/>"
is there something i am missing with setting up s3 wiht lakeFS? I believe the bucket permissions should be set up correctly
object lock is usualy default for s3 buckets, do they need ot be turned off now for lakefs?Akshar Barot
06/29/2025, 5:48 AMA. Katsikarelis
07/09/2025, 7:07 AMTsuHao Wang
07/10/2025, 9:54 PMGet Repository
, Get Commit
, Get Branch
, Get Object
?
2. Can we limit users to access specific commit only? On the RBAC documentation, the Get Commit is only at the repo level (arn:lakefs:fs:::repository/{repositoryId}
) but not commit level.
Thank youJason Trinidad
07/16/2025, 2:53 PMmain
branch to show just the merge commits, which would reflect the final released data for each version.
I don't see a squash functionality either on the GUI or in the docs. Does anyone know if one is available?
Thanks!Mark
07/17/2025, 2:19 PMlakectl revert
to roll back the main branch to the initial commit (with the message "Repository created"). However, this operation did not succeed. Could you advise me on how to achieve this? Are there alternative methods to revert the branch to its original state? ./lakectl branch revert <lakefs://e2e-dt/main> f66e8092ece39d11e2f3a10fab5342cb3a65cf881e237fcd4321eaedd4792dcf -y
Branch: <lakefs://e2e-dt/main>
update branch: no changes
400 Bad Request
Kungim
07/22/2025, 9:07 AM{"file":"_build/pkg/auth/basic_service.go:33","func":"pkg/auth.NewBasicAuthService","level":"info","msg":"initialized Auth service","service":"auth_service","time":"2025-07-22T08:49:39Z"}
{"error":"no users configured: auth migration not possible","file":"_build/pkg/auth/factory/build.go:50","func":"pkg/auth/factory.NewAuthService","level":"fatal","msg":"\ncannot migrate existing user to basic auth mode!\nPlease run \"lakefs superuser -h\" and follow the instructions on how to migrate an existing user\n","time":"2025-07-22T08:49:39Z"}
How do I fix it?
Here is my docker-compose.yml
services:
postgres:
container_name: pg-lakefs
image: postgres:13
ports:
- "5432:5432"
secrets:
- postgres_user
- postgres_password
environment:
POSTGRES_DB: lakefs_db
POSTGRES_USER_FILE: /run/secrets/postgres_user
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password
volumes:
- pg_lakefs_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $(cat /run/secrets/postgres_user)"]
interval: 1s
timeout: 5s
retries: 5
restart: always
minio:
container_name: minio
image: <http://quay.io/minio/minio:RELEASE.2025-06-13T11-33-47Z|quay.io/minio/minio:RELEASE.2025-06-13T11-33-47Z>
ports:
- "9000:9000"
- "9001:9001"
volumes:
- minio_data:/data
secrets:
- minio_root_user
- minio_root_password
restart: always
environment:
MINIO_ROOT_USER_FILE: /run/secrets/minio_root_user
MINIO_ROOT_PASSWORD_FILE: /run/secrets/minio_root_password
command: ["server", "/data", "--console-address", ":9001"]
lakefs:
container_name: lakefs
build:
context: .
dockerfile: Dockerfile.lakefs
ports:
- "8000:8000"
volumes:
- lakefs_data:/data
secrets:
- lakefs_config
depends_on:
postgres:
condition: service_healthy
minio:
condition: service_started
acl:
condition: service_started
restart: always
command: sh -c "cp /run/secrets/lakefs_config /app/lakefs_config.yaml && /app/lakefs run --config /app/lakefs_config.yaml"
acl:
container_name: acl
build:
context: .
dockerfile: Dockerfile.acl
ports:
- "8001:8001"
secrets:
- acl_config
depends_on:
postgres:
condition: service_healthy
restart: always
command: sh -c "cp /run/secrets/acl_config /app/acl_config.yaml && /app/acl run --config /app/acl_config.yaml"
volumes:
pg_lakefs_data:
minio_data:
lakefs_data:
secrets:
postgres_user:
file: .secrets/postgres_user.txt
postgres_password:
file: .secrets/postgres_password.txt
minio_root_user:
file: .secrets/minio_root_user.txt
minio_root_password:
file: .secrets/minio_root_password.txt
lakefs_config:
file: .secrets/.lakefs.yaml
acl_config:
file: .secrets/.aclserver.yaml
.aclserver.yaml
listen_address: ":8001"
database:
type: "postgres"
postgres:
connection_string: "<postgres://user:pass@postgres:5432/db?sslmode=disable>"
encrypt:
secret_key: "secret"
.lakefs.yaml
logging:
format: json
level: INFO
output: "-"
auth:
encrypt:
secret_key: "secret"
blockstore:
type: s3
s3:
force_path_style: true
endpoint: <http://minio:9000>
discover_bucket_region: false
credentials:
access_key_id: key_id
secret_access_key: secret
listen_address: "0.0.0.0:8000"
database:
type: "postgres"
postgres:
connection_string: "<postgres://user:pass@postgres:5432/db?sslmode=disable>"
Please help 🙂Nikolai Potapov
07/27/2025, 9:00 AM薛宇豪
08/07/2025, 1:00 AMgetPhysicalAddress
and am writing a file through the S3 interface, and GC is triggered before linkPhysicalAddress
is called, the S3 object will be collected but not marked as active. Will this cause a false GC?薛宇豪
08/07/2025, 5:11 AM薛宇豪
08/08/2025, 5:29 AMcreate commit record
API used for? Can I use it to add metadata to an existing commit?Aaron Taylor
08/11/2025, 11:33 PMlakectl local checkout
which produces an error of the following form (file paths edited):
$ lakectl local checkout --yes .
...
download path/to/example.jsonl failed: could not create file '/Users/aaron/repo/data/path/to/example.jsonl': open /Users/aaron/repo/data/path/to/example.jsonl failed: is a directory
The LakeFS location looks like this (paths changed, other things not):
$ lakectl fs ls -r <lakefs://example/COMMIT/path/to/>
object 2025-08-09 09:15:10 -0700 PDT 83.5 kB path/to/example.jsonl
object 2025-08-01 12:06:13 -0700 PDT 86.6 kB path/to/example.jsonl/9e0b1aabbf762a4494e47dd282e5c4cca1daaed40ac96f8ffcc61ecf38a47242
What it appears is that some LakeFS operation is partially failing, causing it to leave the object in some sort of broken state? Any guidance on how best to debug this? We've written a script to clean these up and re-run things but that's obviously not ideal! One theory is that seems to happen when the LakeFS deployment is under higher load.薛宇豪
08/12/2025, 9:54 AM薛宇豪
08/13/2025, 9:16 AMAlan judi
08/13/2025, 11:39 PMtime="2025-08-13T22:53:36Z" level=error msg="failed to create user" func="pkg/auth.(*APIAuthService).CreateUser" file="build/pkg/auth/service.go:213" error="Post \"/auth/users\": unsupported protocol scheme \"\"" service=auth_api username=admin
time="2025-08-13T22:53:36Z" level=error msg="API call returned status internal server error" func="pkg/api.(*Controller).handleAPIErrorCallback" file="build/pkg/api/controller.go:3033" error="create user - Post \"/auth/users\": unsupported protocol scheme \"\"" host=lakefs.*****.com method=POST operation_id=Setup path=/api/v1/setup_lakefs service=api_gateway
time="2025-08-13T23:31:41Z" level=error msg="failed to create user" func="pkg/auth.(*APIAuthService).CreateUser" file="build/pkg/auth/service.go:213" error="Post \"/auth/users\": unsupported protocol scheme \"\"" service=auth_api username=admin
time="2025-08-13T23:31:41Z" level=error msg="API call returned status internal server error" func="pkg/api.(*Controller).handleAPIErrorCallback" file="build/pkg/api/controller.go:3033" error="create user - Post \"/auth/users\": unsupported protocol scheme \"\"" host=lakefs.******.com method=POST operation_id=Setup path=/api/v1/setup_lakefs service=api_gateway
Here are my helm chart values:
# lakeFS server configuration
lakefsConfig: |
logging:
level: "INFO"
database:
type: postgres
postgres:
connection_string: "postgres://****:****@****:5432/postgres?sslmode=disable"
blockstore:
type: s3
s3:
region: us-west-2
auth:
# Optional: map display names & default groups from ID token claims
api:
skip_health_check: true
supports_invites: false
endpoint: ""
authentication_api:
endpoint: ""
external_principals_enabled: false
ui_config:
rbac: simplified
login_url: /auth/login
logout_url: /auth/logout
Jeffrey Ji
08/17/2025, 1:28 AM