syscontainers: fix CRI-O and container-engine installation#6316
syscontainers: fix CRI-O and container-engine installation#6316sdodson merged 7 commits intoopenshift:masterfrom
Conversation
| l_crio_registries: "{{ l2_docker_additional_registries + ['docker.io'] }}" | ||
| - set_fact: | ||
| l_additional_crio_registries: "{{ '\"{}\"'.format('\", \"'.join(l_crio_registries)) }}" | ||
| l_is_node_system_container: "{{ (openshift_use_node_system_container | default(openshift_use_system_containers | default(false)) | bool) }}" |
There was a problem hiding this comment.
There is no need to use set_fact here.
We could do the same exact line in defaults/main.yml
|
if you are already addressing this issue in your PR, I am fine to close this one. I don't want to create merge conflicts for such a trivial change :-) The only reason I've opened this PR is that the installation was failing for me, as |
|
@giuseppe I'm hoping to merge my PR by tomorrow. If it doesn't ship, I can merge this one and rebase, not a big deal. |
e5c86ff to
872accf
Compare
|
/retest |
|
@michaelgugino I've done the change you requested |
872accf to
2393ccb
Compare
|
/test logging |
2393ccb to
25d8a2e
Compare
|
I've pushed more patches to this PR to address also some other issues. I've not opened a new PR since the patch already present here is necessary as well. |
|
@michaelgugino PTAL |
d17945e to
6807ee7
Compare
| - cloud | ||
| dependencies: | ||
| - role: lib_utils | ||
| - role: container_runtime |
There was a problem hiding this comment.
Please checkout my other patch to see the general direction that we're moving.
Container runtime will be setup as a prerequisite before openshift is deployed. It cannot be a meta-dependency of any other role.
| dependencies: | ||
| - role: lib_utils | ||
| - role: container_runtime | ||
| - role: openshift_facts |
There was a problem hiding this comment.
Not sure this is necessary here.
There was a problem hiding this comment.
I tried without openshift_facts and it was still failing
There was a problem hiding this comment.
I'm happy to openshift_facts here if you like, that's not really going to change anything in this role, and it's essentially a 0 task import.
| return string.split(separator) | ||
|
|
||
|
|
||
| def oo_list_to_dict(lst, separator='='): |
There was a problem hiding this comment.
Let's not do this. Let's have the user give us a dictionary and create a new variable. Since this isn't actually used by docker, no need to re-use docker's variables.
There was a problem hiding this comment.
This is used by docker. it is used by daemon.json is the template for /etc/docker/container-daemon.json which is used by docker when running in a container. So in this case log-opts is exactly the same as openshift_docker_log_options
There was a problem hiding this comment.
Okay, that sounds good then. I think in the future we should do the reverse, we've talked about the current inflexibility of the docker options as impemented. I think it would be better as a list of kv pairs, and we convert a deprecated list k=v.
951ae60 to
d7d7869
Compare
|
@sdodson @ingvagabund could we enable container-engine in the system-containers CI tests (should be enough to |
|
close and reopen, I think the CI was using the old job definition for crio. |
|
Close/reopen again. Updated tests weren't pushed yet, so the crio options for ansible playbook were still missing. Should be present now. |
|
This is the last missing piece: #6394 If someone wants to review that and merge it, it should unblock crio. |
|
/retest |
Oddly enough CI says it's still running. I'll rebase this PR while @giuseppe is AFK. |
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
change introduced with 39cf508 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
b8065ce to
40d63b7
Compare
|
@ashcrow thanks. I've just pushed a rebased version ⬆️ |
|
Merging based on the previously green tests and the fact that this has only been rebased. Not having this merged is blocking other work. |
|
@giuseppe: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
The CRI-O and Origin CI is still failing, right now with rpmbuild of openshift origin release |
Automatic merge from submit-queue. Remove container_runtime from the openshift_version We meant to remove this before merging #6316
|
Is seems this merge has caused regressions #6464. |
Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com