Bug 1386519

Summary: /usr/bin/python2: symbol lookup error: /lib64/libostree-1.so.1: undefined symbol: g_file_enumerator_iterate
Product: Red Hat Enterprise Linux 7 Reporter: Alex Jia <ajia>
Component: ostreeAssignee: Colin Walters <walters>
Status: CLOSED NEXTRELEASE QA Contact: atomic-bugs <atomic-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.4CC: gscrivan, walters
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-19 13:44:22 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: 1342055    

Description Alex Jia 2016-10-19 07:40:50 UTC
Description of problem:
The current atomic commands doesn't work, because the ostree-2016.10-1.atomic.el7.x86_64 doesn't include symbol 'g_file_enumerator_iterate', We need to request a new ostree package and include g_file_enumerator_iterate.

Version-Release number of selected component (if applicable):
# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.2 (Maipo)

# rpm -q atomic docker skopeo
atomic-1.13.1-1.el7.x86_64
docker-1.12.2-5.el7.x86_64
skopeo-0.1.17-0.4.git550a480.el7.x86_64


How reproducible:
always

Steps to Reproduce:
1. atomic images list


Actual results:

# atomic images list
/usr/bin/python2: symbol lookup error: /lib64/libostree-1.so.1: undefined symbol: g_file_enumerator_iterate

Expected results:


Additional info:

Comment 2 Alex Jia 2016-10-19 10:29:23 UTC
# nm -nAD /lib64/libostree-1.so.1|grep g_file_enumerator_iterate
/lib64/libostree-1.so.1:                 U g_file_enumerator_iterate

Comment 3 Alex Jia 2016-10-19 10:40:47 UTC
Hi Colin, Could you help see this bug? or any workarround for running atomic CLI. thanks.

Comment 4 Giuseppe Scrivano 2016-10-19 13:00:47 UTC
How did you install ostree on RHEL-7.2?  If you install it manually, please ensure all the dependencies are satisfied.

The version of glib on RHEL 7.2 has not the `g_file_enumerator_iterate` function, while it should work on RHELAH (check for it in /lib64/libgio-2.0.so.0 not /lib64/libostree-1.so.1).

atomic detects when ostree is not installed, as should be the case on RHEL, and not allow to use system containers.

Comment 5 Colin Walters 2016-10-19 13:44:22 UTC
You need to update to the version of glib from 7.3, which Atomic Host includes.