Bug 1857663
Summary: | Include pre-flight check for disk block sizes for the disks used for bricks and LV cache to be identical | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | SATHEESARAN <sasundar> | |
Component: | rhhi | Assignee: | Gobinda Das <godas> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | SATHEESARAN <sasundar> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | rhhiv-1.8 | CC: | godas, rcyriac, rhs-bugs | |
Target Milestone: | --- | Keywords: | Triaged | |
Target Release: | RHHI-V 1.8.z Batch Update 2 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | No Doc Update | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1857667 1895553 (view as bug list) | Environment: | ||
Last Closed: | 2020-12-01 06:58:24 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: | 1857667, 1895553 | |||
Bug Blocks: |
Description
SATHEESARAN
2020-07-16 10:10:49 UTC
Here are few examples for valid and invalid scenarios Valid situations are: 1. 512B block sized disks used for engine volume 2. 4K block sized disks used for vmstore volume 3. 4K block sized SSD used as LV cache for thinpool composed of 4KB block sized disks 4. 512B block sized SSD used as LV cache for thinpool composed of 512B block sized disks Invalid scenarios: 1. 'vmstore' volume configuration has bricks created out of 4KB disk block sized disk on host1, host2 and host3 is using 512B brick for arbiter.etc Tested with gluster-ansible-roles-1.0.5-22.el8rhgs When creating the volume with its brick on disks of varied block sizes, then error is thrown with proper information <snip> "item": { "pvname": "/dev/sdf", "vgname": "gluster_vg_sdf" }, "rc": 0, "start": "2020-11-07 01:58:33.888422", "stderr": "", "stderr_lines": [], "stdout": "4096", "stdout_lines": [ "4096" ] }, "msg": "The logical block size of disk is not 512 bytes" </snip> The check works only with CLI based automated deployment of RHHI-V There will be yet another bug to fix this in cockpit based deployment |