Bug 1399857

Summary: Depend on gomtree or back it out
Product: Red Hat Enterprise Linux 7 Reporter: Colin Walters <walters>
Component: atomicAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: ajia, bbaude, bbreard, dwalsh, imcleod, jhonce, lsm5, mmcgrath, walters, yruseva
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
The `gomtree` package provides the functionality behind the `atomic verify` command. However, `gomtree` is not a dependency for `atomic`. It is included in the 7.3.1 OSTree, but because of the missing dependency, on Red Hat Enterprise Linux, you will have to install it manually along with the `atomic` packages. This bug will be fixed in the next release of Red Hat Enterprise Linux Atomic Host.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-17 20:47:41 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 Colin Walters 2016-11-29 22:35:37 UTC
Right now we're only shipping gomtree by default on atomic host, which seems weird.  It should be a dependency of the atomic command, or we should not ship it on AH only.

Comment 5 Yoana Ruseva 2016-12-06 18:00:55 UTC
Hi Colin, can I use the explanation in the Doc Text field for the 7.3.1 release?

Comment 6 Colin Walters 2016-12-06 18:44:50 UTC
Yes, thanks.

Comment 7 Ian McLeod 2016-12-13 18:18:39 UTC
Lokesh, this seems to be fixed in the latest dist-git SPEC file, can you confirm and close this out if true?

Comment 9 Alex Jia 2017-01-05 08:17:23 UTC
gomtree is a dependency for atomic now.

[root@atomic-00 cloud-user]# rpm -q atomic
atomic-1.14.1-5.el7.x86_64

[root@atomic-00 cloud-user]# rpm -qiR atomic | grep gomtree
gomtree

Comment 10 Alex Jia 2017-01-05 08:26:36 UTC
In RHEL7.2.

[ajia@dhcp-2-50 atomic]$ cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.2 (Maipo)

[ajia@dhcp-2-50 atomic]$ sudo rpm -ivh atomic-1.14.1-5.el7.x86_64.rpm 
[sudo] password for ajia: 
error: Failed dependencies:
	gomtree is needed by atomic-1:1.14.1-5.el7.x86_64
	skopeo >= 1:0.1.17-1 is needed by atomic-1:1.14.1-5.el7.x86_64
	skopeo-containers >= 1:0.1.17-1 is needed by atomic-1:1.14.1-5.el7.x86_64

Comment 11 Lokesh Mandvekar 2017-01-05 13:59:58 UTC
Can you try this on 7.3.1 or newer please? gomtree isn't present on 7.2, and also not in 7.3.0 IIRC.

Comment 12 Alex Jia 2017-01-06 10:07:56 UTC
(In reply to Lokesh Mandvekar from comment #11)
> Can you try this on 7.3.1 or newer please? gomtree isn't present on 7.2, and
> also not in 7.3.0 IIRC.

Yes, I just want to show gomtree is indeed a dependency of atomic in Comment 10.

Comment 14 errata-xmlrpc 2017-01-17 20:47:41 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-2017-0124.html