Description of problem: Trying to install a cri-o only node installs docker as well even if the variables are configured as: openshift_use_crio_only: true openshift_use_crio: true The issue is the /roles/openshift_node/defaults/main.yml requires 'cockpit-docker' to be installed. Version-Release number of the following components: [cloud-user@shiftstack-ansibler ~]$ rpm -q openshift-ansible openshift-ansible-3.11.16-1.git.0.4ac6f81.el7.noarch [cloud-user@shiftstack-ansibler ~]$ rpm -q ansible ansible-2.6.5-1.el7ae.noarch [cloud-user@shiftstack-ansibler ~]$ ansible --version ansible 2.6.5 config file = /home/cloud-user/ansible.cfg configured module search path = [u'/home/cloud-user/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible python version = 2.7.5 (default, May 31 2018, 09:41:32) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] How reproducible: Install some node with cri-o as explained before Steps to Reproduce: 1. 2. 3. Actual results: cockpit-docker is installed then docker as well as dependency Expected results: cockpit-docker is not installed, neither docker Additional info:
Just in case: rpm -qR cockpit-docker /usr/bin/docker /usr/lib/systemd/system/docker.service cockpit-bridge >= 122 cockpit-shell >= 122 python2 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1
Thanks, the workaround would be to disable cockpit. osm_use_cockpit=false Since this is removed from the product in 4.0 and 3.11 has already shipped I don't see us fixing this.
I'm not sure if that's enough as the cockpit-docker package is in the 'default_r_openshift_node_image_prep_packages' variable in https://github.com/openshift/openshift-ansible/blob/master/roles/openshift_node/defaults/main.yml#L69
Just in case I've created this PR https://github.com/openshift/openshift-ansible/pull/10501
https://github.com/openshift/openshift-ansible/pull/10524 release-3.11 backport
Verified with configuration: openshift_use_crio_only: true openshift_use_crio: true osm_use_cockpit=false openshift-ansible version: openshift-ansible-docs-3.11.38-1.git.0.d146f83.el7.noarch.rpm # rpm -qR cockpit-docker package cockpit-docker is not installed
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3537