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

Bug 1692356

Summary: Allow to specify minimum memory and minim disk size for flavors
Product: Red Hat OpenStack Reporter: Attila Fazekas <afazekas>
Component: python-tempestconfAssignee: Chandan Kumar <chkumar>
Status: CLOSED ERRATA QA Contact: Martin Kopec <mkopec>
Severity: medium Docs Contact:
Priority: medium    
Version: 14.0 (Rocky)CC: udesale
Target Milestone: z3Keywords: Triaged, ZStream
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-tempestconf-2.2.0-0.20190507153823.e0d5dd6.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-02 20:09: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: 1712368    
Bug Blocks:    

Description Attila Fazekas 2019-03-25 12:48:33 UTC
Description of problem:
The sizes for cirros kind of image are hard-coded,
nowadays if you want use different image,
you have to create the flavors on 
your own, which is not fast and/or easy step for most user.

tempest usually requires two different flavor to exists,
the 2th (alt) one need to be a bigger flavor (for ex. 1Mb more memory).

It is enough to have the users to specify a minim disk and memory, then the alt flavor can be made bigger (just by adding +1 to the memory).

--flavor-min-memory=1024
# default 64MB

--flavor-min-disk=10
# default 1GB

This disk option also should imply the volume.volume_size to be at least
flavor-min-disk , unless the user explicitly specified a different value.

Comment 8 Martin Kopec 2019-06-06 09:52:52 UTC
python-tempestconf's version 2.2.0 contains the requested feature and it's included in python-tempestconf-2.2.0-0.20190507153823.e0d5dd6.el7ost package which is now available via the latest symlink in RHOS-14 repository.

Comment 10 errata-xmlrpc 2019-07-02 20:09: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/RHBA-2019:1671