Bug 1445662 - [RFE] Validation that root device hints are set for multi-disk nodes
Summary: [RFE] Validation that root device hints are set for multi-disk nodes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Upstream M3
: 15.0 (Stein)
Assignee: Florian Fuchs
QA Contact: Amit Ugol
URL:
Whiteboard:
: 1647458 (view as bug list)
Depends On: 1445650
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-26 08:59 UTC by Dmitry Tantsur
Modified: 2023-09-14 03:57 UTC (History)
11 users (show)

Fixed In Version: openstack-tripleo-validations-10.4.1-0.20190621220403.673148d.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-21 11:15:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 604356 0 None MERGED Add node disks validation 2021-01-19 23:23:53 UTC
Red Hat Product Errata RHEA-2019:2811 0 None None None 2019-09-21 11:16:08 UTC

Description Dmitry Tantsur 2017-04-26 08:59:05 UTC
When we implement support for root device hints in the UI, we need to start enforcing setting them for nodes that have multiple disks (see bug 1445650 for reasoning behind it). I suggest two actions:

1. Issue a validation WARNING when introspection data shows multiple disk devices, and node.properties['root_device'] is not set.

2. Issue a validation ERROR when introspection data shows that the smallest disk which is larger than 4 GiB is still smaller (or equal) than what is required by flavors.

An example. Imagine we have a baremetal flavor requiring disk of 20 GiB.

Node 1 has one disk of 40 GiB, no root device hints. No warnings of errors.

Node 2 has two disks: 40 GiB and 21 GiB, no root device hints. A warning.

Node 3 has two disks: 40 GiB and 10 GiB, no root device hints. An error, as the smallest disk will be picked for deployment.

Node 4 has two disks: 40 GiB and 10 GiB, root devices hints set. No warnings or errors.

3. Bonus point for validating that existing root devices hints point to a correct disk.

Comment 14 Florian Fuchs 2018-11-22 14:32:15 UTC
*** Bug 1647458 has been marked as a duplicate of this bug. ***

Comment 20 errata-xmlrpc 2019-09-21 11:15:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:2811

Comment 21 Red Hat Bugzilla 2023-09-14 03:57:00 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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