-
Language:
English
-
Language:
English
Red Hat Training
A Red Hat training course is available for Red Hat OpenStack Platform
6.7. keystone-manage db_sync
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] db_sync [-h] [--extension EXTENSION] [--expand | --migrate | --contract] [version]
Positional arguments
- version
Migrate the database up to a specified version. If not
provided, db_sync will migrate the database to the
latest known version. Schema downgrades are not
supported.
Optional arguments
- -h, --help
show this help message and exit
- --extension EXTENSION
This is a deprecated option to migrate a specified
extension. Since extensions are now part of the main
repository, specifying db_sync without this option
will cause all extensions to be migrated.
- --expand
Expand the database schema in preparation for data
migration.
- --migrate
Copy all data that needs to be migrated within the
database ahead of starting the first keystone node
upgraded to the new release. This command should be
run after the --expand command. Once the --migrate
command has completed, you can upgrade all your
keystone nodes to the new release and restart them.
- --contract
Remove any database tables and columns that are no
longer required. This command should be run after all
keystone nodes are running the new release.