periodic-tripleo-ci-centos-7-singlenode-featureset027-stein is failing tempest - NoOptionError: No option 'region' in section: 'identity'

Bug #1825265 reported by Ronelle Landy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
chandan kumar

Bug Description

periodic-tripleo-ci-centos-7-singlenode-featureset027-stein failed tempest testing with the following error:

2019-04-17 23:05:46 | 2019-04-17 23:05:46.340 26 DEBUG config_tempest.constants [-] Setting [heat_plugin] project_name = demo set /usr/lib/python2.7/site-packages/config_tempest/tempest_conf.py:107
2019-04-17 23:05:46 | 2019-04-17 23:05:46.341 26 CRITICAL tempest [-] Unhandled error: NoOptionError: No option 'region' in section: 'identity'
2019-04-17 23:05:46 | 2019-04-17 23:05:46.341 26 ERROR tempest Traceback (most recent call last):
2019-04-17 23:05:46 | 2019-04-17 23:05:46.341 26 ERROR tempest File "/usr/bin/discover-tempest-config", line 10, in <module>
2019-04-17 23:05:46 | 2019-04-17 23:05:46.341 26 ERROR tempest sys.exit(main())
2019-04-17 23:05:46 | 2019-04-17 23:05:46.341 26 ERROR tempest File "/usr/lib/python2.7/site-packages/config_tempest/main.py", line 592, in main
2019-04-17 23:05:46 | 2019-04-17 23:05:46.341 26 ERROR tempest verbose=args.verbose
2019-04-17 23:05:46 | 2019-04-17 23:05:46.341 26 ERROR tempest File "/usr/lib/python2.7/site-packages/config_tempest/main.py", line 516, in config_tempest
2019-04-17 23:05:46 | 2019-04-17 23:05:46.341 26 ERROR tempest services = Services(clients, conf, credentials)
2019-04-17 23:05:46 | 2019-04-17 23:05:46.341 26 ERROR tempest File "/usr/lib/python2.7/site-packages/config_tempest/services/services.py", line 42, in __init__
2019-04-17 23:05:46 | 2019-04-17 23:05:46.341 26 ERROR tempest self.discover()
2019-04-17 23:05:46 | 2019-04-17 23:05:46.341 26 ERROR tempest File "/usr/lib/python2.7/site-packages/config_tempest/services/services.py", line 111, in discover
2019-04-17 23:05:46 | 2019-04-17 23:05:46.341 26 ERROR tempest service.set_default_tempest_options(self._conf)
2019-04-17 23:05:46 | 2019-04-17 23:05:46.341 26 ERROR tempest File "/usr/lib/python2.7/site-packages/config_tempest/services/orchestration.py", line 42, in set_default_tempest_options
2019-04-17 23:05:46 | 2019-04-17 23:05:46.341 26 ERROR tempest conf.set(sec, 'region', conf.get('identity', 'region'))
2019-04-17 23:05:46 | 2019-04-17 23:05:46.341 26 ERROR tempest File "/usr/lib64/python2.7/ConfigParser.py", line 618, in get
2019-04-17 23:05:46 | 2019-04-17 23:05:46.341 26 ERROR tempest raise NoOptionError(option, section)
2019-04-17 23:05:46 | 2019-04-17 23:05:46.341 26 ERROR tempest NoOptionError: No option 'region' in section: 'identity'

The full log is linked below:

https://logs.rdoproject.org/openstack-periodic-latest-released/git.openstack.org/openstack-infra/tripleo-ci/master/periodic-tripleo-ci-centos-7-singlenode-featureset027-stein/a247eb3/logs/undercloud/home/zuul/tempest.log.txt.gz

Tags: alert ci
Revision history for this message
Ronelle Landy (rlandy) wrote :

Will ask the tempest team for some input here.

tags: added: alert ci
Changed in tripleo:
milestone: none → stein-rc1
importance: Undecided → Critical
status: New → Triaged
Revision history for this message
chandan kumar (chkumar246) wrote :
Revision history for this message
Ronelle Landy (rlandy) wrote :

Notes from Chandan:

<chandankumar> rlandy|ruck: https://github.com/openstack/python-tempestconf/commit/50920bd50bbdde34ba0da716363011bdd69f3c48
<chandankumar> rlandy|ruck: it caused it
<chandankumar> rlandy|ruck: recently we have added heat tempest plugin tempest.conf support
<chandankumar> in tempest.comf

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart-extras (master)

Fix proposed to branch: master
Review: https://review.openstack.org/653742

Changed in tripleo:
assignee: nobody → chandan kumar (chkumar246)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.opendev.org/653742
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=254443f7ec8ac87d3da9fe6a6cc24d24a8246877
Submitter: Zuul
Branch: master

commit 254443f7ec8ac87d3da9fe6a6cc24d24a8246877
Author: Chandan Kumar <email address hidden>
Date: Thu Apr 18 19:17:26 2019 +0530

    Set regionOne for undercloud and tempest_cloud_name

    https://review.openstack.org/#/c/645500/ with this review
    if heat is enabled, tempestconf tries to set the conf for
    heat tempest plugin where regionOne is required but in
    stackrc It is missing which leads to failure for
    generating tempest.conf.

    Closes-Bug: #1825265

    Change-Id: Id7dd0c0902536226aa9874a41407baef2f21f821
    Signed-off-by: Chandan Kumar <email address hidden>

Changed in tripleo:
status: In Progress → 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.