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
[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
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 ?
(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
Closing as not abug for RHV-H being docs never included in RHV-H.
I have already cleared the needinfo on me with comment3