RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1479429 - atomic install --system does not work without docker
Summary: atomic install --system does not work without docker
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: atomic
Version: 7.6
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Brent Baude
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-08 14:32 UTC by carl.pettersson
Modified: 2021-01-15 07:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-15 07:40:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description carl.pettersson 2017-08-08 14:32:51 UTC
Description of problem:
As discussed on IRC.
If the docker daemon is not running, and cannot start, running atomic install --system fails with the error "The docker daemon does not appear to be running". Modifying /bin/atomic to print a stacktrace gives this output: https://gist.github.com/carlpett/3b2cf53a4b3c87e74a75030b61a4fb9e. 

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

# cat /etc/os-release
NAME="CentOSDev Atomic Host"
VERSION="7.2017.382 (Devel)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOSDev Atomic Host 7.2017.382 (Devel)"
ANSI_COLOR="0;31"
HOME_URL="https://wiki.centos.org/SpecialInterestGroup/Atomic/Download/"
BUG_REPORT_URL="https://bugs.centos.org/"
VARIANT="Atomic Host"
VARIANT_ID=atomic.host
OSTREE_VERSION=7.2017.382


How reproducible:
100%

Steps to Reproduce:
1. Edit docker sysconfig so docker does not start, for example set DOCKER_STORAGE_OPTIONS="this-will-trigger-error" in /etc/sysconfig/docker-storage
2. atomic install --storage=ostree --system --system-package=no ...


Actual results:
"The docker daemon does not appear to be running"

Expected results:
Installation proceeds as normal

Additional info:
Tested on latest Fedora 26-Atomic image and could not reproduce.

Comment 2 carl.pettersson 2017-08-08 14:33:58 UTC
Also tested on latest Centos Atomic image before bumping to smoketested, same results.

Comment 3 carl.pettersson 2017-08-08 14:41:06 UTC
After some more testing, it appears the docker config does _not_ need to be broken, it is sufficient to just do systemctl stop docker.

Comment 4 Daniel Walsh 2017-08-08 14:43:57 UTC
Brent this might already be fixed in the latest atomic.

Comment 5 Brent Baude 2017-08-08 15:19:03 UTC
what version of atomic is this on?

Comment 6 carl.pettersson 2017-08-08 15:23:52 UTC
These are the two versions I tested on:

# rpm-ostree status
State: idle
Deployments:
● centos-atomic-continuous:centos-atomic-host/7/x86_64/devel/smoketested
                Version: 7.2017.382 (2017-06-01 23:23:33)
                 Commit: e5df0bc2f2ac723d376a1c0ca94dd3a405c9ed60490b712021b3ee03b73373de

  centos-atomic-host:centos-atomic-host/7/x86_64/standard
                Version: 7.1706 (2017-07-06 16:32:44)
                 Commit: 4620e591a76a44b624f6526bc6e8222d6db8de111e504ea50bbb544cd904a040
           GPGSignature: 1 signature
                         Signature made Thu 06 Jul 2017 04:33:03 PM UTC using RSA key ID F17E745691BA8335
                         Good signature from "CentOS Atomic SIG <security>"

Comment 7 Brent Baude 2017-08-08 15:56:29 UTC
sorry, i meant rpm -q atomic

Comment 8 carl.pettersson 2017-08-08 16:26:56 UTC
Oh, sorry about that. Here's the atomic of the deployed version:
atomic-1.17.2-4.git2760e30.el7.x86_64

Comment 10 RHEL Program Management 2021-01-15 07:40:55 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


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