Mount /dev in cleanup job#60
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cofyc The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/assign @msau42
List of current e2e tests:
|
ff4c12d to
30d616b
Compare
| }) | ||
| jobContainer.VolumeMounts = append(jobContainer.VolumeMounts, apiv1.VolumeMount{ | ||
| Name: "dev", | ||
| MountPath: "/dev", |
There was a problem hiding this comment.
I'm assuming this doesn't have any issues if we override the container's /dev?
There was a problem hiding this comment.
No, to discover and cleanup we need to mount host /dev into provisioner and cleanup containers.
Potential issue is in certain docker setup program cannot start when host /dev is mounted into container, but provisioner cannot too.
There was a problem hiding this comment.
Can you add a comment with a link to the issue?
I assume mounting /dev somewhere else won't work because of symlink resolution issues?
There was a problem hiding this comment.
Updated.
I assume mounting /dev somewhere else won't work because of symlink resolution issues?
Yes
|
/lgtm |
Mount /dev in cleanup job
Uh oh!
There was an error while loading. Please reload this page.