Bug 1346942

Summary: atomic shouldn't depend on ostree at runtime if ostree isn't installed
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: high Docs Contact: Yoana Ruseva <yruseva>
Priority: high    
Version: 7.2CC: ajia, atomic-bugs
Target Milestone: rcKeywords: Extras, TestBlocker, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: atomic-1:1.10.5-5.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1343939 Environment:
Last Closed: 2016-06-23 16:22:05 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:
Bug Depends On:    
Bug Blocks: 1311544, 1315369, 1323934    

Description Lokesh Mandvekar 2016-06-15 17:09:19 UTC
+++ This bug was initially created as a clone of Bug #1343939 +++

--- Additional comment from Lokesh Mandvekar on 2016-06-15 10:52:57 CDT ---

with the build currently in errata, I'm seeing this:

$ sudo atomic images
global name 'OSTree' is not definedn

Comment 4 Alex Jia 2016-06-16 04:59:06 UTC
I can't reproduce the bug in atomic-1.10.5-[2|3], I also gave a try w/ atomic-1.10.5-5 on rhelah 7.2.5(5b82b4035f), atomic images works well w/o any error, so moving the bug to VERIFIED status.

[cloud-user@atomic-host-001 ~]$ sudo ostree admin status
* rhel-atomic-host 5b82b4035f1920ceb0e31996aa627d8c975d7436260e5538d71728f43f34dfa6.0
    Version: 7.2.5
    Unlocked: hotfix
    origin refspec: rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard
  rhel-atomic-host 5b82b4035f1920ceb0e31996aa627d8c975d7436260e5538d71728f43f34dfa6.1
    Version: 7.2.5
    origin refspec: rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard

[cloud-user@atomic-host-001 ~]$ rpm -q atomic skopeo docker
atomic-1.10.5-5.el7.x86_64
skopeo-0.1.13-5.el7.x86_64
docker-1.10.3-40.el7.x86_64

[cloud-user@atomic-host-001 ~]$ sudo atomic images

  REPOSITORY                                                           TAG      IMAGE ID       CREATED            VIRTUAL SIZE      
> registry.access.redhat.com/rhel7.2                                   latest   sha256:bf203   2016-05-05 16:43   203.43 MB

Comment 6 errata-xmlrpc 2016-06-23 16:22:05 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://access.redhat.com/errata/RHBA-2016:1273