Bug 1808152 - [ RHHI-V 1.8 ] Failed to create VDO
Summary: [ RHHI-V 1.8 ] Failed to create VDO
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-ansible
Version: rhhiv-1.8
Hardware: x86_64
OS: Linux
high
urgent
Target Milestone: ---
: RHGS 3.5.z Batch Update 2
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
: 1824305 (view as bug list)
Depends On:
Blocks: 1808081
TreeView+ depends on / blocked
 
Reported: 2020-02-28 01:09 UTC by SATHEESARAN
Modified: 2020-06-16 05:57 UTC (History)
9 users (show)

Fixed In Version: gluster-ansible-roles-1.0.5-7.el8rhgs
Doc Type: Bug Fix
Doc Text:
VDO volume creation fails with ‘readcache’ and ‘readcache Size’ options. With this fix, ‘readcache’ and ‘readcache Size’ options are removed from VDO option as VDO ‘readcache’ is no longer supported in RHEL-8. VDO volume creation is now successful.
Clone Of: 1808081
Environment:
rhhiv, rhel8
Last Closed: 2020-06-16 05:57:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github gluster gluster-ansible-infra pull 80 0 None closed Removed readcache and readcacheSize from VDO option 2020-07-09 11:05:51 UTC
Red Hat Product Errata RHEA-2020:2575 0 None None None 2020-06-16 05:57:52 UTC
oVirt gerrit 107308 0 None MERGED Removed readcache and readcacheSize from VDO option VDO Readcache is no longer supported in VDO in RHEL-8 2020-07-09 11:05:51 UTC

Description SATHEESARAN 2020-02-28 01:09:45 UTC
Description of problem:
-----------------------
VDO Readcache is no longer supported in VDO in RHEL-8
So those attributes needs to removed with gluster-ansible-infra

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
gluster-ansible-infra-1.0.4-4.el8rhgs.noarch
gluster-ansible-cluster-1.0-1.el8rhgs.noarch
gluster-ansible-repositories-1.0.1-2.el8rhgs.noarch
gluster-ansible-features-1.0.5-4.el8rhgs.noarch
gluster-ansible-roles-1.0.5-5.el8rhgs.noarch
gluster-ansible-maintenance-1.0.1-1.el8rhgs.noarch

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Run ansible based RHHI deployment 

Actual results:
----------------
Deployment fails with VDO creation

Expected results:
-----------------
VDO creation should succeed


Additional info:
-----------------
failed: [node.example.com] (item={'name': 'vdo_sdc', 'device': '/dev/sdc', 'slabsize': '32G', 'logicalsize': '10000G', 'blockmapcachesize': '128M', 'emulate512': 'off', 'writepolicy': 'auto'}) => {
    "ansible_loop_var": "item",
    "changed": false,
    "err": "usage: vdo create [-h] -n <volume> --device <devicepath>\n                  [--activate {disabled,enabled}]\n                  [--blockMapCacheSize <megabytes>]\n                  [--blockMapPeriod <period>]\n                  [--compression {disabled,enabled}]\n                  [--deduplication {disabled,enabled}]\n                  [--emulate512 {disabled,enabled}] [--force]\n                  [--indexMem <gigabytes>] [--maxDiscardSize <megabytes>]\n                  [--sparseIndex {disabled,enabled}] [--uuid <uuid>]\n                  [--vdoAckThreads <threadCount>]\n                  [--vdoBioRotationInterval <ioCount>]\n                  [--vdoBioThreads <threadCount>]\n                  [--vdoCpuThreads <threadCount>]\n                  [--vdoHashZoneThreads <threadCount>]\n                  [--vdoLogicalSize <megabytes>]\n                  [--vdoLogicalThreads <threadCount>]\n                  [--vdoLogLevel {critical,error,warning,notice,info,debug}]\n                  [--vdoPhysicalThreads <threadCount>]\n                  [--vdoSlabSize <megabytes>]\n                  [--writePolicy {async,async-unsafe,sync,auto}] [-f <file>]\n                  [--logfile <pathname>] [--verbose]\nvdo create: error: unrecognized arguments: --readCacheSize=0\n",
    "invocation": {
        "module_args": {
            "ackthreads": "1",
            "activated": true,
            "biothreads": "4",
            "blockmapcachesize": "128M",
            "compression": "enabled",
            "cputhreads": "2",
            "deduplication": null,
            "device": "/dev/sdc",
            "emulate512": false,
            "growphysical": false,
            "indexmem": "0.25",
            "indexmode": "dense",
            "logicalsize": "10000G",
            "logicalthreads": "1",
            "name": "vdo_sdc",
            "physicalthreads": "1",
            "readcache": "disabled",
            "readcachesize": "0",
            "running": true,
            "slabsize": "32G",
            "state": "present",
            "writepolicy": "auto"
        }
    },
    "item": {
        "blockmapcachesize": "128M",
        "device": "/dev/sdc",
        "emulate512": "off",
        "logicalsize": "10000G",
        "name": "vdo_sdc",
        "slabsize": "32G",
        "writepolicy": "auto"
    },
    "msg": "Creating VDO vdo_sdc failed.",
    "rc": 2
}

NO MORE HOSTS LEFT ***************************************************************************************************************************************************************************

PLAY RECAP **********************************************************************************************************************

Comment 5 SATHEESARAN 2020-03-20 10:28:02 UTC
Tested with gluster-ansible-roles-1.0.5-7.el8rhgs. 
vdo 'readCache' is removed.

[root@ ~]# rpm -qa | grep gluster-ansibl
gluster-ansible-repositories-1.0.1-2.el8rhgs.noarch
gluster-ansible-features-1.0.5-6.el8rhgs.noarch
gluster-ansible-infra-1.0.4-6.el8rhgs.noarch
gluster-ansible-maintenance-1.0.1-2.el8rhgs.noarch
gluster-ansible-cluster-1.0-1.el8rhgs.noarch
gluster-ansible-roles-1.0.5-7.el8rhgs.noarch

[root@ ~]# grep -i read /etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/vdo_create.yml
    ackthreads: "{{ item.ackthreads | default('1') }}"
    biothreads: "{{ item.biothreads | default('4') }}"
    cputhreads: "{{ item.cputhreads | default('2') }}"
    logicalthreads: "{{ item.logicalthreads | default('1') }}"
    physicalthreads: "{{ item.physicalthreads | default('1') }}"

[root@ ~]# less /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/gluster_inventory.yml 
[root@ ~]# grep -i read /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/gluster_inventory.yml
[root@ ~]#

Comment 8 Gobinda Das 2020-05-04 09:12:51 UTC
*** Bug 1824305 has been marked as a duplicate of this bug. ***

Comment 9 Amrita 2020-06-11 12:11:26 UTC
Gobinda,

Please review the doc text

Comment 10 Gobinda Das 2020-06-11 12:28:02 UTC
RDT looks good to me.

Comment 12 errata-xmlrpc 2020-06-16 05:57:29 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, 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-2020:2575


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