nova report DeprecationWarning message when using exception.message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Eli Qiao |
Bug Description
taget@taget-
py27 develop-
py27 runtests: PYTHONHASHSEED='0'
py27 runtests: commands[0] | find . -type f -name *.pyc -delete
py27 runtests: commands[1] | bash tools/pretty_tox.sh nova.tests.
running testr
running=
OS_STDERR_
OS_TEST_
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_
running=
OS_STDERR_
OS_TEST_
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_
{0} nova.tests.
Captured stderr:
~~~~~~~~~~~~~~~~
nova/
self.
and this can be fixed by overwrite NovaException.
[1] http://
Changed in nova: | |
assignee: | nobody → Eli Qiao (taget-9) |
status: | New → Confirmed |
summary: |
- nova report DeprecationWarning message is using exception.message + nova report DeprecationWarning message when using exception.message |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
milestone: | liberty-1 → 12.0.0 |
Reviewed: https:/ /review. openstack. org/177105 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=731719d4a05 c12adb75cf075f7 69ef26e7b81ef2
Committed: https:/
Submitter: Jenkins
Branch: master
commit 731719d4a05c12a db75cf075f769ef 26e7b81ef2
Author: Eli Qiao <email address hidden>
Date: Fri Apr 24 15:47:33 2015 +0800
Overwrite NovaException message
I see nova reports DeprecationWarning message when using exception.message.
Deprecation Warning: BaseException. message has been deprecated as of Python 2.6
This can be fixed by overwrite message in our Nova base Exception.
Closes-Bug: #1447946 f1565f748f69aa3 497ca7ef4d2
Change-Id: I7270e06622131a