Bug 1552063
| Summary: | Unable to set VDO writepolicy to auto | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | SATHEESARAN <sasundar> | |
| Component: | rhhi | Assignee: | Sahina Bose <sabose> | |
| Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | rhhiv-1.5 | CC: | rhs-bugs | |
| Target Milestone: | --- | |||
| Target Release: | RHHI-V 1.5 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1552070 (view as bug list) | Environment: | ||
| Last Closed: | 2018-11-08 05:38:31 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: | ||||
| Bug Depends On: | 1552070 | |||
| Bug Blocks: | 1520836 | |||
Tested with writepolicy=auto with cockpit-ovirt-dashboard-0.11.22 and gdeploy-2.0.2-26.el7rhgs 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-2018:3523 |
Description of problem: ----------------------- Using gdeploy,unable to set the writePolicy of VDO volume to 'auto'. Gdeploy allows the value of 'sync' & 'async' for writePolicy Version-Release number of selected component (if applicable): -------------------------------------------------------------- gdeploy-2.0.2-22.el7rhgs How reproducible: ----------------- Always Steps to Reproduce: -------------------- 1. Create a gdeploy conf file to create VDO volume and set the writePolicy to auto Actual results: --------------- gdeploy fails to set the writePolicy as 'auto' Expected results: ----------------- gdeploy should allow setting the value of writePolicy as 'auto' Additional info: ---------------- Here is the sample config file [hosts] 10.70.36.244 [vdo] action=create devices=sde names=vdovol_test logicalsize=18T writepolicy=auto slabsize=32G emulate512=enabled Here is the console output: # gdeploy -c vdocreate.conf PLAY [gluster_servers] ******************************************************************************************************************************************************************************************** TASK [Create VDO with specified size] ***************************************************************************************************************************************************************************** failed: [10.70.36.244] (item={u'disk': u'/dev/sde', u'logicalsize': u'18T', u'name': u'vdovol_test'}) => {"changed": false, "item": {"disk": "/dev/sde", "logicalsize": "18T", "name": "vdovol_test"}, "msg": "value of writepolicy must be one of: sync,async, got: auto"} to retry, use: --limit @/tmp/tmpVnBih0/vdo-create.retry PLAY RECAP ******************************************************************************************************************************************************************************************************** 10.70.36.244 : ok=0 changed=0 unreachable=0 failed=1