-
Notifications
You must be signed in to change notification settings - Fork 384
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
Fix the location of the containerd state/root folders for Windows #764
Fix the location of the containerd state/root folders for Windows #764
Conversation
the ubuntu 18.04 image failed:
/retest |
I think my goss validation command is incorrect:
|
4be80c9
to
64811b9
Compare
exec: "\"/Program Files/containerd/containerd.exe\" config dump" | ||
exit-status: 0 | ||
stdout: | ||
- "sandbox_image = \"{{.Vars.pause_image}}\"" | ||
- "conf_dir = \"C:/etc/cni/net.d\"" | ||
- "bin_dir = \"C:/opt/cni/bin\"" | ||
- "root = \"C:\\\\ProgramData\\\\containerd\\\\root\"" |
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.
this is awkward due to the face that we have some forward slashs and some backward slashes. I opened #767 to track fixing this. The code it's self doesn't care but we should be consistent across the project
/assign @knabben |
@jsturtevant do you need help to test on vsphere? |
otherwise /lgtm |
I don't have a vsphere environment. Do you want to test it? The OVA job doesn't have a windows test in but maybe that could be an improvement in the test suite |
@jsturtevant sorry for the delay - finished testing it on vsphere /lgtm
.... goss ---
containerd
|
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.
/approve
/approve |
1 similar comment
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon, jsturtevant 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 |
What this PR does / why we need it:
The intent was to have the data folders (
state
androot
be inc:\programdata\containerd\
:image-builder/images/capi/ansible/windows/roles/runtimes/tasks/containerd.yml
Lines 31 to 33 in 196c549
but the didn't land there due to wrong config:
image-builder/images/capi/ansible/windows/roles/runtimes/templates/config.toml
Lines 15 to 16 in 196c549
This puts them in the correct location. This should be a non breaking change as it is not user facing but will be less confusing for an admin looking for these folders (right now there are in
c:\programdata\root
but there are folders inc:\programdata\containerd\
Which issue(s) this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): Fixes #
Additional context
Add any other context for the reviewers
/sig windows
/assign @perithompson