Skip to content

multitenancy. no personal space or incorrect configuration #1907

@ScharfViktor

Description

@ScharfViktor

Describe the bug

A clear and concise description of what the bug is.

Steps to reproduce

  1. use setup from multiTenancyTests #1313 + enable keycloak
  2. log in as alice:123456

Expected behavior

personal space is exist

Actual behavior

logs:

{"level":"error","service":"storage-system","host.name":"c24d06c8fd63","pkg":"rgrpc","traceid":"8698fbd3d9516658639c041a0e535478","error":"node.Xattr /var/lib/opencloud/storage/metadata/spaces/js/oncs3-public-share-manager-metadata/nodes/js/on/cs/3-/public-share-manager-metadata user.oc.space.tenantid: no data available","time":"2025-11-24T14:57:01Z","line":"github.com/opencloud-eu/reva/v2@v2.39.3-0.20251121093521-c51ed14c8397/pkg/storage/pkg/decomposedfs/grants.go:125","message":"failed to read tenant id of space"}

{"level":"error","service":"storage-system","host.name":"c24d06c8fd63","pkg":"rgrpc","traceid":"8698fbd3d9516658639c041a0e535478","error":"internal error: error validating tenantID","status":{"code":15,"message":"error creating space","trace":"8698fbd3d9516658639c041a0e535478"},"request":{"opaque":{"map":{"spaceid":{"decoder":"plain","value":"anNvbmNzMy1wdWJsaWMtc2hhcmUtbWFuYWdlci1tZXRhZGF0YQ=="}}},"owner":{"id":{"idp":"internal","opaque_id":"4e163f7a-eaa4-4864-a5a5-0209ee8811ac"}},"type":"metadata","name":"Metadata"},"time":"2025-11-24T14:57:01Z","line":"github.com/opencloud-eu/reva/v2@v2.39.3-0.20251121093521-c51ed14c8397/internal/grpc/services/storageprovider/storageprovider.go:540","message":"failed to create storage space"}
Image

Setup

Please describe how you started the server and provide a list of relevant environment variables or configuration files.

Details

OC_XXX=somevalue
OC_YYY=somevalue
PROXY_XXX=somevalue

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Prio <= 3

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions