Bug 1855945
Summary: | RHHI-V deployment fails when using multipath configuration and lvm cache | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | SATHEESARAN <sasundar> |
Component: | rhhi | Assignee: | Ritesh Chikatwar <rchikatw> |
Status: | CLOSED DUPLICATE | QA Contact: | SATHEESARAN <sasundar> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | rhhiv-1.7 | CC: | dwalveka, godas, rhs-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Known Issue | |
Doc Text: |
During the deployment of RHHI for Virtualization with multipath device names, volume groups(VG) and logical volumes(LV) are created with the suffix of WWID leading to LV names longer than 128 characters. This results in failure of LV cache creation.
To work around this issue,
When initiating RHHI for Virtualization deployment with multipath device names as /dev/mapper/<WWID>, replace VG and thinpool suffix with last 4 digits of WWID as:
1. During deployment from the web console, provide a multipath device name as /dev/mapper/<WWID> for bricks.
2. Click Next to generate an inventory file.
3. Login in to the deployment node via SSH.
4. Find the <WWID> with LVM components:
# grep vg /etc/ansible/hc_wizard_inventory.yml
5. For all WWIDs, replace WWID with the last 4 digits of WWID.
# sed -i 's/<WWID>/<last-4-digit-WWID>/g' /etc/ansible/hc_wizard_inventory.yml
6. Continue deployment from web console.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-12-07 07:24:18 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1785236 |
Description
SATHEESARAN
2020-07-11 07:19:21 UTC
The source of this problem is the name of the device. If the device name is WWID, then use the last 4 digits to create names of LVM component - VG, thinpool For example, if using device name as /dev/mapper/360030480197f830125618b0119fc270d then VG name should be 'gluster_vg_270d' and thinpool should be 'gluster_thinpool_270d' Marking this bug as known_issue for RHHI-V 1.8 Workaround here is: 1. Start RHHI-V deployment from web console 2. In the bricks tab, input the device name as /dev/mapper/<WWID> format 3. Proceed to next tab to generate inventory file and hold this deployment till the following tasks are completed 4. Login in to deployment node (web console for deployment is launched from this node) via SSH 5. Find out all devices using WWID # grep vg /etc/ansible/hc_wizard_inventory.yml 6. For all the unique WWID listed with VG, replace them in to last 4 digits # sed -i 's/<WWID>/<last-4-digit-WWID>/g' /etc/ansible/hc_wizard_inventory.yml 7. On the last tab of the deployment, click on 'Reload' 8. Complete deployment from web console Note that this problem is only for multipath configuration enabled and LV cache enabled Same issue we are fixing on https://bugzilla.redhat.com/show_bug.cgi?id=1851114, so closing this as duplicate. *** This bug has been marked as a duplicate of bug 1851114 *** |