<div dir="ltr"><div>Hi</div><div><br></div><div>We have just done the update Kilo --> Liberty --> Mitaka  of our Cloud. We went through Liberty just for the migration of the databases.</div><div><br></div><div>In the updated (to Mitaka) installation, if I click "Update metadata" on a image, I am told:</div><div><br></div><div>Error: Unable to retrieve the namespaces.</div><div>In the glance api log file I see:</div><div><br></div><div>2016-11-17 15:33:30.313 11829 ERROR glance.api.v2.metadef_namespaces [req-81b31f76-f665-4933-805e-3fd1d5e7c045 a1f915a7a36c471d87d6702255016df4 36b1</div><div>ddb5dab8404dbe7fc359ec95ecf5 - - -] (pymysql.err.ProgrammingError) (1146, u"Table 'glance_prod.metadef_resource_types' doesn't exist") [SQL: u'SELECT <a href="http://metadef_resource_types.name">metadef_resource_types.name</a> AS metadef_resource_types_name, metadef_namespace_resource_types.namespace_id AS metadef_namespace_resource_types_name</div><div>space_id \nFROM metadef_resource_types INNER JOIN metadef_namespace_resource_types ON <a href="http://metadef_resource_types.id">metadef_resource_types.id</a> = metadef_namespace_resource_types.resource_type_id \nWHERE <a href="http://metadef_resource_types.name">metadef_resource_types.name</a> IN (%s)'] [parameters: (u'OS::Glance::Image',)]</div><div><br></div><div><br></div><div>Indeed I don't have this table in my glance database:</div><div><br></div><div>mysql> show tables;</div><div>+-----------------------+</div><div>| Tables_in_glance_prod |</div><div>+-----------------------+</div><div>| image_locations       |</div><div>| image_members         |</div><div>| image_properties      |</div><div>| image_tags            |</div><div>| images                |</div><div>| migrate_version       |</div><div>| task_info             |</div><div>| tasks                 |</div><div>+-----------------------+</div><div>8 rows in set (0.00 sec)</div><div><br></div><div>I didn't have any errors running db_sync, apart some deprecation messages (and the install guide says that they can be ignored):</div><div><br></div><div>su -s /bin/sh -c "glance-manage db_sync" glance</div><div>Option "verbose" from group "DEFAULT" is deprecated for removal.  Its value may be silently ignored in the future.</div><div>/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py:1056: OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade</div><div>  expire_on_commit=expire_on_commit, _conf=conf)</div><div><br></div><div>Any hints ?</div><div><br></div><div>Thanks, Massimo</div></div>