enable python-tempest-conf to execute w/o nova enabled

Bug #1860017 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Unassigned

Bug Description

yatin
Jan 15 10:39 PM

Patch Set 13:

undecloud-containers job Failing with 2020-01-09 21:22:28.941
121187 ERROR tempest NoSectionError: No section: 'compute' after
moving to os-tempest after https://review.opendev.org/#/c/694719
heat is enabled in this job and now now nova, but tempestconf checks, need to fix tempestconf to handle this case
https://github.com/openstack/python-tempestconf/blob/master/config_tempest/services/orchestration.py#L68-L80

2020-01-09 21:22:29.116858 | primary | 2020-01-09 21:22:28.940 121187 ERROR config_tempest.constants [-] No external networks found. Please note that any test that relies on external connectivity would most likely fail.
2020-01-09 21:22:29.117226 | primary | 2020-01-09 21:22:28.941 121187 CRITICAL tempest [-] Unhandled error: NoSectionError: No section: 'compute'
2020-01-09 21:22:29.117526 | primary | 2020-01-09 21:22:28.941 121187 ERROR tempest Traceback (most recent call last):
2020-01-09 21:22:29.117888 | primary | 2020-01-09 21:22:28.941 121187 ERROR tempest File "/bin/discover-tempest-config", line 10, in <module>
2020-01-09 21:22:29.118129 | primary | 2020-01-09 21:22:28.941 121187 ERROR tempest sys.exit(main())
2020-01-09 21:22:29.118575 | primary | 2020-01-09 21:22:28.941 121187 ERROR tempest File "/usr/lib/python2.7/site-packages/config_tempest/main.py", line 606, in main
2020-01-09 21:22:29.118831 | primary | 2020-01-09 21:22:28.941 121187 ERROR tempest verbose=args.verbose
2020-01-09 21:22:29.119289 | primary | 2020-01-09 21:22:28.941 121187 ERROR tempest File "/usr/lib/python2.7/site-packages/config_tempest/main.py", line 552, in config_tempest
2020-01-09 21:22:29.119580 | primary | 2020-01-09 21:22:28.941 121187 ERROR tempest services.post_configuration()
2020-01-09 21:22:29.120094 | primary | 2020-01-09 21:22:28.941 121187 ERROR tempest File "/usr/lib/python2.7/site-packages/config_tempest/services/services.py", line 244, in post_configuration
2020-01-09 21:22:29.120450 | primary | 2020-01-09 21:22:28.941 121187 ERROR tempest s.post_configuration(self._conf, self.is_service)
2020-01-09 21:22:29.120978 | primary | 2020-01-09 21:22:28.941 121187 ERROR tempest File "/usr/lib/python2.7/site-packages/config_tempest/services/orchestration.py", line 68, in post_configuration
2020-01-09 21:22:29.121292 | primary | 2020-01-09 21:22:28.941 121187 ERROR tempest compute_options = conf.options('compute')
2020-01-09 21:22:29.121689 | primary | 2020-01-09 21:22:28.941 121187 ERROR tempest File "/usr/lib64/python2.7/ConfigParser.py", line 279, in options
2020-01-09 21:22:29.121970 | primary | 2020-01-09 21:22:28.941 121187 ERROR tempest raise NoSectionError(section)
2020-01-09 21:22:29.122261 | primary | 2020-01-09 21:22:28.941 121187 ERROR tempest NoSectionError: No section: 'compute'
2020-01-09 21:22:29.122470 | primary | 2020-01-09 21:22:28.941 121187 ERROR tempest 
2020-01-09 21:22:29.122518 | primary |

https://f89fa2797d0f3f59cd1f-73ae00c4c0341f1a752104576c0d94a3.ssl.cf2.rackcdn.com/680573/13/check/tripleo-ci-centos-7-undercloud-containers/f280d1a/job-output.txt

Tags: tempest
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tempestconf 2.5.0

This issue was fixed in the openstack/python-tempestconf 2.5.0 release.

wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
status: Triaged → Fix Released
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.