Bug 1571811

Summary: set the VDO writepolicy to auto
Product: [oVirt] cockpit-ovirt Reporter: SATHEESARAN <sasundar>
Component: GdeployAssignee: Gobinda Das <godas>
Status: CLOSED CURRENTRELEASE QA Contact: bipin <bshetty>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 0.11.20CC: bugs, rhs-bugs, sabose, sankarshan
Target Milestone: ovirt-4.2.4Flags: rule-engine: ovirt-4.2?
sasundar: planning_ack?
rule-engine: devel_ack+
bshetty: testing_ack+
Target Release: 0.11.25   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.11.25-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1571810 Environment:
Last Closed: 2018-06-26 08:43:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1571810, 1582207    

Description SATHEESARAN 2018-04-25 13:07:10 UTC
+++ This bug was initially created as a clone of Bug #1571810 +++

Description of problem:
-----------------------
Set the VDO writepolicy to auto in the generated gdeploy configuration file


Version-Release number of selected component (if applicable):
-------------------------------------------------------------
cockpit-ovirt-dashboard-0.11.22

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

Steps to Reproduce:
-------------------
1. Start RHHI installation from cockpit UI
2. Enable dedupe and compression
3. Check for the VDO parameter set on the generated config file

Actual results:
---------------
Writepolicy is set to sync

Expected results:
-----------------
Writepolicy should be set to 'auto'

Additional info:
------------------
gdeploy now supports VDO writepolicy of 'auto'
https://bugzilla.redhat.com/show_bug.cgi?id=1552070

Comment 1 bipin 2018-05-31 13:20:46 UTC
Verified the bug with latest cockpit-ovirt-dashboard-0.11.25-1.

Output:

[vdo1:10.70.45.29]
action=create
devices=sdb,sde
names=vdo_sdb,vdo_sde
logicalsize=164840G,3000G
blockmapcachesize=128M
readcache=enabled
readcachesize=20M
emulate512=on  <---
writepolicy=auto
ignore_vdo_errors=no
slabsize=32G,32G

Comment 2 Sandro Bonazzola 2018-06-26 08:43:57 UTC
This bugzilla is included in oVirt 4.2.4 release, published on June 26th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.4 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.