Barbican adds unnecessary users to devstack install

Bug #1635062 reported by Dave McCowan on 2016-10-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Barbican
Triaged
Medium
Unassigned

Bug Description

When Barbican is installed with devstack, it creates the following extraneous users:

service-admin
project_a_admin
project_a_creator
project_a_creator_2
project_a_observer
project_a_auditor
project_b_admin
project_b_creator
project_b_observer
project_b_auditor

The users should only be created when running functional tests.
They should not be created for every devstack install.

Desired behavior:
Create these users as part of running functional tests.
Do not create these users as part of devstack install.

Changed in barbican:
importance: Undecided → Medium
status: New → Confirmed
Jeremy Liu (liujiong) wrote :

Functional test will not be only running in devstack env, but also can be in a real OpenStack env.
So we may not require creating projects/roles/users when running functional tests. Instead, I think it's not that unnecessary to do the creating job in devstack installation. If people are using a devstack for development, it's convenient for them to run test locally without preparing the extra resources needed.

Ade Lee (alee-3) on 2017-02-23
Changed in barbican:
assignee: nobody → Ade Lee (alee-3)
milestone: none → pike-1
Steve Heyman (sheyman) on 2017-04-05
Changed in barbican:
assignee: Ade Lee (alee-3) → Steve Heyman (sheyman)

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

Changed in barbican:
status: Confirmed → In Progress
Changed in barbican:
milestone: pike-1 → pike-2
Changed in barbican:
assignee: Steve Heyman (sheyman) → nobody
status: In Progress → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers