| Summary: | [docker-storage-setup] Change systemd unit file to create dependency on cloud-init | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Vivek Goyal <vgoyal> |
| Component: | docker | Assignee: | Vivek Goyal <vgoyal> |
| Status: | CLOSED WONTFIX | QA Contact: | atomic-bugs <atomic-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | amurdaca, dwalsh, jkhelil, lsm5, pasik, tsweeney |
| Target Milestone: | rc | Keywords: | Extras |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-06-09 21:12:25 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
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 Plz Ignore my last comment, this change is fixing my issue actually Vivek was this ever done? 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. |
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: