Bug 1375719

Summary: atomic install on non-Atomic OS always says too few arguments
Product: Red Hat Enterprise Linux 7 Reporter: Lokesh Mandvekar <lsm5>
Component: atomicAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: ajia, atomic-bugs, bbaude, dwalsh, jpazdziora
Target Milestone: rcKeywords: Extras, Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1374676 Environment:
Last Closed: 2016-11-04 09:06:52 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:

Comment 2 Lokesh Mandvekar 2016-09-13 20:29:13 UTC
*** Bug 1374676 has been marked as a duplicate of this bug. ***

Comment 5 Alex Jia 2016-09-18 09:10:57 UTC
Moving to VERIFIED per the following testing.

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

# rpm -q atomic docker
atomic-1.12.2-2.el7.x86_64
docker-1.10.3-46.el7.14.x86_64

# atomic install rhel7
Using default tag: latest
Trying to pull repository docker.io/library/rhel7 ... 
Pulling repository docker.io/library/rhel7
aec95d6d9287: Pull complete 
cf691ba41a0b: Pull complete 
Status: Downloaded newer image for docker.io/rhel7:latest
docker.io/library/rhel7: this image was pulled from a legacy registry.  Important: This registry version will not be supported in future versions of docker.

# atomic install rhel7/rsyslog
Using default tag: latest
Trying to pull repository docker.io/rhel7/rsyslog ... 
Pulling repository docker.io/rhel7/rsyslog
944b1abd7704: Pull complete 
3d494232110d: Already exists 
1d309a6934d4: Already exists 
Status: Downloaded newer image for docker.io/rhel7/rsyslog:latest
docker.io/rhel7/rsyslog: this image was pulled from a legacy registry.  Important: This registry version will not be supported in future versions of docker.
docker run --rm --privileged -v /:/host -e HOST=/host -e IMAGE=rhel7/rsyslog -e NAME=rsyslog rhel7/rsyslog /bin/install.sh

# atomic install registry.access.redhat.com/rhel7/sadc
Using default tag: latest
Trying to pull repository registry.access.redhat.com/rhel7/sadc ... 
latest: Pulling from registry.access.redhat.com/rhel7/sadc
30cf2e26a24f: Pull complete 
99dd41655d8a: Pull complete 
513ec6d6a644: Pull complete 
Digest: sha256:1c7d2fbf58a00d588eb0f4b39ff357d776c894e36d88b7964c4c7a6362d7d243
Status: Downloaded newer image for registry.access.redhat.com/rhel7/sadc:latest
docker run --rm --privileged --name sadc -v /:/host -e HOST=/host -e IMAGE=registry.access.redhat.com/rhel7/sadc -e NAME=name registry.access.redhat.com/rhel7/sadc /usr/local/bin/sysstat-install.sh
Installing over file /host//etc/cron.d/sysstat, new file placed in /host//etc/cron.d/sysstat.atomicnew
Installing file at /host//usr/local/bin/sysstat.sh

Comment 7 errata-xmlrpc 2016-11-04 09:06:52 UTC
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-2628.html