Bug 1341923
| Summary: | error: Message did not receive a reply (timeout by message bus) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Alex Jia <ajia> |
| Component: | atomic | Assignee: | Brent Baude <bbaude> |
| Status: | CLOSED ERRATA | QA Contact: | atomic-bugs <atomic-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.4 | CC: | dwalsh, walters |
| Target Milestone: | rc | Keywords: | Extras |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-12-06 17:41:39 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
Alex Jia
2016-06-02 03:50:15 UTC
Right now starting rpm-ostreed errors out if `/ostree/repo` doesn't exist (it used to crash). We should change it to actually run I think, but also in the meantime, change the atomic command to detect whether `/ostree` exists and if not, say "No /ostree detected, not an Atomic Host system"? Currently atomic checks for the existence of /usr/bin/rpm-ostree and then addes the host commands, I am changing it to check
if os.path.exists("/usr/bin/rpm-ostree") and os.path.exists("/ostree"):
With that change you would get.
./atomic host status
atomic: invalid choice: 'host' (choose from 'diff', 'help', 'info', 'install', 'images', 'mount', 'push', 'upload', 'pull', 'scan', 'ps', 'stop', 'run', 'storage', 'migrate', 'top', 'uninstall', 'unmount', 'umount', 'update', 'version', 'verify')
Fixed in atomic-1.12 (In reply to Daniel Walsh from comment #3) > Currently atomic checks for the existence of /usr/bin/rpm-ostree and then > addes the host commands, I am changing it to check > > > if os.path.exists("/usr/bin/rpm-ostree") and os.path.exists("/ostree"): > > With that change you would get. > > ./atomic host status > atomic: invalid choice: 'host' (choose from 'diff', 'help', 'info', > 'install', 'images', 'mount', 'push', 'upload', 'pull', 'scan', 'ps', > 'stop', 'run', 'storage', 'migrate', 'top', 'uninstall', 'unmount', > 'umount', 'update', 'version', 'verify') well, the host command has been removed from atomic commands in RHEL7 system, but the man page still exists, I think it's not a big deal. Colin, is it okay for you? if so, I will move the bug to VERIFIED status. That's the expected result currently. (In reply to Colin Walters from comment #8) > That's the expected result currently. Thanks Colin. man atomic host
This command is a high-level wrapper for the underlying rpm-ostree tool
which can perform upgrades, rollbacks, and system state inspection. It
is used for implementations of the Project Atomic Host pattern.
#NOTE The host subcommand is only available when rpm-ostree is
installed.
We should open a bug on the man page to expand the description on it not being available on non-atomic host machines.
(In reply to Daniel Walsh from comment #10) > We should open a bug on the man page to expand the description on it not > being available on non-atomic host machines. The bug 1391308 is used for tracking man page issue. 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://rhn.redhat.com/errata/RHBA-2016-2857.html |