Comment 2 for bug 1782328

Revision history for this message
Krzysztof Pawlowski (krzysztof.pawlowski) wrote :

I my environment 'tags' table is empty and during nova-manage db archive_deleted_rows I've got above exception.

In my opinion it's because of:
https://github.com/openstack/nova/blob/stable/queens/nova/db/sqlalchemy/api.py#L6115
https://github.com/openstack/nova/blob/stable/queens/nova/db/sqlalchemy/api.py#L6118

Table 'tags' do not have column 'id' and 'deleted' which are required by code above.

As I understand:
https://github.com/openstack/nova/blob/stable/queens/nova/db/sqlalchemy/api.py#L6219
all tables are processed except:
https://github.com/openstack/nova/blob/stable/queens/nova/db/sqlalchemy/api.py#L6224

As I have written above issue occurs on Queens release. Probably it's fixed on master branch.
It would be nice to have this also fixed on Queens.