ironic.cmd.dbsync module¶
Run storage database migration.
- class ironic.cmd.dbsync.DBCommand[source]¶
Bases:
object
- check_obj_versions(ignore_missing_tables=False)[source]¶
Check the versions of objects.
Check that the object versions are compatible with this release of ironic. It does this by comparing the objects’ .version field in the database, with the expected versions of these objects.
Returns None if compatible; a string describing the issue otherwise.