Bug 1387934
| Summary: | docker-storage-setup service deleted to break systemd ordering cycle | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dusty Mabe <dustymabe> |
| Component: | docker-storage-setup | Assignee: | Andy Grimm <agrimm> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 25 | CC: | agrimm, jgoulding, lnie |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-01 12:45:45 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: | |
| Embargoed: | |||
|
Description
Dusty Mabe
2016-10-23 22:53:35 UTC
Input from colin walters: """ I think this is due to: # grep After /usr/lib/systemd/system/docker-storage-setup.service After=cloud-final.service # grep ^After /usr/lib/systemd/system/cloud-final.service After=network-online.target cloud-config.service rc-local.service multi-user.target But docker.service wants docker-storage-setup.service, and multi-user.target wants docker.service. Hence we're trying to run d-s-s both before and after multi-user.target. I think the fix here is going to be changing the After=cloud-final.service in d-s-s to After=cloud-init-local.service or so. The main requirement here from my perspective is that cloud node users are able to configure d-s-s (and docker). Specifically to do things like enable overlayfs by default. If changing it to cloud-init-local.service is sufficient to use `bootcmd`, that may work. """ Here is a user-data workaround that can be used to put in walters' suggested fix and then get the docker service up and running: #cloud-config bootcmd: - sed s/After=cloud-final.service/After=cloud-init-local.service/ /usr/lib/systemd/system/docker-storage-setup.service > /etc/systemd/system/docker-storage-setup.service - systemctl daemon-reload - systemctl start --no-block docker.service *** Bug 1388000 has been marked as a duplicate of this bug. *** PR was merged and a new docker package with the update was pushed to stable in: https://bodhi.fedoraproject.org/updates/FEDORA-2016-0ed0314ad7 |