Description of problem: Docker service would be started while starting atomic-openshift-node service due to Docker service is a dependence of atomic-openshift-node service. Version-Release number of selected component (if applicable): openshift-ansible-3.6.53-1.git.0.03f33da.el7.noarch How reproducible: always Steps to Reproduce: 1. Trigger the installation using docker system container #cat inventory_hosts <--snip--> openshift_docker_use_system_container=True openshift_docker_systemcontainer_image_registry_override=test.registry.xxx.com/rhel7/ 2. Restart atomic-openshift-node service after installation Actual results: Docker service would be started while restarting atomic-openshift-node service This is because Docker service is still a dependence of atomic-openshift-node service: # cat /usr/lib/systemd/system/atomic-openshift-node.service [Unit] Description=Atomic OpenShift Node After=docker.service After=openvswitch.service Wants=docker.service Documentation=https://github.com/openshift/origin <--snip--> Expected results: Docker service shouldn't be started if using docker system container as docker is wrapped as `container-engine` service. Additional info:
PR: https://github.com/openshift/openshift-ansible/pull/4131
Merged.
Verified with openshift-ansible-3.6.68-1.git.0.9cbe2b7.el7.noarch.rpm /usr/lib/systemd/system/atomic-openshift-node.service is referencing correct service type. # cat /etc/systemd/system/atomic-openshift-node.service [Unit] After=atomic-openshift-master.service After=container-engine.service After=openvswitch.service PartOf=container-engine.service Requires=container-engine.service Requires=openvswitch.service After=ovsdb-server.service After=ovs-vswitchd.service Wants=atomic-openshift-master.service Requires=atomic-openshift-node-dep.service After=atomic-openshift-node-dep.service <--snip-->
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/RHEA-2017:1716