ironic-tempest-plugin - inspector tests validates against nova flavor

Bug #2072589 reported by Harald Jensås
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic Inspector
New
Undecided
Unassigned

Bug Description

InspectorBasicTest uses values in nova flavor to verify inspection data.

For example here: https://opendev.org/openstack/ironic-tempest-plugin/src/branch/master/ironic_tempest_plugin/tests/scenario/test_introspection_basic.py#L26.

I ran into an issue where setting cpu_arch on the flavor cause other scenario tests to fail, the combination of ComputeCapabilitiesFilter and AggregateInstanceExtraSpecsFilter caused the scheduler to return no hosts available. (I believe this happens because the latter filter also works with non-scoped specification to be backward compatible, and the Nova docs suggest there can be conflicts between these two filters ...)

Reporting this to track investigation, and potential improvements to inspection tempest - can we not rely on flavor? Or add an option to override the flavor, currently it uses CONF.compute.flavor_ref.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.