← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1515326] Re: nova.api.openstack.extensions AttributeError: '_TransactionFactory' object has no attribute '_writer_maker'

 

** Changed in: oslo.db
       Status: Fix Committed => Fix Released

** Changed in: oslo.db
    Milestone: None => 3.2.0

-- 
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/1515326

Title:
   nova.api.openstack.extensions AttributeError: '_TransactionFactory'
  object has no attribute '_writer_maker'

Status in OpenStack Compute (nova):
  In Progress
Status in oslo.db:
  Fix Released

Bug description:
  full log:
  http://52.27.155.124/240218/5/
  http://52.27.155.124/240218/5/screen-logs/n-api.log.gz

  
  pip freeze:
  http://52.27.155.124/240218/5/pip-freeze.txt.gz

  
  F.Y.I a bug seems same but it's not:  https://bugs.launchpad.net/oslo.db/+bug/1477080

  
  related exception for your convenient: 

  opt/stack/nova/nova/api/openstack/wsgi.py:792
  2015-11-11 22:02:42.644 ERROR nova.api.openstack.extensions [req-3e331369-71d7-448f-bb06-6ef34762bb73 tempest-InputScenarioUtils-640491222 tempest-InputScenarioUtils-1686267846] Unexpected exception in API method
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions Traceback (most recent call last):
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/openstack/extensions.py", line 478, in wrapped
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/openstack/compute/flavors.py", line 39, in index
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions     limited_flavors = self._get_flavors(req)
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/openstack/compute/flavors.py", line 110, in _get_flavors
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions     limit=limit, marker=marker)
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/compute/flavors.py", line 200, in get_all_flavors_sorted_list
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions     marker=marker)
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 171, in wrapper
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions     result = fn(cls, context, *args, **kwargs)
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/objects/flavor.py", line 269, in get_all
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions     marker=marker)
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/db/api.py", line 1442, in flavor_get_all
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions     sort_dir=sort_dir, limit=limit, marker=marker)
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 204, in wrapper
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 4698, in flavor_get_all
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions     query = _flavor_get_query(context, read_deleted=read_deleted)
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 4673, in _flavor_get_query
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions     read_deleted=read_deleted).\
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 266, in model_query
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions     session = get_session(use_slave=use_slave)
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 172, in get_session
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions     use_slave=use_slave, **kwargs)
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 977, in get_session
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions     return self._factory._writer_maker(**kwargs)
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions AttributeError: '_TransactionFactory' object has no attribute '_writer_maker'
  2015-11-11 22:02:42.644 36750 ERROR nova.api.openstack.extensions

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1515326/+subscriptions


References