← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1790750] Re: Error in db archiver

 

** Also affects: nova/ocata
   Importance: Undecided
       Status: New

** Also affects: nova/rocky
   Importance: Undecided
       Status: New

** Also affects: nova/queens
   Importance: Undecided
       Status: New

** Also affects: nova/pike
   Importance: Undecided
       Status: New

** Changed in: nova/rocky
       Status: New => Confirmed

** Changed in: nova/pike
       Status: New => Confirmed

** Changed in: nova/ocata
       Status: New => Confirmed

** Changed in: nova/pike
   Importance: Undecided => Medium

** Changed in: nova/queens
   Importance: Undecided => Medium

-- 
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
Status in OpenStack Compute (nova) ocata series:
  Confirmed
Status in OpenStack Compute (nova) pike series:
  Confirmed
Status in OpenStack Compute (nova) queens series:
  Confirmed
Status in OpenStack Compute (nova) rocky series:
  Confirmed

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


References