-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UATs cannot run in a remote node due to PVC hostpath #65
Comments
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5473.
|
Proposed solutionUsing files in a volume mounted to a local path is not possible when a pod in a remote node needs to access those. Thus, we should enable UATs to be able run in two different modes Run tests from local copyThis is essentially what we are doing right now. The job created runs the tests from a volume mounted to the local copy of ImplementationFor any environment, the user needs to append
Run tests from a remote branch(see next comment for update) ImplementationIn this case, the user needs to append
|
Remove `branch` option and automatically grab currently checked out commit and use that for remote. Details in #65
Remove `branch` option and automatically grab currently checked out commit and use that for remote. Details in #65
Remove `branch` option and automatically grab currently checked out commit and use that for remote. Details in #65
Proposed solution (update)Run tests from remote commitInstead of allowing the user to define the remote branch they wish to run tests from, tests will automatically grab the currently checked out commit of the local
|
Enable tests to run either: * from a remote commit of `charmed-kubeflow-uats` repository. This automatically grabs and uses the currently checked out commit of the local repository. * directly from the local copy of the repository. Closes #65
Bug Description
UATs run by creating a job. This job creates a pod and a pvc which they mount to a local hostpath. That means that when the job and pod is scheduled to a remote node, where the
uats
repo is not available or it is in a different path than the one mounted, the UATs will fail, since the mounted path doesn't exist or it doesn't contain the expected files.test-kubeflow-<hash>
pod created, logs the followingTo Reproduce
This can be reproduced by connecting to a remote cluster where CKF is deployed (e.g. AKS or EKS) and then trying to run kubeflow UATs (with
tox -e kubeflow
)Environment
AKS/EKS
Juju 3.4
tox 4.14.1
Relevant Log Output
Additional Context
No response
The text was updated successfully, but these errors were encountered: