Reviewed: https://review.openstack.org/488363 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=5728a575c77bc74af8df5e5d8ef22dba0eed1677 Submitter: Jenkins Branch: master
commit 5728a575c77bc74af8df5e5d8ef22dba0eed1677 Author: Chris Dent <cd...@anticdent.org> Date: Fri Jul 28 11:25:13 2017 +0100 [placement] quash unicode warning with shared provider trait.name is expected to be unicode and sqlalchemy will warn when it doesn't get that. The os_traits library creates default quoted strings for its symbols, so it needs a six.text_type wrapper to shut the warning up. Closes-Bug: #1707168 Change-Id: Id9d859830d584d650ea748c8c5274156a30fd773 ** Changed in: nova Status: In Progress => Fix Released -- 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/1707168 Title: [placement] resource provider trait-related query creates unicode warning Status in OpenStack Compute (nova): Fix Released Bug description: Running queries for shared providers creates the following warning: /home/cdent/src/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py:340: OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade self._legacy_facade = LegacyEngineFacade(None, _factory=self) /home/cdent/src/nova/.tox/functional/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:219: SAWarning: Unicode type received non-unicode bind param value 'MISC_SHARES_VIA_AGGREGATE'. (this warning may be suppressed after 10 occurrences) (util.ellipses_string(value),)) This is annoying when trying to evaluate test logs. It's noise. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1707168/+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