tempest.lib.exceptions.NotFound: Object not found causes failure on stable/train tripleo-ci-centos-7-scenario010-standalone

Bug #1879941 reported by Bhagyashri Shewale
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
chandan kumar

Bug Description

Error log:

ft1.1: setUpClass (octavia_tempest_plugin.tests.scenario.v2.test_load_balancer.LoadBalancerScenarioTest)_StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tempest/test.py", line 188, in setUpClass
    six.reraise(etype, value, trace)
  File "/usr/lib/python2.7/site-packages/tempest/test.py", line 173, in setUpClass
    cls.setup_credentials()
  File "/usr/lib/python2.7/site-packages/octavia_tempest_plugin/tests/test_base.py", line 107, in setup_credentials
    super(LoadBalancerBaseTest, cls).setup_credentials()
  File "/usr/lib/python2.7/site-packages/tempest/test.py", line 424, in setup_credentials
    force_new=True)
  File "/usr/lib/python2.7/site-packages/tempest/test.py", line 695, in get_client_manager
    creds = cred_provider.get_creds_by_roles(**params)
  File "/usr/lib/python2.7/site-packages/tempest/lib/common/dynamic_creds.py", line 373, in get_creds_by_roles
    return self.get_credentials(roles)
  File "/usr/lib/python2.7/site-packages/tempest/lib/common/dynamic_creds.py", line 338, in get_credentials
    credentials = self._create_creds(roles=credential_type)
  File "/usr/lib/python2.7/site-packages/tempest/lib/common/dynamic_creds.py", line 203, in _create_creds
    self.creds_client.assign_user_role(user, project, role)
  File "/usr/lib/python2.7/site-packages/tempest/lib/common/cred_client.py", line 76, in assign_user_role
    raise lib_exc.NotFound(msg)
tempest.lib.exceptions.NotFound: Object not found
Details: No "_member_" role found

[1]: https://zuul.opendev.org/t/openstack/builds?job_name=tripleo-ci-centos-7-scenario010-standalone

[2]: https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_069/728956/2/check/tripleo-ci-centos-7-scenario010-standalone/069b4b4/logs/undercloud/var/log/tempest/stestr_results.html

Tags: alert ci
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
Brent Eagles (beagles) wrote :

odd.. some of the tempest config is missing. It can be borrowed from the scenario010 ovn provider job

Revision history for this message
Brent Eagles (beagles) wrote :

Just checked featureset062.yml in tripleo-quickstart and it seems as though the member_role is supposed to be being set there but for some reason it is not.

Revision history for this message
Bhagyashri Shewale (bhagyashri-shewale) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart (master)

Reviewed: https://review.opendev.org/729926
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart/commit/?id=140a85122fa58e86bbd0a23d538e734f060de7b1
Submitter: Zuul
Branch: master

commit 140a85122fa58e86bbd0a23d538e734f060de7b1
Author: Chandan Kumar (raukadah) <email address hidden>
Date: Thu May 21 17:02:48 2020 +0530

    Use tempest_tempestconf_profile_overrides for extra overrides

    Currently tempest_tempest_conf_overrides is used for passing
    extra tempest conf overrides as well as tempestconf profile
    overrides.

    In TOCI side env file, we used tempest_tempest_conf_overrides to
    pass image overrides which got highest priority gets the existing
    value from featureset overriden leading to failure in sc010.

    Using tempest_tempestconf_profile_overrides fixes the issue.

    Closes-Bug: #1879941

    Change-Id: I169e8f5940f69ee67391180b396dd1fbf98fb2be
    Signed-off-by: Chandan Kumar (raukadah) <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.