test_images_member fails without tenant isolation

Bug #1277732 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Matthew Treinish

Bug Description

  File "/usr/lib/python2.6/site-packages/nose/suite.py", line 208, in run
    self.setUp()
  File "/usr/lib/python2.6/site-packages/nose/suite.py", line 291, in setUp
    self.setupContext(ancestor)
  File "/usr/lib/python2.6/site-packages/nose/suite.py", line 314, in setupContext
    try_run(context, names)
  File "/usr/lib/python2.6/site-packages/nose/util.py", line 469, in try_run
    return func()
  File "/tmp/tempest/tempest/tempest/api/image/base.py", line 150, in setUpClass
    alt_tenant_name = cls.os_alt.tenant_name
'AltManager' object has no attribute 'tenant_name'

I'm running without tenant isolation because I'm using neutron.

Not sure if it has something to do with this or not?

https://github.com/openstack/tempest/commit/fd5c7597db6496822c3d25a35e0fade6cb31c417

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

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

Changed in tempest:
assignee: nobody → Matthew Treinish (treinish)
status: New → In Progress
Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
David Kranz (david-kranz) wrote :

I ran into some issues running without tenant isolation as well on havana. We should really have a nightly run that just does sequential with no isolation because right now that path is simply not going to be tested once we turn it on in neutron.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/72016
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=4990c070d10c4b32922575f5ca162f6458fc2f7d
Submitter: Jenkins
Branch: master

commit 4990c070d10c4b32922575f5ca162f6458fc2f7d
Author: Matthew Treinish <email address hidden>
Date: Fri Feb 7 22:34:45 2014 +0000

    Fix images tests with tenant isolation disabled

    This commit fixes the images clients for when tenant isolation is
    disabled. The base image test class still had a reference to the old
    auth style to get the tenant name if tenant isolation was disabled.
    The recent auth_provider refactor didn't update this call so the test
    would fail. This commit updates it to use the new credential dict to
    get the tenant_name

    Closes-Bug: #1277732

    Change-Id: I42bace92e5f633d410c7a59299680caafff680f9

Changed in tempest:
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.