ironic.cmd.dbsync module

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]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.