Bug 1986284

Summary: storage_test_actual_size != storage_test_requested_size observed with tests_lvm_auto_size_cap.yml
Product: Red Hat Enterprise Linux 8 Reporter: Zhang Yi <yizhan>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: Zhang Yi <yizhan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.5CC: djez, guazhang, nhosoi, spetrosi
Target Milestone: betaKeywords: Triaged
Target Release: 8.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:storage
Fixed In Version: rhel-system-roles-1.6.4-1.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 17:46:02 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:

Description Zhang Yi 2021-07-27 07:30:34 UTC
Description of problem:


Version-Release number of selected component (if applicable):
rhel-system-roles-1.4.1-1.el8.noarch

How reproducible:
100%

Steps to Reproduce:
1. ansible-playbook  -i inventory tests/tests_lvm_auto_size_cap.yml
--snip--
TASK [debug] ****************************************************************************************************************************************************************
ok: [localhost] => {
    "storage_test_actual_size": {
        "bytes": 200038101811,
        "changed": false,
        "failed": false,
        "lvm": "186g",
        "parted": "186GiB",
        "size": "186 GiB"
    }
}

TASK [debug] ****************************************************************************************************************************************************************
ok: [localhost] => {
    "storage_test_requested_size": {
        "bytes": 200049647616,
        "changed": false,
        "failed": false,
        "lvm": "186g",
        "parted": "186GiB",
        "size": "186 GiB"
    }
}

TASK [assert] ***************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {
    "assertion": "storage_test_actual_size == storage_test_requested_size",
    "changed": false,
    "evaluated_to": false,
    "msg": "Volume test1 has unexpected size"
}

PLAY RECAP ******************************************************************************************************************************************************************
localhost                  : ok=117  changed=1    unreachable=0    failed=2    skipped=73   rescued=1    ignored=0   


2.
3.

Actual results:


Expected results:


Additional info:

Comment 10 Rich Megginson 2021-08-08 15:44:12 UTC
*** Bug 1990776 has been marked as a duplicate of this bug. ***

Comment 12 errata-xmlrpc 2021-11-09 17:46:02 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/RHBA-2021:4159