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

Bug 1368512

Summary: [RFE] Director should check available resources before deployment/upgrade
Product: Red Hat OpenStack Reporter: mlammon
Component: openstack-tripleo-validationsAssignee: Florian Fuchs <flfuchs>
Status: CLOSED ERRATA QA Contact: Ola Pavlenko <opavlenk>
Severity: low Docs Contact:
Priority: high    
Version: 12.0 (Pike)CC: achernet, apannu, dbecker, dmacpher, jcoufal, jjoyce, jrist, jschluet, mburns, morazi, opavlenk, rhel-osp-director-maint, sclewis, slinaber, tvignaud, ukalifon
Target Milestone: Upstream M3Keywords: FutureFeature, Triaged
Target Release: 12.0 (Pike)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-tripleo-validations-7.1.1-0.20170621111847.fb7346f.el7ost Doc Type: Enhancement
Doc Text:
The update adds a new validation to check the hardware resource on the undercloud before an deployment or upgrade. The validation ensures the undercloud meets the necessary disk space and memory requirements prior to a deployment or upgrade.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-13 20:46:56 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: 1510719, 1510722, 1512556    
Bug Blocks: 1442136, 1469882    

Description mlammon 2016-08-19 15:44:15 UTC
Description of problem:

Prior to a deployment and/or upgrade I would expect that the proper resources (i.e disk, swap, memory) should be checked prior to continuing installation/upgrade.  It has been seen many times during upgrades in particular but should apply for new deployments as well. 

This would also make sense to have this resource check to support scale


Expected results:
Not allow the deployment or upgrade to continue and notify in standard output and/or logs what did not meet the requirements.

Comment 2 Jaromir Coufal 2016-09-27 03:48:41 UTC
Changing component to validations. Tho this should be doable via node tagging, where resource amount is requested for node tagging.

Comment 3 Ola Pavlenko 2016-12-13 12:00:05 UTC
Potential candidate for M3

Comment 8 Florian Fuchs 2017-05-31 11:38:41 UTC
There are already validations for disk space and ram as part of the prep and pre-introspection groups, but not as part of the pre-upgrade/update groups.

Comment 10 Udi Kalifon 2017-11-30 08:52:23 UTC
Verified: openstack-tripleo-validations-7.4.2-1.el7ost.noarch

Comment 13 errata-xmlrpc 2017-12-13 20:46:56 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-2017:3462