Bug 1734778
| Summary: | LVM cache feature not possible with ansible-2.8 | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | SATHEESARAN <sasundar> | |
| Component: | rhhi | Assignee: | Sahina Bose <sabose> | |
| Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | rhhiv-1.6 | CC: | godas, rhs-bugs | |
| Target Milestone: | --- | Keywords: | ZStream | |
| Target Release: | RHHI-V 1.6.z Async Update | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: |
LVM cache configuration did not work with Ansible 2.8 because of changes to expected values for 'pvs' in the configuration file. This has been updated so that the correct syntax is used.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1738502 (view as bug list) | Environment: | ||
| Last Closed: | 2019-10-03 12:24:01 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: | 1738502 | |||
| Bug Blocks: | ||||
|
Description
SATHEESARAN
2019-07-31 12:17:01 UTC
As a workaround for this issue, Sachi has suggested to have the disk in the VG also as input along with cache disk
<snip>
Now since version 2.8 the behavior has changed, where all the existing pvs which which were part of volume group has to be provided. Like:
- name: Extend volume group
lvg:
state: present
vg: foo_vg
pvs: "/dev/sdb,/dev/sdc"
pv_options: "--dataalignment 256K"
</snip>
Gobinda already has a patch that settles the issue[1] where the LV cache will be attached to the specific thinpool, along with that patch, it will be easily deducible to find the PV of the VG. With that information, ansible vars file could be having both the disks PV of that VG, and also the cache disk [1] - https://bugzilla.redhat.com/show_bug.cgi?id=1721451 Verified with cockpit-ovirt-dashboard-0.13.6 LVM cache code takes care of the problem now. When the cache is created on 'sdc' to cache the contents of thinpool on 'sdb', then the cache value in the generated vars file becomes - '/dev/sdb,/dev/sdc' as per expectation 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-2019:2963 |