Comment 2 for bug 1655264

Revision history for this message
Alexander Kislitsky (akislitsky) wrote :

We are checked the problem env and there was wierd data in the DB. In plugins.roles_metadadata there wasn't 'tags' for roles, but this data is added by migration for existed plugins: https://github.com/openstack/fuel-web/blob/stable/mitaka/nailgun/nailgun/db/migration/alembic_migrations/versions/fuel_9_2.py#L805. I've improved migration test for this case: https://review.openstack.org/#/c/418473/

For the new plugins 'tags' data added to the plugins.roles_metadata by: https://github.com/openstack/fuel-web/blob/stable/mitaka/nailgun/nailgun/objects/plugin.py#L84

On the problem env we have no 'tags' in the plugins.roles_metadata, but last DB migration is applied accordingly to the data in the alembic_migrations table.

After removing/installing the plugin primary_tags were set correctlly.

It is unable to reproduce the bug without detailed steps to reproduce. Marking the bug as Incomplete.