Bug 2028140 - Gluster Deployment fails due to LVM filter
Summary: Gluster Deployment fails due to LVM filter
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: ovirt-node
Classification: oVirt
Component: General
Version: 4.4.9
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
: ---
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-01 15:14 UTC by Jay Cochran
Modified: 2021-12-21 06:19 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-21 06:18:35 UTC
oVirt Team: Gluster
Embargoed:
rchikatw: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-44126 0 None None None 2021-12-01 15:16:20 UTC

Description Jay Cochran 2021-12-01 15:14:00 UTC
Description of problem:

When building a hyperconverged pod with ovirt-node, the Gluster Deployment fails to complete with error message:

TASK [gluster.infra/roles/backend_setup : Create volume groups] ****************
failed: [vh2.core.xxxxxx.net] (item={'key': 'gluster_vg_sdb', 'value': [{'vgname': 'gluster_vg_sdb', 'pvname': '/dev/sdb'}]}) => {"ansible_loop_var": "item", "changed": false, "err": "  Cannot use /dev/sdb: device is rejected by filter config\n", "item": {"key": "gluster_vg_sdb", "value": [{"pvname": "/dev/sdb", "vgname": "gluster_vg_sdb"}]}, "msg": "Creating physical volume '/dev/sdb' failed", "rc": 5}

Earlier in the playbook, it skips over removing the LVM filter:

TASK [gluster.infra/roles/backend_setup : Remove the existing LVM filter] ******
skipping: [vh2.core.xxxxxxx.net]

Manually removing the filter from /etc/lvm/lvm.conf prior to starting the playbook allows the Gluster Deployment to process properly.


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

4.4.9


How reproducible:

Everytime


Steps to Reproduce:

1. Install node(s) with ovirt-node
2. Run Hyperconverged Hosted Engine Setup in Cockpit


Actual results:

  Deployment Fails

Expected results:

  Deployment Succeeds

Additional info:

Comment 1 RHEL Program Management 2021-12-02 01:29:14 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 2 Gobinda Das 2021-12-02 07:29:12 UTC
Is this issue occured in fresh deployment?

Comment 3 Jay Cochran 2021-12-02 17:48:23 UTC
(In reply to Gobinda Das from comment #2)
> Is this issue occured in fresh deployment?

Yes a fresh deployment. I tried it both with a 3-node and single node configuration and both attempts ran into the issue with the LVM filter not being removed. I also did notice that once the deployment is complete, it does properly restore the LVM filter with both the OS PV and the Gluster PV.

Comment 4 Ritesh Chikatwar 2021-12-06 08:19:10 UTC
Can you check vdsm-python package installed to check.  please share the o/p of command 'rpm -q vdsm-python'

Comment 5 Ritesh Chikatwar 2021-12-06 08:21:42 UTC
(In reply to Ritesh Chikatwar from comment #4)
> Can you check vdsm-python package installed to check.  please share the o/p
> of command 'rpm -q vdsm-python'

Type..
Can you check vdsm-python package installed,  please share the o/p of command 'rpm -q vdsm-python'

Comment 6 Jay Cochran 2021-12-09 02:27:14 UTC
(In reply to Ritesh Chikatwar from comment #5)
> (In reply to Ritesh Chikatwar from comment #4)
> > Can you check vdsm-python package installed to check.  please share the o/p
> > of command 'rpm -q vdsm-python'
> 
> Type..
> Can you check vdsm-python package installed,  please share the o/p of
> command 'rpm -q vdsm-python'

vdsm-python-4.40.90.4-1.el8.noarch


(This is stock install of ovirt-node 4.4.9)

Comment 7 Ritesh Chikatwar 2021-12-13 08:03:47 UTC
Can you share the deployment log when this issue occurred. You can find the deployment logs on node at this location (/var/log/cockpit/ovirt-dashboard/) file name will be gluster-deployment.log

Comment 8 Jay Cochran 2021-12-13 15:49:03 UTC
(In reply to Ritesh Chikatwar from comment #7)
> Can you share the deployment log when this issue occurred. You can find the
> deployment logs on node at this location (/var/log/cockpit/ovirt-dashboard/)
> file name will be gluster-deployment.log

Unfortunately, the system is not available any longer as we completed our oVirt evaluation and it will be a few weeks or months before we revisit the system when we setup the production implementation.

Comment 9 Ritesh Chikatwar 2021-12-13 16:04:19 UTC
Okay no problem, I will close this ticket now whenever you are ready with prod implementation, if you face the same issue again please re-open ticket and attach the logs which i requested in previous comment. I will take a look on the log and help.

Is that sounds good ?

Comment 10 Ritesh Chikatwar 2021-12-21 06:18:35 UTC
(In reply to Jay Cochran from comment #8)
> (In reply to Ritesh Chikatwar from comment #7)
> > Can you share the deployment log when this issue occurred. You can find the
> > deployment logs on node at this location (/var/log/cockpit/ovirt-dashboard/)
> > file name will be gluster-deployment.log
> 
> Unfortunately, the system is not available any longer as we completed our
> oVirt evaluation and it will be a few weeks or months before we revisit the
> system when we setup the production implementation.

The requested log is not available as system is no longer exists. I would suggest please try with fresh installation if you face same issue again please re-open the case & also attach log on node at this location (/var/log/cockpit/ovirt-dashboard/) file name will be gluster-deployment.log

Thanks 
Ritesh


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