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.

create_schema()[source]
online_data_migrations()[source]
revision()[source]
stamp()[source]
upgrade()[source]
version()[source]
ironic.cmd.dbsync.add_command_parsers(subparsers)[source]
ironic.cmd.dbsync.main()[source]