← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1790750] [NEW] Error in db archiver

 

Public bug reported:

Getting the following error when running the db archiver:

An error has occurred:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nova/cmd/manage.py", line 1691, in main
    ret = fn(*fn_args, **fn_kwargs)
  File "/usr/lib/python2.7/dist-packages/nova/cmd/manage.py", line 704, in archive_deleted_rows
    run = db.archive_deleted_rows(max_rows, before=before_date)
  File "/usr/lib/python2.7/dist-packages/nova/db/api.py", line 2049, in archive_deleted_rows
    return IMPL.archive_deleted_rows(max_rows=max_rows, before=before)
  File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 6577, in archive_deleted_rows
    before=before)
  File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 6541, in _archive_deleted_rows_for_table
    conn, limit, before)
  File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 6436, in _archive_if_instance_deleted
    {'table': table.__tablename__,
AttributeError: 'Table' object has no attribute '__tablename__'

** Affects: nova
     Importance: Undecided
     Assignee: Sam Morrison (sorrison)
         Status: In Progress


** Tags: db nova-manage

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

Title:
  Error in db archiver

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  Getting the following error when running the db archiver:

  An error has occurred:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/nova/cmd/manage.py", line 1691, in main
      ret = fn(*fn_args, **fn_kwargs)
    File "/usr/lib/python2.7/dist-packages/nova/cmd/manage.py", line 704, in archive_deleted_rows
      run = db.archive_deleted_rows(max_rows, before=before_date)
    File "/usr/lib/python2.7/dist-packages/nova/db/api.py", line 2049, in archive_deleted_rows
      return IMPL.archive_deleted_rows(max_rows=max_rows, before=before)
    File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 6577, in archive_deleted_rows
      before=before)
    File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 6541, in _archive_deleted_rows_for_table
      conn, limit, before)
    File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 6436, in _archive_if_instance_deleted
      {'table': table.__tablename__,
  AttributeError: 'Table' object has no attribute '__tablename__'

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


Follow ups