quotas test fails when admin username is not 'admin'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Barbican |
Fix Released
|
Medium
|
Steve Heyman |
Bug Description
Found in: any environment where the admin userid is NOT 'admin'
Component: barbican
Endpoint: n/a
Severity 3
Priority 3
Description: Running Quotas functional tests fail in any environment where the admin userid (found in the [identity] section of the barbican-
Reproduction Steps: Execute the barbican functional tests and see that the functionaltests
invalid id passed to get_project_
Workaround: skip Quotas tests
Test Case: functionaltests
Regression? No. This is a new function added by https:/
Depends on Story/CR/Other Defect: n/a
Expected Behaviour: Quotas test cases pass and do not give an error due to bad admin userid.
Actual Behavior: Quotas tests fail due to invalid admin userid.
Details: Fix is in setUp method of QuotasTestCase class. Change the hardcoded 'admin' to use CONF.identity.
Changed in barbican: | |
assignee: | nobody → Steve Heyman (sheyman) |
Changed in barbican: | |
status: | Confirmed → In Progress |
Changed in barbican: | |
status: | In Progress → New |
status: | New → In Progress |
Changed in barbican: | |
milestone: | none → liberty-3 |
status: | Fix Committed → Fix Released |
Changed in barbican: | |
milestone: | liberty-3 → 1.0.0 |
Reviewed: https:/ /review. openstack. org/213860 /git.openstack. org/cgit/ openstack/ barbican/ commit/ ?id=2219b48f07f b9a8e4ec5166e94 e84e06feaafe0a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2219b48f07fb9a8 e4ec5166e94e84e 06feaafe0a
Author: Steve Heyman <email address hidden>
Date: Mon Aug 17 16:04:49 2015 -0500
Use config rather than hardcoded admin id from Quotas test
Rather than use hardcoded 'admin' userid, get the identity. username) .
userid in the setUp() method in QuotasTestCase from the config
(CONF.
Change-Id: I4c5ab05a9a55f9 f9a093a0ff60f67 93337863aa6
Closes-Bug: #1485762