Error: "Failed to exchange user info between Cloud Director and storage platform" when updating files stored in OSE bucket
search cancel

Error: "Failed to exchange user info between Cloud Director and storage platform" when updating files stored in OSE bucket

book

Article ID: 381183

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

The following error is observed in the UI: 

<Error><Status>503</Status><Code>EXCHANGE_USER_ERROR</Code><Message>Failed to exchange user info between Cloud Director and storage platform.</Message><Resource>/api/v1/s3/<bucketname>/<filename></Resource><RequestId>########-####-####-####-########</RequestId></Error>

Environment

OSE 3.1.x

Cloud Director 10.5.x

Cause

The issue can be observed if the tenant user who attempts the operation has a user name that contains special characters.

Resolution

Workaround:

1) Perform a backup of OSE.

2) Navigate to the Postgres database that VMware Cloud Director Object Storage Extension uses.

3) In the table bucket_info, in the storage_user_id for buckets column, add the encoded tenant user name. You can find the encoded user name in the table platform_user_mapping, when you select the platform_user_id corresponding to user_name.

Additional Information

This matter is documented in the Object Storage Extension release notes as a known issue.