← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1707168] [NEW] [placement] resource provider trait-related query creates unicode warning

 

Public bug reported:

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.

** Affects: nova
     Importance: Low
     Assignee: Chris Dent (cdent)
         Status: In Progress


** Tags: placement

-- 
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):
  In Progress

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


Follow ups