Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1448800 - Docker service should not be started while starting atomic-openshift-node service if docker is installed as system container
Docker service should not be started while starting atomic-openshift-node ser...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.6.0
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Steve Milner
Gan Huang
:
Depends On: 1448372
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-08 04:11 EDT by Gan Huang
Modified: 2017-08-16 15 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-10 01:23:08 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1716 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.6 RPM Release Advisory 2017-08-10 05:02:50 EDT

  None (edit)
Description Gan Huang 2017-05-08 04:11:11 EDT
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:
Comment 1 Steve Milner 2017-05-09 10:46:19 EDT
PR: https://github.com/openshift/openshift-ansible/pull/4131
Comment 2 Steve Milner 2017-05-10 21:06:15 EDT
Merged.
Comment 4 Gan Huang 2017-05-15 02:25:48 EDT
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-->
Comment 6 errata-xmlrpc 2017-08-10 01:23:08 EDT
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

Note You need to log in before you can comment on or make changes to this bug.