Tempest assumes project_id is meaningful in Nova tests

Bug #1506037 reported by Sean Dague
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Opinion
Undecided
Unassigned

Bug Description

When trying to remove project_id from Nova urls, there are a few tempest tests that fail because they assume project_id in the url is meaningful to Nova (it's not).

These tests attempt to create a value under a different tenant by changing the url. If we make project_id optional in Nova, these calls no longer fail, but they don't create the entity under the new tenant (which is what the Tempest tests are trying to do).

Exactly how we rescope these tests at this point is unclear, but it does inhibit our ability to provide a migration path to a non project_id url world.

Revision history for this message
Masayuki Igawa (igawa) wrote :

I think this is a related patch for this bug. And is this still an actual bug?
------------
commit a0a9b24de0a2b2c48ce95a988c43cc9affe50652
Author: Sean Dague <email address hidden>
Date: Wed Mar 30 07:42:08 2016 -0400

    Remove AuthorizationTestJSON tests

    These are a set of legacy negative tests that make an assumption that
    Nova service URLs will have {project_id} in them, and that changing
    the value of {project_id} is a meaningful way to attempt to access
    resources by another tenant. Neither of these things are true.

    As of midway through Mitaka Nova landed a microversion that makes
    {project_id} an optional construct. When we actually deploy systems
    with this, of the 25 tests listed, 20 fail, 3 are skipped (due to
    custom skip logic I previously add), and 2 pass. Those 2 passes are
    actually as suspect as anything else, as they should now fail, and
    demonstrates other bugs in Tempest.

    The removal of these tests followed the full process required for
    removal of tests -
    http://lists.openstack.org/pipermail/openstack-dev/2016-March/088716.html

    Change-Id: I81d99d65b8affaea44ddd6643d6acc40068eead7
------------

Changed in tempest:
status: New → Opinion
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.