tempest.api.identity.admin.v3.test_roles.RolesV3TestJSON.test_implied_roles_create_check_show_delete fails

Solution Verified - Updated -

Issue

  • tempest.api.identity.admin.v3.test_roles.RolesV3TestJSON.test_implied_roles_create_check_show_delete fails

    {0} tempest.api.identity.admin.v3.test_roles.RolesV3TestJSON.test_implied_roles_create_check_show_delete [0.399306s] ... FAILED
    
    Captured traceback:
    ~~~~~~~~~~~~~~~~~~~
        Traceback (most recent call last):
          File "/usr/lib/python2.7/site-packages/tempest/api/identity/admin/v3/test_roles.py", line 208, in test_implied_roles_create_check_show_delete
            prior_role_id, implies_role_id)
          File "/usr/lib/python2.7/site-packages/tempest/lib/services/identity/v3/roles_client.py", line 233, in check_role_inference_rule
            self.expected_success(204, resp.status)
          File "/usr/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 261, in expected_success
            raise exceptions.InvalidHttpSuccessCode(details)
        tempest.lib.exceptions.InvalidHttpSuccessCode: The success code is different than the expected one
        Details: Unexpected http success status code 200, The expected status code is 204
    ...
    

    The return status code should be 200 but 204 is actually returned.

Environment

  • Red Hat OpenStack Platform 13
  • mod_wsgi

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content