Use accounts.yaml file as default method to create users for functional tests

Bug #1610186 reported by Vipul Nayyar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
In Progress
Low
Vipul Nayyar

Bug Description

Currently, the functional tests use dynamic credentials by default with Tempest. But the Tempest credentials module is written in such a way that if dynamic credentials are enabled, then you cannot use pre-provisioned user creds from an accounts.yaml file. Hence, in order to run tests where tenant sharing is required for users(bug/1564032) and for using Tempest the correct way, use_dynamic_credentials option should be set to false in tempest.conf file and accounts.yaml should be used instead.

For this, refactoring of currently present functional tests would be required. This would include using 'force_tenant_isolation = True' with Tempest credentials provider for tests which can run with dynamic credentials.

Changed in magnum:
assignee: nobody → Vipul Nayyar (vipulnayyar)
tags: added: tech-debt
Adrian Otto (aotto)
Changed in magnum:
importance: Undecided → Low
status: New → Triaged
Changed in magnum:
status: Triaged → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on magnum (master)

Change abandoned by Vipul Nayyar (<email address hidden>) on branch: master
Review: https://review.openstack.org/353998

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers