Bug 1682986 - Files provided by gluster-ansible-roles are missing after RHVH installation
Summary: Files provided by gluster-ansible-roles are missing after RHVH installation
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: redhat-release-virtualization-host
Version: 4.3.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ovirt-4.3.0
: ---
Assignee: Yuval Turgeman
QA Contact: cshao
URL:
Whiteboard:
Depends On:
Blocks: 1682985
TreeView+ depends on / blocked
 
Reported: 2019-02-26 03:16 UTC by SATHEESARAN
Modified: 2019-02-27 12:13 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1682985
Environment:
Last Closed: 2019-02-26 09:17:23 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description SATHEESARAN 2019-02-26 03:16:01 UTC
Description of problem:
-----------------------
There are files provided by the gluster-ansible rpm which are placed under /usr/share/doc/gluster.ansible/ and those are missing post RHVH installation

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHVH 4.3 ISO -  RHVH-4.3-20190221.1-RHVH-x86_64-dvd1.iso 

How reproducible:
-----------------
Always

Steps to Reproduce:
--------------------
1. Install the latest RHVH 4.3 ISO
2. Check for files provided by gluster-ansible-roles under /usr/share/doc/gluster.ansible

Actual results:
---------------
Files provided by gluster-ansible-roles are missing.

Expected results:
-----------------
Files provided by gluster-ansible-roles should be available in RHVH

Comment 1 SATHEESARAN 2019-02-26 03:20:51 UTC
[root@r ~]# imgbase w
You are on rhvh-4.3.0.5-0.20190221.0+1

[root@ ~]# rpm -ql gluster-ansible-roles
/usr/share/doc/gluster.ansible
/usr/share/doc/gluster.ansible/README.md
/usr/share/doc/gluster.ansible/playbooks
/usr/share/doc/gluster.ansible/playbooks/README.md
/usr/share/doc/gluster.ansible/playbooks/cluster-cleanup
/usr/share/doc/gluster.ansible/playbooks/cluster-cleanup/cleanup_vars.yml
/usr/share/doc/gluster.ansible/playbooks/cluster-cleanup/volume_cleanup.yml
/usr/share/doc/gluster.ansible/playbooks/hc-ansible-deployment
/usr/share/doc/gluster.ansible/playbooks/hc-ansible-deployment/README
/usr/share/doc/gluster.ansible/playbooks/hc-ansible-deployment/gluster_inventory.yml
/usr/share/doc/gluster.ansible/playbooks/hc-ansible-deployment/hc_deployment.yml
/usr/share/doc/gluster.ansible/playbooks/hc-ansible-deployment/he_gluster_vars.json
/usr/share/doc/gluster.ansible/playbooks/hc-ansible-deployment/tasks
/usr/share/doc/gluster.ansible/playbooks/hc-ansible-deployment/tasks/add_hosts_storage_domains.yml
/usr/share/doc/gluster.ansible/playbooks/hc-ansible-deployment/tasks/gluster_cleanup.yml
/usr/share/doc/gluster.ansible/playbooks/hc-ansible-deployment/tasks/gluster_deployment.yml
/usr/share/doc/gluster.ansible/playbooks/hc-ansible-deployment/tasks/he_deployment.yml
/usr/share/licenses/gluster-ansible-roles-1.0.4
/usr/share/licenses/gluster-ansible-roles-1.0.4/LICENSE

[root@ ~]# tree  /usr/share/doc/gluster.ansible/
/usr/share/doc/gluster.ansible/
└── playbooks
    └── hc-ansible-deployment

2 directories, 0 files

[root@ ~]# tree /usr/share/doc/gluster.ansible/playbooks/
/usr/share/doc/gluster.ansible/playbooks/
└── hc-ansible-deployment

1 directory, 0 files

Comment 2 Yuval Turgeman 2019-02-26 06:29:37 UTC
RHVH is built with --exludedocs to minimize the size of the image, while gluster-ansible-roles installs to /usr/share/doc with the %doc directive on the roles directory.  Are you sure it's the right place to put those roles ? The ovirt roles for example are installed under /usr/share/ansible/roles.  Also, I see that gluster-ansible-features install its roles in /etc/ansible/roles (without %doc), and I'm not sure what the standard is, but perhaps it's better to keep the gluster roles in the same directory, without %doc of course - what do you think ?

Comment 3 SATHEESARAN 2019-02-26 08:50:36 UTC
(In reply to Yuval Turgeman from comment #2)
> RHVH is built with --exludedocs to minimize the size of the image, while
> gluster-ansible-roles installs to /usr/share/doc with the %doc directive on
> the roles directory.  Are you sure it's the right place to put those roles ?
> The ovirt roles for example are installed under /usr/share/ansible/roles. 
> Also, I see that gluster-ansible-features install its roles in
> /etc/ansible/roles (without %doc), and I'm not sure what the standard is,
> but perhaps it's better to keep the gluster roles in the same directory,
> without %doc of course - what do you think ?

It makes sense. Sachidananda is the developer working on this gluster-ansible-roles and
his thoughts also weighs more than mine.

Just requesting him to clear the required information

Comment 4 Sandro Bonazzola 2019-02-26 09:17:23 UTC
Closing as not abug for RHV-H being docs never included in RHV-H.

Comment 5 SATHEESARAN 2019-02-26 11:23:07 UTC
I have already cleared the needinfo on me with comment3


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