qdrant: qdrant_client-1.6.9: "Can't init WAL" when creating simple collection

I’m getting error processing request: Can't init WAL: Os { code: 22, kind: InvalidInput, message: "Invalid argument" } just by trying to create a new collection as suggested on the docs

I’m just doing client.create_collection("2db5aa02", vectors_config) where vectors_config is models.VectorParams(size=100, distance=models.Distance.COSINE).

Using qdrant_client-1.6.9 and using locally docker.io/qdrant/qdrant:latest

About this issue

  • Original URL
  • State: open
  • Created 7 months ago
  • Comments: 23 (10 by maintainers)

Most upvoted comments

@mfirry Happy to help! This has been an interesting learning experience for me as well. For the record, rootful shouldn’t be necessary, I just double-checked locally and just applehv + privileged works. I assume it has something to do with the way user namespaces are implemented on macOS (or the lack thereof).

Ok. thanks @timvisee for the help.

the solution suggested by @T1T4N actually makes it work. not sure why these things are needed to be honest (applehv, rootful and privileged) but it does work now. thanks

Hi @mfirry

Not yet 😦 will try to do it at the weekends

$  tree collections
collections
|-- 0fc9f42f
|-- 16a28419
|-- 2d633f4e
|   `-- 0
|       |-- segments
|       |   |-- 02405a1e-43a0-4aab-a914-d4700f447b87
|       |   |   |-- 000004.log
|       |   |   |-- CURRENT
|       |   |   |-- IDENTITY
|       |   |   |-- LOCK
|       |   |   |-- LOG
|       |   |   |-- MANIFEST-000005
|       |   |   |-- OPTIONS-000013
|       |   |   |-- OPTIONS-000015
|       |   |   |-- payload_index
|       |   |   |   |-- 000004.log
|       |   |   |   |-- CURRENT
|       |   |   |   |-- IDENTITY
|       |   |   |   |-- LOCK
|       |   |   |   |-- LOG
|       |   |   |   |-- MANIFEST-000005
|       |   |   |   |-- OPTIONS-000007
|       |   |   |   `-- config.json
|       |   |   |-- segment.json
|       |   |   `-- version.info
|       |   `-- 916eeb55-a94f-409a-9146-ad99434330e4
|       |       |-- 000004.log
|       |       |-- CURRENT
|       |       |-- IDENTITY
|       |       |-- LOCK
|       |       |-- LOG
|       |       |-- MANIFEST-000005
|       |       |-- OPTIONS-000013
|       |       |-- OPTIONS-000015
|       |       |-- payload_index
|       |       |   |-- 000004.log
|       |       |   |-- CURRENT
|       |       |   |-- IDENTITY
|       |       |   |-- LOCK
|       |       |   |-- LOG
|       |       |   |-- MANIFEST-000005
|       |       |   |-- OPTIONS-000007
|       |       |   `-- config.json
|       |       |-- segment.json
|       |       `-- version.info
|       `-- wal
|           `-- tmp-open-1
|-- 2db5aa02
|   `-- 0
|       |-- segments
|       |   |-- 556d3817-428e-4f8f-a9ac-448dd7ebcda6
|       |   |   |-- 000004.log
|       |   |   |-- CURRENT
|       |   |   |-- IDENTITY
|       |   |   |-- LOCK
|       |   |   |-- LOG
|       |   |   |-- MANIFEST-000005
|       |   |   |-- OPTIONS-000013
|       |   |   |-- OPTIONS-000015
|       |   |   |-- payload_index
|       |   |   |   |-- 000004.log
|       |   |   |   |-- CURRENT
|       |   |   |   |-- IDENTITY
|       |   |   |   |-- LOCK
|       |   |   |   |-- LOG
|       |   |   |   |-- MANIFEST-000005
|       |   |   |   |-- OPTIONS-000007
|       |   |   |   `-- config.json
|       |   |   |-- segment.json
|       |   |   `-- version.info
|       |   `-- 8d69ec9b-e4f1-48a0-8ae4-50f9fd488e56
|       |       |-- 000004.log
|       |       |-- CURRENT
|       |       |-- IDENTITY
|       |       |-- LOCK
|       |       |-- LOG
|       |       |-- MANIFEST-000005
|       |       |-- OPTIONS-000013
|       |       |-- OPTIONS-000015
|       |       |-- payload_index
|       |       |   |-- 000004.log
|       |       |   |-- CURRENT
|       |       |   |-- IDENTITY
|       |       |   |-- LOCK
|       |       |   |-- LOG
|       |       |   |-- MANIFEST-000005
|       |       |   |-- OPTIONS-000007
|       |       |   `-- config.json
|       |       |-- segment.json
|       |       `-- version.info
|       `-- wal
|           `-- tmp-open-1