Bug 1619635

Summary: Stop/Start VDO service during host Maintenance/Activate
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: rhhiAssignee: Sahina Bose <sabose>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: high Docs Contact:
Priority: high    
Version: rhhiv-1.5CC: bugs, godas, jcall, kmajumde, rhs-bugs, sankarshan
Target Milestone: ---   
Target Release: RHHI-V 1.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.2.7.2 Doc Type: Bug Fix
Doc Text:
Cause: During host Maintenance before upgrade, VDO service if running needs to be stopped and restarted again once activated Consequence: Vdo service went into failed state after host upgrade Fix: When host is put into maintenance and the user opts for stopping gluster services, vdo service is stopped and again restarted once host is activated Result: VDO service survives during host upgrade
Story Points: ---
Clone Of: 1613339 Environment:
Last Closed: 2018-11-08 05:39:29 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: 1613339    
Bug Blocks: 1520836, 1548985    

Description SATHEESARAN 2018-08-21 11:02:17 UTC
+++ This bug was initially created as a clone of Bug #1613339 +++

Description of problem:
 Now if user will upgrade any host, VDO service is not restarting after upgrade.  

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


How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:
VDO service failed state

Expected results:
VDO service should be Active/Running state.

Additional info:

--- Additional comment from Gobinda Das on 2018-08-08 03:12:07 EDT ---

Here is /var/log/messages:
 
Jul 20 09:48:14 rhsdev-grafton2 vdo: vdo: ERROR - Kernel module kvdo not installed
Jul 20 09:48:14 rhsdev-grafton2 vdo: ERROR - Kernel module kvdo not installed
Jul 20 09:48:14 rhsdev-grafton2 vdo: vdo: ERROR - Kernel module kvdo not installed
Jul 20 09:48:14 rhsdev-grafton2 vdo: ERROR - Kernel module kvdo not installed
Jul 20 09:48:14 rhsdev-grafton2 vdo: ERROR - modprobe: FATAL: Module kvdo not found.
Jul 20 09:48:14 rhsdev-grafton2 vdo: vdo: ERROR - modprobe: FATAL: Module kvdo not found.
Jul 20 09:48:14 rhsdev-grafton2 vdo: Starting VDO vdo_sdd1
Jul 20 09:48:14 rhsdev-grafton2 vdo: Starting VDO vdo_sdb
Jul 20 09:48:14 rhsdev-grafton2 systemd: vdo.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Jul 20 09:48:14 rhsdev-grafton2 systemd: Failed to start VDO volume services.
Jul 20 09:48:14 rhsdev-grafton2 systemd: Dependency failed for /gluster_bricks/engine.
Jul 20 09:48:14 rhsdev-grafton2 systemd: Job gluster_bricks-engine.mount/start failed with result 'dependency'.
Jul 20 09:48:14 rhsdev-grafton2 systemd: Dependency failed for /gluster_bricks/hdd.
Jul 20 09:48:14 rhsdev-grafton2 systemd: Job gluster_bricks-hdd.mount/start failed with result 'dependency'.
Jul 20 09:48:14 rhsdev-grafton2 systemd: Dependency failed for /gluster_bricks/vmstore.
Jul 20 09:48:14 rhsdev-grafton2 systemd: Job gluster_bricks-vmstore.mount/start failed with result 'dependency'.
Jul 20 09:48:14 rhsdev-grafton2 systemd: Dependency failed for /gluster_bricks/data.
Jul 20 09:48:14 rhsdev-grafton2 systemd: Job gluster_bricks-data.mount/start failed with result 'dependency'.
Jul 20 09:48:14 rhsdev-grafton2 systemd: Dependency failed for /gluster_bricks/hddvol/hdd.
Jul 20 09:48:14 rhsdev-grafton2 systemd: Job gluster_bricks-hddvol-hdd.mount/start failed with result 'dependency'.
Jul 20 09:48:14 rhsdev-grafton2 systemd: Unit vdo.service entered failed state.
Jul 20 09:48:14 rhsdev-grafton2 systemd: vdo.service failed.

The system was upgraded while VDO service was running which was causing mounting device issue.

In lsblk command output there was no filesystems were not mounted, and the LV is not available.

Comment 5 SATHEESARAN 2018-10-15 01:58:22 UTC
The dependent oVirt bug is ON_QA and moving this bug to ON_QA to enable verification

Comment 6 SATHEESARAN 2018-10-15 01:58:38 UTC
Tested with ovirt-engine-4.2.7.2 

When the host is moved in to maintenance by stopping the gluster services from RHV Manager UI, the gluster and VDO services are stopped.

When the host is activated, gluster and VDO services are started again

Comment 7 Sahina Bose 2018-10-17 11:51:41 UTC
Please provide doc_text

Comment 8 Kaustav Majumder 2018-10-17 12:00:07 UTC
Added doc text.

Comment 11 errata-xmlrpc 2018-11-08 05:39:29 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