Bug 1417596
| Summary: | [GDEPLOY] Gdeploy --version throws Error: Package PyYAML not found on Rhel6 | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Manisha Saini <msaini> |
| Component: | gdeploy | Assignee: | Sachidananda Urs <surs> |
| Status: | CLOSED ERRATA | QA Contact: | Manisha Saini <msaini> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | rhgs-3.2 | CC: | amukherj, asriram, asrivast, bmohanra, rcyriac, rhinduja, rhs-bugs, smohan, srmukher, storage-qa-internal, surs |
| Target Milestone: | --- | ||
| Target Release: | RHGS 3.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| 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 04:17:38 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: | 1417147 | ||
|
Description
Manisha Saini
2017-01-30 11:39:56 UTC
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 |