Bug 1670498

Summary: tempest plugin problem with baremetal_introspection
Product: Red Hat OpenStack Reporter: Martin Kopec <mkopec>
Component: openstack-tempestAssignee: Martin Kopec <mkopec>
Status: CLOSED ERRATA QA Contact: Arx Cruz <acruz>
Severity: low Docs Contact:
Priority: low    
Version: 14.0 (Rocky)CC: acruz, apevec, lhh, mariel, slinaber, udesale
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tempest-19.0.0-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1666927 Environment:
Last Closed: 2019-03-18 13:04:09 UTC Type: ---
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: 1666927    
Bug Blocks:    
Attachments:
Description Flags
RHOS-14-output none

Description Martin Kopec 2019-01-29 16:58:38 UTC
+++ This bug was initially created as a clone of Bug #1666927 +++

Description of problem:

While following guide:
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/14/html-single/openstack_integration_test_suite_guide/#sec-install-tempest-packages

tempest verify-config -o /home/stack/code/lab_configs/etc/tempest_verify.conf 

Running config verification...
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tempest/cmd/verify_tempest_config.py", line 484, in take_action
    main(parsed_args)
  File "/usr/lib/python2.7/site-packages/tempest/cmd/verify_tempest_config.py", line 451, in main
    services = check_service_availability(os, update)
  File "/usr/lib/python2.7/site-packages/tempest/cmd/verify_tempest_config.py", line 373, in check_service_availability
    if getattr(CONF.service_available, codename_match[cfgname]):
KeyError: 'baremetal_introspection'

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

OSP14
tempest 19.0.0

There is a similar bug: https://bugzilla.redhat.com/show_bug.cgi?id=1547400

How reproducible:

tempest verify-config -o /home/stack/code/lab_configs/etc/tempest_verify.conf 

Actual results:

Traceback

Expected results:

No Traceback

Additional info:

Comment 3 Martin Kopec 2019-02-26 15:36:05 UTC
Created attachment 1538869 [details]
RHOS-14-output

I am adding the output of my testing if the new package contains a fix for the issue.
Tested on all in one packstack environment without sahara service, however, I installed sahara tempest plugin because in order to reproduce the issue at least one tempest plugin has to be installed.
Result: the issue is fixed by the `fixed in version` package.

Comment 4 Arx Cruz 2019-02-26 16:45:57 UTC
Confirm https://review.openstack.org/#/c/631801/ fix the error.

Comment 6 errata-xmlrpc 2019-03-18 13:04:09 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:0591