Bug 1613339 - Stop/Start VDO service during host Maintenance/Activate
Summary: Stop/Start VDO service during host Maintenance/Activate
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.2.6
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.2.7
: ---
Assignee: Kaustav Majumder
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 1619635
TreeView+ depends on / blocked
 
Reported: 2018-08-07 12:21 UTC by Gobinda Das
Modified: 2018-11-02 14:38 UTC (History)
5 users (show)

Fixed In Version: ovirt-engine-4.2.7.2
Clone Of:
: 1619635 (view as bug list)
Environment:
Last Closed: 2018-11-02 14:38:08 UTC
oVirt Team: Gluster
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 93775 0 master MERGED engine: Added vdo as one of SUPPORTED_SERVICES in vdsm 2020-05-08 02:38:54 UTC
oVirt gerrit 93776 0 master MERGED engine: Added starting/stopping of VDO service 2020-05-08 02:38:54 UTC
oVirt gerrit 94297 0 ovirt-4.2 MERGED engine: Added vdo as one of SUPPORTED_SERVICES in vdsm 2020-05-08 02:38:54 UTC
oVirt gerrit 94394 0 ovirt-engine-4.2 MERGED engine: Added starting/stopping of VDO service 2020-05-08 02:38:54 UTC
oVirt gerrit 94483 0 master MERGED engine:Update master with minor changes from Change:94394 2020-05-08 02:38:54 UTC

Description Gobinda Das 2018-08-07 12:21:06 UTC
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:

Comment 1 Gobinda Das 2018-08-08 07:12:07 UTC
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 2 Sandro Bonazzola 2018-09-17 13:33:37 UTC
https://gerrit.ovirt.org/#/c/93776/ seems to be missing backport to 4.2, moving back to post for cross checking.

Comment 3 Kaustav Majumder 2018-09-17 13:51:19 UTC
Created patch for backporting to 4.2
https://gerrit.ovirt.org/#/c/94394/

Comment 4 SATHEESARAN 2018-10-15 01:56:46 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 5 Sandro Bonazzola 2018-11-02 14:38:08 UTC
This bugzilla is included in oVirt 4.2.7 release, published on November 2nd 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.7 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.


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