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:


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.