You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ownership changes like this is unexpected.
Prior ownership issues are due to UID of the user changing because UID was not fixed.
This case, UID of user is the same, and we have SCC to force this, but restored file UID/GID appears to have been changed during backup/restore process.
Looks like a new feature introduced in 0.6.0 called moverSecurityContext . Last working version where mysql data mover restore was successful was with 0.5.2 volsync.
This was merged as an option into DPA 3 weeks ago. We need to enable this in e2e.
e2e periodics for 1.1 have been failing consistently for mysql data mover ever since release v0.6.0 of volsync
because we have not been pinning volsync version in e2e.
After enabling MoverSecurityContext, this is the result after restore.
specifying pod.spec.container[].securityContext level is not sufficient. pod.spec.securityContext needs to be specified too.. this would be problematic for multi-container pods with each having different UID/GID
e2e is working for mysql data mover locally with these changes
TL;DR: Volsync release 0.6.0 changed UID/GID handling of restored files and broke mysql data mover e2e, and we might be able to work around it for e2e, but there could be customer workloads where multiple UID/GID is used within a single pod not specified via pod’s securityContext moverContext enabled alone may not be sufficient for some workloads.
The text was updated successfully, but these errors were encountered:
kaovilai
changed the title
Per container security context discovery for MoverSecurityContext
OADP-1663 Per container security context discovery for MoverSecurityContext
Apr 18, 2023
We should discover securityContext to pass to volsync per container that mount those volumes if possible rather than per pod securityContext.
The text was updated successfully, but these errors were encountered: