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 **********************************************************************************************************************
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@ ~]#
*** Bug 1824305 has been marked as a duplicate of this bug. ***
Gobinda, Please review the doc text
RDT looks good to me.
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