Bug 1808081 - [ 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: rhhi
Version: rhhiv-1.8
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: RHHI-V 1.8
Assignee: Gobinda Das
QA Contact: milind
URL:
Whiteboard:
Depends On: 1808152 1808154
Blocks: RHHI-V-1.8-Engineering-Inflight-BZs
TreeView+ depends on / blocked
 
Reported: 2020-02-27 18:45 UTC by milind
Modified: 2020-08-04 14:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The 'readcache' and 'readcache size' options for virtual disk optimization (VDO) are not supported on VDO volumes based on Red Hat Enterprise Linux 8, which includes Red Hat Hyperconverged Infrastructure for Virtualization 1.8. These options are now removed so that VDO volume creation succeeds on version 1.8.
Clone Of:
: 1808152 1808154 (view as bug list)
Environment:
Last Closed: 2020-08-04 14:51:33 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:3314 0 None None None 2020-08-04 14:51:55 UTC

Description milind 2020-02-27 18:45:46 UTC
Description of problem:
Failed to create vdo while deploying in RHHI-V 1.8 

iso:
[node ~]# imgbase w
You are on rhvh-4.4.0.14-0.20200226.0+1


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


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 2 milind 2020-02-27 18:57:56 UTC
As readcache is no longer supported with VDO  thanks @sas for the information
But the deployment is trying to set that and it fails.


The file where the issue occurs 

/etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/vdo_create.yml

/etc/ansible/hc_wizard_inventory.yml

contains 'readcache' operation

Comment 3 SATHEESARAN 2020-02-28 01:01:57 UTC
VDO Readcache related attributes should be removed from 2 places :
1. cockpit plugin
2. gluster_ansible_infra

VDO Readcache related attributes are:
            "readcache": "disabled",
            "readcachesize": "0"

Comment 10 errata-xmlrpc 2020-08-04 14:51:33 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 (RHHI for Virtualization 1.8 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-2020:3314


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