Bug 1500811
Summary: | RHVh 4.1 latest rhel 7.4 fails with multiple disk | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | ldomb | ||||
Component: | python-blivet | Assignee: | Blivet Maintenance Team <blivet-maint-list> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Release Test Team <release-test-team-automation> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.4 | CC: | blivet-maint-list, cshao, jspanko, ldomb, qiyuan, rbarry, sbueno, ycui, yturgema | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-12-18 09:22:00 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: | 1447254 | ||||||
Attachments: |
|
Samantha - From the logs, it looks like the autopart requests are doing something wrong here, but I wasn't able to reproduce. This is not reproducible with Anaconda from 7.3. But on 7.4, despite the installclass, Anaconda is attempting to create: /boot PV -swap thinpv -everything else There are 2 problems: *swap should be on the the thin pv *the 'normal' PV is taking the entire disk, which does not leave space. We haven't seen this before, and don't have a reproducer (Laurent does), but it's pretty apparent from the logs. Any ideas here? Please attach the program.log from the installation. Fortunately program.log is dumped in the anaconda-tb-* file. This looks relevant: 16:58:31,729 INFO program: Running... lvm lvcreate --thinpool rhvh_hosted-engine1/pool00 --size 79224m --poolmetadatasize 40 --chunksize 64 --config devices { preferred_names=["^/dev/mapper/", "^/dev/md/", "^/dev/sd"] filter=["r|/sda$|","r|/sdb$|","r|/sdc$|"] } 16:58:31,756 INFO program: /usr/sbin/modprobe failed: 1 16:58:31,756 INFO program: thin-pool: Required device-mapper target(s) not detected in your kernel. 16:58:31,756 INFO program: Run `lvcreate --help' for more information. 16:58:31,756 DEBUG program: Return code: 3 The traceback itself looks like it may be an issue with our storage library, so I'm flipping components. Looks to me like Samantha nailed it. Something went wrong with the compose, causing the required kernel modules to not be available (or loaded). Any update on this? Chance that a fix can get into RHEL 7.6? I don't believe there is a problem in blivet. It looks like the runtime images do not contain the dm-thin kernel module. I don't know how the installation media is created, but I would take a look at that process to find the problem. See previous comment. I don't know what your process is for creating the installer runtime images, but it seems to be the problem. Please reassign to an appropriate component as I don't have the knowledge of the RHV/ovirt stack to do so correctly. You mentioned the 7.3 kickstart - is this a PXE installation, if so, please make sure you're using the correct kernel+initrd combination. The modprobe error usually happens on wrong PXE configurations, if the kernel version and the version of the modules in the initrd do not match Hi Looks like this affect also the 4.2 image, we have the same error about device-mapper not detected for one of our customer. Ryan Have you seen it also for 4.2 by chance ? Thanks ! I haven't, but I moved to a different RHV team in September. Which 4.2 version? The underlying version of RHEL is important Hi Ryan Sorry for the ping then, it's redhat-virtualization-host-4.2-20181026 so 7.6 Thx Jaroslav, is your pxe environment set correctly with the kernel+initrd that match this version of rhvh ? Hi Yuval You were right, cu fixed the PXE config and installation was successful . Thanks for hint ! Thanks for the update ! Closing this according to Comment 15 |
Created attachment 1337262 [details] anaconada logs Description of problem: We the newest build of RHVH-4.1-20170925.0-RHVH-x86_64-dvd1.iso the rhevh install fails when creating disks. I can use the same kickstart with the RHEL 7.3 release and it works perfectly. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Install a 3 node HCI cluster with the boot partition NOT on the first disk 2. Reinstall the RHVH nodes with the image mentioned above using a kickstart defineing clearpart --all and initlabel 3. Run the install Actual results: Installation fails Expected results: Installation should work Additional info: anaconda logs and storage logs in attachment. As a workaround I can use the stage2 install of the 7.3 install with the squashfs image of 7.4 and the install works.