opencloud
opencloud copied to clipboard
fix: enhance resource creation with detailed process information
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):
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
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
only flaky tests fail, can be merged anyway
💚 All backports created successfully
| Status | Branch | Result |
|---|---|---|
| ✅ | stable-4.0 |
Questions ?
Please refer to the Backport tool documentation