Description of problem: Displaying Gdeploy --version throws Error: Package PyYAML not found on Rhel6 Version-Release number of selected component (if applicable): # rpm -qa | grep gdeploy gdeploy-2.0.1-8.el6rhs.noarch How reproducible: Consistently Steps to Reproduce: 1.Install Gdeploy on Rhel 6 2.Check Gdeploy Version # gdeploy --version Error: Package PyYAML not found. Actual results: Version is not displayed due to PyYAML package missing Expected results: All Dependent Packages should be installed during gdeploy installation Additional info:
The workaround for this is- Install PyYAML package seperately which is available in rhel-6-server-rpms repo.
This is due to the missing dependency in the build spec file. Build spec file incorporated changes from: https://github.com/gluster/gdeploy/commit/6d31d9a
Verified this bug on # rpm -qa | grep gdeploy gdeploy-2.0.2-3.el6rhs.noarch # gdeploy --version Error: Ansible(>= 2.2) is not installed. Some of the features might not work if not installed. gdeploy 2.0.2 Installing: gdeploy noarch 2.0.2-3.el6rhs /gdeploy-2.0.2-3.el6rhs.noarch 2.5 M Installing for dependencies: PyYAML x86_64 3.10-3.1.el6 RH-6.9-Server 157 k libyaml x86_64 0.1.3-4.el6_6 RH-6.9-Server 52 k python-babel noarch 0.9.4-5.1.el6 RH-6.9-Server 1.4 M python-jinja2 x86_64 2.2.1-3.el6 RH-6.9-optional 466 k PyYAML package is now pulled in as dependent package while installing gdeply. Moving this bug to verified state
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-2017:2776