yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74589
[Bug 1790750] Re: Error in db archiver
Reviewed: https://review.openstack.org/599878
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=d0657f4acf30f77ae978bf95a9d7ce76fe97a56c
Submitter: Zuul
Branch: master
commit d0657f4acf30f77ae978bf95a9d7ce76fe97a56c
Author: Sam Morrison <sorrison@xxxxxxxxx>
Date: Wed Sep 5 11:03:48 2018 +1000
Fix DB archiver AttributeError due to wrong table name attribute used
Change-Id: I658a12b3672eb8b1e97522259e9a212b3e6ab161
Closes-bug: #1790750
** Changed in: nova
Status: In Progress => Fix Released
--
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):
Fix Released
Status in OpenStack Compute (nova) ocata series:
In Progress
Status in OpenStack Compute (nova) pike series:
In Progress
Status in OpenStack Compute (nova) queens series:
In Progress
Status in OpenStack Compute (nova) rocky series:
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
References