Bug 1318745 - [tempest] OSPD Director should enable compute_feature_enabled.resize to deployer-input file when using ceph
Summary: [tempest] OSPD Director should enable compute_feature_enabled.resize to deplo...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Luigi Toscano
QA Contact: Yogev Rabl
URL:
Whiteboard:
: 1388972 (view as bug list)
Depends On: 1291568
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-17 16:24 UTC by Daniel Mellado
Modified: 2019-05-01 20:38 UTC (History)
21 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1388972 (view as bug list)
Environment:
Last Closed: 2019-05-01 20:38:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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. ***


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