RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2072746 - storage - support for attaching cache volumes to existing volumes
Summary: storage - support for attaching cache volumes to existing volumes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: rhel-system-roles
Version: 9.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: 9.1
Assignee: Rich Megginson
QA Contact: ChanghuiZhong
Michal Stubna
URL:
Whiteboard: role:storage
Depends On: 2055200 2066881
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-06 21:50 UTC by David Lehman
Modified: 2022-11-15 11:23 UTC (History)
7 users (show)

Fixed In Version: rhel-system-roles-1.19.3-1.el9
Doc Type: Enhancement
Doc Text:
.Better support for cached volumes is available in the `storage` RHEL System Role The `storage` RHEL System Role can now attach cache to existing LVM logical volumes. LVM cache can be used to improve performance of slower logical volumes by temporarily storing subsets of an LV's data on a smaller, faster device, for example an SSD. This enhances the previously added support for creating cached volumes by allowing adding (attaching) a cache to an existing, previously uncached volume.
Clone Of: 2066881
Environment:
Last Closed: 2022-11-15 10:23:26 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github linux-system-roles storage pull 273 0 None Draft Add support for attaching LVM cache to existing LVs 2022-05-31 21:01:19 UTC
Red Hat Issue Tracker RHELPLAN-118168 0 None None None 2022-04-06 22:09:25 UTC
Red Hat Product Errata RHEA-2022:8117 0 None None None 2022-11-15 10:23:51 UTC

Description David Lehman 2022-04-06 21:50:26 UTC
+++ This bug was initially created as a clone of Bug #2066881 +++

Description of problem:
Support for attaching cache volumes to existing volumes

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 ChanghuiZhong 2022-06-23 09:37:20 UTC
test pass with python3-blivet-3.4.0-15.el9 + tests_create_lvm_cache_then_remove.yml
https://bugzilla.redhat.com/show_bug.cgi?id=2055200#c2

Comment 3 ChanghuiZhong 2022-06-28 04:01:27 UTC
test pass with rhel-system-roles-1.19.3-0.2.el9

blivet-data-3.4.0-15.el9.noarch
python3-blivet-3.4.0-15.el9.noarch
rhel-system-roles-1.19.3-0.2.el9.noarch

# ansible-playbook tests_create_lvm_cache_then_remove.yml

PLAY RECAP **************************************************************************
st102                      : ok=375  changed=5    unreachable=0    failed=0    skipped=347  rescued=0    ignored=0   

hit known issue on localhost test:
Bug 2044119 - [RHEL9] _storage_test_pool_pvs get wrong data type in test-verify-pool-members.yml

Comment 6 ChanghuiZhong 2022-07-08 10:07:46 UTC
# rpm -qa | grep -E 'system-roles|blivet'                      
blivet-data-3.4.0-15.el9.noarch                                                      
python3-blivet-3.4.0-15.el9.noarch                                                   
rhel-system-roles-1.19.3-1.el9.noarch


# ansible-playbook /usr/share/ansible/roles/linux-system-roles.storage/tests/tests_create_lvm_cache_then_remove.yml

PLAY RECAP **************************************************************************
127.0.0.1                  : ok=384  changed=6    unreachable=0    failed=0    skipped=346  rescued=0    ignored=0

NAME                           MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS                 
sda                              8:0    0 447.1G  0 disk                             
├─sda1                           8:1    0   600M  0 part /boot/efi                   
├─sda2                           8:2    0     1G  0 part /boot                       
└─sda3                           8:3    0 445.5G  0 part                             
  ├─rhel_storageqe--102-root   253:0    0    70G  0 lvm  /                           
  ├─rhel_storageqe--102-swap   253:1    0   7.6G  0 lvm  [SWAP]                      
  └─rhel_storageqe--102-home   253:2    0 367.9G  0 lvm  /home                       
sdb                              8:16   0 447.1G  0 disk                             
└─sdb1                           8:17   0 447.1G  0 part                             
  └─foo-test_corig             253:6    0     5G  0 lvm                              
    └─foo-test                 253:3    0     5G  0 lvm                              
sdc                              8:32   0 447.1G  0 disk                             
└─sdc1                           8:33   0 447.1G  0 part                             
  ├─foo-test_cache_cpool_cdata 253:4    0     4G  0 lvm                              
  │ └─foo-test                 253:3    0     5G  0 lvm                              
  └─foo-test_cache_cpool_cmeta 253:5    0     8M  0 lvm                              
    └─foo-test                 253:3    0     5G  0 lvm                              



NAME                         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS                   
sda                            8:0    0 447.1G  0 disk                               
├─sda1                         8:1    0   600M  0 part /boot/efi                     
├─sda2                         8:2    0     1G  0 part /boot                         
└─sda3                         8:3    0 445.5G  0 part                               
  ├─rhel_storageqe--102-root 253:0    0    70G  0 lvm  /                             
  ├─rhel_storageqe--102-swap 253:1    0   7.6G  0 lvm  [SWAP]                        
  └─rhel_storageqe--102-home 253:2    0 367.9G  0 lvm  /home                         
sdb                            8:16   0 447.1G  0 disk                               
└─sdb1                         8:17   0 447.1G  0 part                               
  └─foo-test_corig           253:6    0     5G  0 lvm                                
    └─foo-test               253:3    0     5G  0 lvm                                
sdc                            8:32   0 447.1G  0 disk                               
└─sdc1                         8:33   0 447.1G  0 part                               
  ├─foo-pool00_cpool_cdata   253:4    0     4G  0 lvm                                
  │ └─foo-test               253:3    0     5G  0 lvm                                
  └─foo-pool00_cpool_cmeta   253:5    0     8M  0 lvm                                
    └─foo-test               253:3    0     5G  0 lvm    


move to verified

Comment 10 errata-xmlrpc 2022-11-15 10:23:26 UTC
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 (rhel-system-roles bug fix and enhancement update), 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/RHEA-2022:8117


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