raise Invalid credentials when run "rally verfy start compute"

Bug #1432518 reported by yuchuan zhang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Fix Released
Medium
Andriy Kurilin

Bug Description

Raise the many below errors when run "rally verfy start compute"
======================================================================
FAIL: setUpClass (tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
_StringException: Traceback (most recent call last):
  File "/root/.rally/tempest/for-deployment-dc99bad6-b9fe-4221-8d96-a61c1bd7264d/tempest/test.py", line 241, in setUpClass
    cls.resource_setup()
  File "/root/.rally/tempest/for-deployment-dc99bad6-b9fe-4221-8d96-a61c1bd7264d/tempest/api/compute/volumes/test_volumes_negative.py", line 33, in resource_setup
    super(VolumesNegativeTest, cls).resource_setup()
  File "/root/.rally/tempest/for-deployment-dc99bad6-b9fe-4221-8d96-a61c1bd7264d/tempest/api/compute/base.py", line 46, in resource_setup
    cls.multi_user = cls.check_multi_user()
  File "/root/.rally/tempest/for-deployment-dc99bad6-b9fe-4221-8d96-a61c1bd7264d/tempest/api/compute/base.py", line 99, in check_multi_user
    if not cls.isolated_creds.is_multi_user():
  File "/root/.rally/tempest/for-deployment-dc99bad6-b9fe-4221-8d96-a61c1bd7264d/tempest/common/accounts.py", line 171, in is_multi_user
    return self._unique_creds('username')
  File "/root/.rally/tempest/for-deployment-dc99bad6-b9fe-4221-8d96-a61c1bd7264d/tempest/common/accounts.py", line 160, in _unique_creds
    alt_user = self.get_alt_creds()
  File "/root/.rally/tempest/for-deployment-dc99bad6-b9fe-4221-8d96-a61c1bd7264d/tempest/common/accounts.py", line 207, in get_alt_creds
    'alt_user')
  File "/root/.rally/tempest/for-deployment-dc99bad6-b9fe-4221-8d96-a61c1bd7264d/tempest/common/cred_provider.py", line 59, in get_configured_credentials
    credentials = auth.get_credentials(fill_in=fill_in, **params)
  File "/root/.rally/tempest/for-deployment-dc99bad6-b9fe-4221-8d96-a61c1bd7264d/tempest/auth.py", line 472, in get_credentials
    auth_provider = auth_provider_class(creds)
  File "/root/.rally/tempest/for-deployment-dc99bad6-b9fe-4221-8d96-a61c1bd7264d/tempest/auth.py", line 205, in __init__
    super(KeystoneAuthProvider, self).__init__(credentials, interface)
  File "/root/.rally/tempest/for-deployment-dc99bad6-b9fe-4221-8d96-a61c1bd7264d/tempest/auth.py", line 51, in __init__
    raise TypeError("Invalid credentials")
TypeError: Invalid credentials

Revision history for this message
yuchuan zhang (yuchuan-zhang) wrote :

the root cause perhaps is that tempest.conf which is generated by Rally have a defect: the "alt_username" option is not inserted.

Changed in rally:
status: New → Confirmed
tags: added: credentials tempest verification
Changed in rally:
importance: Undecided → Medium
Changed in rally:
assignee: nobody → Andrey Kurilin (akurilin)
status: Confirmed → In Progress
milestone: none → 0.0.3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to rally (master)

Reviewed: https://review.openstack.org/171198
Committed: https://git.openstack.org/cgit/stackforge/rally/commit/?id=405f5f42ff03c46a1d533cce3c88b0471e96d0bc
Submitter: Jenkins
Branch: master

commit 405f5f42ff03c46a1d533cce3c88b0471e96d0bc
Author: Andrey Kurilin <email address hidden>
Date: Tue Apr 7 16:44:08 2015 +0300

    Specify alt_user in tempest config

    Change-Id: I4b4abec473e02250464ae134c89ace946514ff28
    Closes-Bug: #1432518

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