opencloud icon indicating copy to clipboard operation
opencloud copied to clipboard

fix: enhance resource creation with detailed process information

Open micbar opened this issue 3 weeks ago • 1 comments

Description

Related Issue

  • Fixes https://github.com/opencloud-eu/opencloud/issues/1950

Motivation and Context

ProcessOwner uses user.Current() which eventually calls lookup id, which returns an error when there no associated username for the ID.

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

image

Types of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] Technical debt
  • [ ] Tests only (no source changes)

Checklist:

  • [ ] Code changes
  • [ ] Unit tests added
  • [ ] Acceptance tests added
  • [ ] Documentation added

micbar avatar Dec 05 '25 11:12 micbar

update test between 4.0.0-rc.2 (OC_CONTAINER_UID_GID="1500:1500") and dev docker builded on your branch was successful. Instance is running, no errors error detecting resource: user: unknown userid 1500

ScharfViktor avatar Dec 05 '25 11:12 ScharfViktor

only flaky tests fail, can be merged anyway

butonic avatar Dec 05 '25 14:12 butonic

💚 All backports created successfully

Status Branch Result
stable-4.0

Questions ?

Please refer to the Backport tool documentation

micbar avatar Dec 09 '25 11:12 micbar