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 1391308 - Document details of atomic host command in non-atomic host machines
Summary: Document details of atomic host command in non-atomic host machines
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: atomic
Version: 7.4
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: rc
: ---
Assignee: Lokesh Mandvekar
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-03 02:05 UTC by Alex Jia
Modified: 2020-05-05 14:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-05 14:32:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alex Jia 2016-11-03 02:05:19 UTC
Description of problem:
We don't support atomic host command in non-atomic host machines, but I haven't tell users about this in man page.

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

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.3 (Maipo)

# rpm -q atomic
atomic-1.13.5-1.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. atomic host -h
2. man atomic-host


Actual results:


Expected results:


Additional info:

Comment 2 Daniel Walsh 2016-11-04 11:28:36 UTC
https://github.com/projectatomic/atomic/pull/746 fixes this bug

Comment 3 Alex Jia 2017-05-26 01:07:17 UTC
<atomic_host_manpage>
NAME
       atomic-host - Manage Atomic Host Commands

SYNOPSIS
       atomic host [OPTIONS] COMMAND

       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 on Atomic Host Systems.

...
</atomic_host_manpage>

[root@dell-per630-02 ~]# atomic host
atomic: invalid choice: 'host' (choose from 'containers', 'diff', 'help', 'images', 'info', 'install', 'mount', 'pull', 'push', 'upload', 'run', 'scan', 'sign', 'stop', 'storage', 'migrate', 'top', 'trust', 'uninstall', 'unmount', 'umount', 'update', 'verify', 'version')
Try 'atomic --help' for more information.


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