Bug 1682986
| Summary: | Files provided by gluster-ansible-roles are missing after RHVH installation | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | SATHEESARAN <sasundar> |
| Component: | redhat-release-virtualization-host | Assignee: | Yuval Turgeman <yturgema> |
| Status: | CLOSED NOTABUG | QA Contact: | cshao <cshao> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.3.0 | CC: | cshao, dfediuck, huzhao, jikwang, lsurette, nlevy, qiyuan, ratamir, rhs-bugs, sabose, sankarshan, sasundar, sbonazzo, surs, weiwang, yaniwang, ycui, yturgema |
| Target Milestone: | ovirt-4.3.0 | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1682985 | Environment: | |
| Last Closed: | 2019-02-26 09:17:23 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1682985 | ||
|
Description
SATHEESARAN
2019-02-26 03:16:01 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
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. |