Bug 1552063 - Unable to set VDO writepolicy to auto
Summary: Unable to set VDO writepolicy to auto
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhhi
Version: rhhiv-1.5
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: RHHI-V 1.5
Assignee: Sahina Bose
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On: 1552070
Blocks: 1520836
TreeView+ depends on / blocked
 
Reported: 2018-03-06 12:33 UTC by SATHEESARAN
Modified: 2018-11-08 05:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1552070 (view as bug list)
Environment:
Last Closed: 2018-11-08 05:38:31 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:3523 0 None None None 2018-11-08 05:39:12 UTC

Description SATHEESARAN 2018-03-06 12:33:08 UTC
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

Comment 1 SATHEESARAN 2018-04-25 12:41:35 UTC
Tested with writepolicy=auto with cockpit-ovirt-dashboard-0.11.22 and gdeploy-2.0.2-26.el7rhgs

Comment 6 errata-xmlrpc 2018-11-08 05:38:31 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-2018:3523


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