Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1338744

Summary: [RFE] Validate pre-conditions during installation
Product: [oVirt] ovirt-node Reporter: Fabian Deutsch <fdeutsch>
Component: RFEsAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED CURRENTRELEASE QA Contact: cshao <cshao>
Severity: medium Docs Contact:
Priority: high    
Version: 4.0CC: bmcclain, bugs, cshao, dfediuck, gklein, leiwang, lsurette, martyn.hodgson, mgoldboi, rbalakri, srevivo, ycui, ykaul, yzhao
Target Milestone: ovirt-4.1.0-betaKeywords: FutureFeature
Target Release: 4.1Flags: rule-engine: ovirt-4.1+
bmcclain: priority_rfe_tracking+
cshao: testing_plan_complete+
mgoldboi: planning_ack+
fdeutsch: devel_ack+
ycui: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-01 14:36:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1140646    

Description Fabian Deutsch 2016-05-23 11:27:41 UTC
Description of problem:
Currently Node does not complain if it is getting installed in an environment where i.e. the storage layout is wrong (i.e. a thin pool is missing)

This RFE is about checking for the most important bits during installation:
- Available thin pool
- / on thin pool
- /var is a separate volume

Comment 1 Yaniv Kaul 2016-05-25 08:09:09 UTC
If this is going to meet 4.0 GA, it needs an exception/blocker status. Otherwise, please push to 4.1.

Comment 4 Red Hat Bugzilla Rules Engine 2016-09-22 10:18:32 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 5 Red Hat Bugzilla Rules Engine 2016-09-22 10:19:20 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 6 Fabian Deutsch 2016-09-30 10:59:44 UTC
*** Bug 1380142 has been marked as a duplicate of this bug. ***

Comment 7 cshao 2017-01-11 10:36:49 UTC
Test Version:
redhat-virtualization-host-4.1-0.20170104.0
imgbased-0.9.2-0.1.el7ev.noarch

1. no Available thin pool
Test Steps:
1) Install RHVH 4.1 via interactive anaconda.
2) Enter MANUAL PARTITIONING page via choosing "I will configure partitioning" in the INSTALLATION DESTINATION page.
3) Select partitioning scheme as LVM, not LVM Thin Provisioning.
4) Click "Click here to create them automatically".
5) Finish the remained steps and wait to see the error window popping up.

Test Results:
A window is popped up at the end of installation but before reboot. There is an error message at the beginning of the window saying:
[ERROR] LVM Thin Provisioning partitioning scheme is required.
For autoinstall via Kickstart with LVM Thin Provisioning check options: --thinpool and --growPlease consult documentation for details


2. / is not on thin pool
Test Steps:
1) Install RHVH 4.1 via interactive anaconda.
2) Enter MANUAL PARTITIONING page via choosing "I will configure partitioning" in the INSTALLATION DESTINATION page.
3) Select partitioning scheme as LVM Thin Provisioning.
4) Click "Click here to create them automatically".
5) Modify "/" partitioning scheme as LVM. and save.
6) Finish the remained steps and wait to see the error window popping up.

Test Results:
A window is popped up at the end of installation but before reboot. There is an error message at the beginning of the window saying:
[INFO] Trying to create a manageable base from "/"
[ERROR] LVM Thin Provisioning partitioning scheme is required.
For autoinstall via Kickstart with LVM Thin Provisioning check options: --thinpool and --growPlease consult documentation for details


3. /var is not a separate volume
Test Steps:
1) Install RHVH 4.1 via interactive anaconda.
2) Enter MANUAL PARTITIONING page via choosing "I will configure partitioning" in the INSTALLATION DESTINATION page.
3) Delete existing partitions if needed.
4) Select partitioning scheme as LVM Thin Provisioning.
5) Add partitions manually using the "+" icon at the lower left corner. Add /, /boot and swap, don't add /var.
6) Finish the remained steps and wait to see the error window popping up.

Test Results:
A window is popped up at the end of installation but before reboot. There is an error message at the bottom of the window saying:
It's required /var as separate mountpoint!
Please check documentation for more details!

RHVH can handle above scenario correctly.
So the bug is fixed, change bug status to VERIFIED.

Comment 8 Douglas Schilling Landgraf 2017-01-17 20:10:12 UTC
*** Bug 1370433 has been marked as a duplicate of this bug. ***