yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #37287
[Bug 1479066] Re: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
** Also affects: oslo.vmware
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1479066
Title:
DeprecationWarning: BaseException.message has been deprecated as of
Python 2.6
Status in OpenStack Compute (nova):
In Progress
Status in oslo.vmware:
New
Bug description:
I see these when running tests:
Captured stderr:
~~~~~~~~~~~~~~~~
nova/virt/libvirt/volume/volume.py:392: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
if ('device is busy' in exc.message or
Seems that bug 1447946 was meant to fix some of this but it only
handles NovaException, not other usage.
We should be able to use six.text_type(e) for 'if str in e' type
checks.
http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiRGVwcmVjYXRpb25XYXJuaW5nOiBCYXNlRXhjZXB0aW9uLm1lc3NhZ2UgaGFzIGJlZW4gZGVwcmVjYXRlZCBhcyBvZiBQeXRob24gMi42XCIgQU5EIHByb2plY3Q6XCJvcGVuc3RhY2svbm92YVwiIiwiZmllbGRzIjpbXSwib2Zmc2V0IjowLCJ0aW1lZnJhbWUiOiI2MDQ4MDAiLCJncmFwaG1vZGUiOiJjb3VudCIsInRpbWUiOnsidXNlcl9pbnRlcnZhbCI6MH0sInN0YW1wIjoxNDM4MTA2MTkwOTI3fQ==
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1479066/+subscriptions
References