Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1417596 - [GDEPLOY] Gdeploy --version throws Error: Package PyYAML not found on Rhel6
[GDEPLOY] Gdeploy --version throws Error: Package PyYAML not found on Rhel6
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: gdeploy (Show other bugs)
3.2
Unspecified Unspecified
medium Severity unspecified
: ---
: RHGS 3.3.0
Assigned To: Sachidananda Urs
Manisha Saini
:
Depends On:
Blocks: 1417147
  Show dependency treegraph
 
Reported: 2017-01-30 06:39 EST by Manisha Saini
Modified: 2017-09-21 00:17 EDT (History)
11 users (show)

See Also:
Fixed In Version: gdeploy-2.0.1-2
Doc Type: Bug Fix
Doc Text:
Previously, checking for the gdeploy version would end up exiting if PyYAML package was not installed. Now PyYAML package check is not done for commands like --version or -- help.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-09-21 00:17:38 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2776 normal SHIPPED_LIVE gdeploy bug fix and enhancement update for RHEL6 2017-09-21 04:16:15 EDT

  None (edit)
Description Manisha Saini 2017-01-30 06:39:56 EST
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:
Comment 2 Manisha Saini 2017-01-30 07:13:32 EST
The workaround for this is-

Install PyYAML package seperately which is available in rhel-6-server-rpms repo.
Comment 4 Sachidananda Urs 2017-02-17 02:11:13 EST
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
Comment 7 Manisha Saini 2017-04-14 04:11:14 EDT
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
Comment 12 errata-xmlrpc 2017-09-21 00:17:38 EDT
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

Note You need to log in before you can comment on or make changes to this bug.