Account creation tool in tempest only handles identity v2

Bug #1494293 reported by Andrea Frittoli
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Medium
Andrea Frittoli

Bug Description

The current identity API version is v3, but the account creation tool only handles v2.
Jobs running with the pre-provisioned accounts can work with identity v3, by using v2 credentials in the default domain, but there are limitations. Also this creates an unneeded and unwanted dependency to v2.

Revision history for this message
Matthew Treinish (treinish) wrote :

So this is definitely a bug, it's also why I pushed for the tool to just be a shim around tenant isolation and stores the created resources from that in the yaml format. I do not know why it wasn't written that way, but if I were to fix it that's what I would do. The code is mostly duplicative to the tenant isolation allocation pieces anyway so we should probably wipe out the creation pieces and just import from tempest.common.isolated_creds we'll get the v3 support for free in that case too.

Changed in tempest:
importance: Undecided → Medium
status: New → Triaged
Shuquan Huang (shuquan)
Changed in tempest:
assignee: nobody → Shuquan Huang (shuquan)
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/317105

Changed in tempest:
assignee: Shuquan Huang (shuquan) → Andrea Frittoli (andrea-frittoli)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

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

commit bd06f981a7fccc911711f95f9318cc01d40c5eef
Author: Andrea Frittoli (andreaf) <email address hidden>
Date: Thu Jun 2 17:26:51 2016 +0100

    Account generator for identity v3

    Extend account generator to work with identity v3 API and
    credentials. To do so, replace a good chunk of the existing code
    with the credential provisioning APIs of the dynamic credentials
    provider. Add unit test coverage for the tool.

    Depends-on: I9fcb3497387fb32f3e515cda44a1a105921a04c2

    Closes-bug 1494293
    Change-Id: I9970cb29ec4d448a381b4fe293fdfd91d8cfc17a

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.