Public bug reported: 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== ** Affects: nova Importance: Low Status: Confirmed ** Tags: low-hanging-fruit ** Changed in: nova Status: New => Confirmed ** Changed in: nova Importance: Undecided => Low -- 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): Confirmed 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp