senlin local temptest fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
senlin |
Fix Released
|
Undecided
|
XueFeng Liu |
Bug Description
Maybe two reasons cause this problem:
1.Tempest use "use_dynamic_
2.And in Ocata release "nova key-pair show" was changed.
In senlin gate, we can use "export KEEP_LOCALRC=1" to avoid this problem.
But in local temptest, it seems there is no good way to avoid.
Following is the log:
root@Nova:
WARNING: This script is deprecated and will be removed in the near future. Please migrate to tempest run or another method of launching a test runner
running=
OS_STDERR_
OS_TEST_
OS_TEST_
${PYTHON:-python} -m subunit.run discover -t ${OS_TOP_LEVEL:-./} ${OS_TEST_
running=
OS_STDERR_
OS_TEST_
OS_TEST_
${PYTHON:-python} -m subunit.run discover -t ${OS_TOP_LEVEL:-./} ${OS_TEST_
{0} senlin.
=======
Failed 1 tests - output below:
=======
senlin.
-------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/opt/stack/
File "/opt/stack/
res = base.client.
File "/opt/stack/
resp, body = self.post(uri, body=jsonutils.
File "tempest/
return self.request(
File "tempest/
File "tempest/
tempest.
Details: No Keypair found for oskey
Captured pythonlogging:
~~~~~~~
2017-04-02 22:19:23,102 16387 INFO [tempest.
2017-04-02 22:19:23,102 16387 DEBUG [tempest.
Body: {"profile": {"metadata": null, "name": "tempest-
Response - Headers: {'status': '500', u'content-length': '238', 'content-location': 'http://
Body: {"code": 500, "error": {"code": 500, "message": "No Keypair found for oskey", "type": "InternalError"}, "explanation": "The server has either erred or is incapable of performing the requested operation.", "title": "Internal Server Error"}
======
Totals
======
Ran: 1 tests in 14.0000 sec.
- Passed: 0
- Skipped: 0
- Expected Fail: 0
- Unexpected Success: 0
- Failed: 1
Sum of execute time for each test: 2.1372 sec.
==============
Worker Balance
==============
- Worker 0 (1 tests) => 0:00:02.137250
No tests were successful during the run
description: | updated |
description: | updated |
Changed in senlin: | |
status: | Opinion → In Progress |
Maybe two reason cause this problem: credentials= True" by default.
1.Temptest use "use_dynamic_
2.And in Ocata release "nova key-pair show" was changed.
In senlin gate, we can use "export KEEP_LOCALRC=1" to avoid this problem.
But in local temptest, it seems there is no good way to avoid.