-
Notifications
You must be signed in to change notification settings - Fork 119
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
Add registry volume during provision #703
Conversation
/retest |
@fgimenez I know we talked about this already but I am still confused. I think one key point is that I only want this to be a volume to not write into the container overlay. Why do I now have to care about the specific location? maybe it just needs the rw mode extra passed? |
@rmohr In fact we have a I agree that having to specify the path of the bind mount is a pain, will try to create the volume during provision (same as we do with |
2d49141
to
f6528c6
Compare
@rmohr changes pushed to create the registry volume during provision as we do with |
Awesome. I guess all this confusion comes from the fact that we add the volumes and then snapshot the container during provision. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rmohr changes pushed to create the registry volume during provision as we do with /var/run/disk, tested with quay.io/kubevirtci/gocli:podman-test19 and quay.io/kubevirtci/k8s-1.20:podman-test19 and works fine PTAL
/lgtm
/approve
/hold
Could you do one final check with docker
if the volumes are also there created as expected? If that looks fine to, feel free to unhold.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rmohr The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/unhold thanks @rmohr tested successfully with docker, log here https://gist.github.com/fgimenez/87dfa36106d7a1b4b841bcae27188dc0 |
[986fdd4 Add registry volume during provision](kubevirt/kubevirtci#703) [827961b network, multus: remove multus delegate config](kubevirt/kubevirtci#704) [0528698 Fix deploy-manifests (exclude ip-reconciler pod)](kubevirt/kubevirtci#706) ```release-note NONE ``` Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
Will prevent errors like https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/logs/periodic-kubevirt-e2e-k8s-1.21-sig-network/1458811162673025024#1:build-log.txt%3A789, using podman as the container runtime makes the registry volume being mounted as readonly, this is the result of an inspect on the container created with the current version of gocli:
Using a bind mount instead gives:
/cc @rmohr @dhiller
Signed-off-by: Federico Gimenez fgimenez@redhat.com