Bug 1390765 - [docker-storage-setup] Change systemd unit file to create dependency on cloud-init
Summary: [docker-storage-setup] Change systemd unit file to create dependency on cloud...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: docker
Version: 7.3
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Vivek Goyal
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-01 21:19 UTC by Vivek Goyal
Modified: 2020-06-09 21:12 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-09 21:12:25 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Vivek Goyal 2016-11-01 21:19:23 UTC
Description of problem:

We need to change docker-sotrage-setup systemd unit file to create following
dependency.

-After=cloud-final.service
+After=cloud-init.service

This is the change introduced by upstream commit.

commit 308c5e37223e54072a6b4be1dd8998aad7e91e65
Author: Colin Walters <walters>
Date:   Mon Oct 24 11:52:31 2016 -0400

    systemd: Order After=cloud-init.service, not cloud-final

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 jawed 2017-02-02 12:27:24 UTC
Hi
I am not able to install docker from cloud-init with this change, because of circular dependency,:
cloud init is installing and launching docker, which wants docker-storage which should be launched after cloud init
I am using these packages
[root@ansible-runner ~]# yum list installed | grep docker
docker.x86_64                    1.10.3-46.el7.14           @rhel7-extras       
docker-common.x86_64             1.10.3-46.el7.14           @rhel7-extras       
docker-rhel-push-plugin.x86_64   1.10.3-46.el7.14           @rhel7-extras       
docker-selinux.x86_64            1.10.3-46.el7.14           @rhel7-extras 

root@ansible-runner ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.2 (Maipo)
[root@ansi

Comment 3 jawed 2017-02-02 14:29:40 UTC
Plz Ignore my last comment, this change is fixing my issue actually

Comment 4 Daniel Walsh 2017-06-30 15:59:14 UTC
Vivek was this ever done?

Comment 5 Tom Sweeney 2020-06-09 21:12:25 UTC
We have no plans to ship another version of Docker at this time. RHEL7 is in final support stages where only security fixes will get released.  Customers should move to use Podman which is available starting in RHEL 7.6.


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