Bug 1318745

Summary: [tempest] OSPD Director should enable compute_feature_enabled.resize to deployer-input file when using ceph
Product: Red Hat OpenStack Reporter: Daniel Mellado <dmellado>
Component: python-tripleoclientAssignee: Luigi Toscano <ltoscano>
Status: CLOSED EOL QA Contact: Yogev Rabl <yrabl>
Severity: low Docs Contact:
Priority: low    
Version: 8.0 (Liberty)CC: acruz, chkumar, dbecker, dmatthew, gfidente, hbrock, jcoufal, jefbrown, jhakimra, jomurphy, jslagle, ltoscano, lyarwood, mbooth, mburns, mcornea, mkopec, morazi, rhel-osp-director-maint, scohen, ushkalim
Target Milestone: ---Keywords: Automation, AutomationBlocker, Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1388972 (view as bug list) Environment:
Last Closed: 2019-05-01 20:38:47 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:
Bug Depends On: 1291568    
Bug Blocks:    

Description Daniel Mellado 2016-03-17 16:24:04 UTC
Description of problem:
When running tempest in our CI and using ceph, the nova resize tests are disabled due to the compute_feature_enabled.resize flag not being enabled in the tempest.conf file, which depends on shared storage.

As the tempest config tool can't discover by itself the kind of object storage that is running on the system, we'll need to rely on director to provide the setting when creating the deployer-input-conf file.


Version-Release number of selected component (if applicable):


How reproducible:

Run CI on a downstream tempest with ceph enabled. nova resize tests would be skipped due to the skip decorator:

 @testtools.skipUnless(CONF.compute_feature_enabled.resize

Expected results:
For them to be run.


Additional info:

Comment 2 Mike Burns 2016-04-07 21:14:44 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.

Comment 4 Giulio Fidente 2017-01-18 14:13:17 UTC
I gave a quick look at how this could be implemented; from what I can tell, it would be trivial to add a condition in tripleoclient to set the additional value in the deployer input file based on the number of CephStorage nodes.

Yet, given we have composable roles now, that won't cover scenarios where Ceph is either external or deployed on custom roles. To behave correctly in those scenarios we'd need to introspect the list of services per-role and the Heat registry from tripleoclient ... which is more time consuming.

Comment 6 Arx Cruz 2017-02-15 17:33:05 UTC
This indeed can be set in the python-tripleoclient since we are using the information contained in tempest-deployer-input.conf to generate the tempest.conf using the python-tempestconf

Comment 8 Giulio Fidente 2017-05-05 15:25:31 UTC
It looks like we could start addressing this in tripleoclient now that we emit EnabledServices as a stack output

Comment 14 Giulio Fidente 2019-01-15 11:07:32 UTC
*** Bug 1388972 has been marked as a duplicate of this bug. ***