yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #66815
[Bug 1712278] [NEW] Default qos policy doesn't work when creating network
Public bug reported:
Default qos policy doesn't work fine when creating network. Neutron
server returns 500.
2017-08-22 05:12:27.820 ERROR oslo_db.sqlalchemy.exc_filters [req-6e5e754a-2af6-41ce-8f9f-284b291c3b4d demo demo] DB exception wrapped.: AttributeError: 'QosPolicyDefault' object has no attribute 'translate'
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters Traceback (most recent call last):
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters context)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 470, in do_execute
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters cursor.execute(statement, parameters)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/cursors.py", line 164, in execute
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters query = self.mogrify(query, args)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/cursors.py", line 143, in mogrify
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters query = query % self._escape_args(args, conn)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/cursors.py", line 123, in _escape_args
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters return dict((key, conn.literal(val)) for (key, val) in args.items())
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/cursors.py", line 123, in <genexpr>
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters return dict((key, conn.literal(val)) for (key, val) in args.items())
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/connections.py", line 821, in literal
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters return self.escape(obj, self.encoders)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/connections.py", line 814, in escape
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters return escape_item(obj, self.charset, mapping=mapping)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/converters.py", line 27, in escape_item
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters val = encoder(val, mapping)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/converters.py", line 110, in escape_unicode
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters return u"'%s'" % _escape_unicode(value)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/converters.py", line 73, in _escape_unicode
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters return value.translate(_escape_table)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters AttributeError: 'QosPolicyDefault' object has no attribute 'translate'
** Affects: neutron
Importance: High
Assignee: Hirofumi Ichihara (ichihara-hirofumi)
Status: In Progress
** Tags: qos
** Changed in: neutron
Assignee: (unassigned) => Hirofumi Ichihara (ichihara-hirofumi)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1712278
Title:
Default qos policy doesn't work when creating network
Status in neutron:
In Progress
Bug description:
Default qos policy doesn't work fine when creating network. Neutron
server returns 500.
2017-08-22 05:12:27.820 ERROR oslo_db.sqlalchemy.exc_filters [req-6e5e754a-2af6-41ce-8f9f-284b291c3b4d demo demo] DB exception wrapped.: AttributeError: 'QosPolicyDefault' object has no attribute 'translate'
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters Traceback (most recent call last):
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters context)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 470, in do_execute
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters cursor.execute(statement, parameters)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/cursors.py", line 164, in execute
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters query = self.mogrify(query, args)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/cursors.py", line 143, in mogrify
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters query = query % self._escape_args(args, conn)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/cursors.py", line 123, in _escape_args
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters return dict((key, conn.literal(val)) for (key, val) in args.items())
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/cursors.py", line 123, in <genexpr>
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters return dict((key, conn.literal(val)) for (key, val) in args.items())
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/connections.py", line 821, in literal
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters return self.escape(obj, self.encoders)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/connections.py", line 814, in escape
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters return escape_item(obj, self.charset, mapping=mapping)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/converters.py", line 27, in escape_item
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters val = encoder(val, mapping)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/converters.py", line 110, in escape_unicode
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters return u"'%s'" % _escape_unicode(value)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/pymysql/converters.py", line 73, in _escape_unicode
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters return value.translate(_escape_table)
2017-08-22 05:12:27.820 TRACE oslo_db.sqlalchemy.exc_filters AttributeError: 'QosPolicyDefault' object has no attribute 'translate'
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1712278/+subscriptions
Follow ups