I am trying to upgrade database's schema of cinder from Newton to Ocata version. I found two command to do that is cinder-manage db sync and cinder-manage db online_data_migrations but can anyone explain for me what exactly those command do?
Thanks!
What diff between `cinder-manage db sync` and `cinder-manage db online_data_migrations` command?
363 Views Asked by lamth At
1
There are 1 best solutions below
Related Questions in OPENSTACK
- Failed to launch instance
- Instance creation in devstack icehouse
- Openstack token, I can get token with curl but can't with urllib
- where to edit physical_interface_mappings for openstack neutron network
- Creating a Virtual Machine on Bluemix, is giving an error while importing ssh key
- Using Chef with OpenStack, what would encourage me to use Heat templates?
- openstack - stack.sh fails on syntax errors
- Keystone connection fail
- What is meaning of gettext('Some Text') in Openstack
- Openstack Heat & Ansible. VM spinup and App deployment
- Launch an instance from a non-glance image in OpenStack
- what's the default timeout of func
- Network Block Device - Receive control failed (result -32) - Kernel 3.16.0-41
- Bluemix: Cannot create VM with public IP
- Openstack: Participating in localization
Related Questions in CINDER
- How to get Kinect working with Cinder on a Mac
- Launch an instance from a non-glance image in OpenStack
- Constructor for must explicity initialize the member which does not have a default constructor
- Setting up C++ Cinder Project from scratch with Make
- Rotate object to point at mouse position
- List iterator not incrementable when checking collision between objects
- How to use OpenStack Cinder to create storage class and dynamically provision persistent volume in Kubernetes Cluster
- Nested namespace can't be found in spite of including header file
- Can only reset cinder volume state as the admin user
- How does this conversion to bool work?
- Drawing text in Cinder
- Why does my KISS FFT plot show duplicate peaks mirrored on the y-axis?
- openstack-cinder, how to resize a volume?
- OpenGL: How do I sort points depending on the camera distance?
- Debugging poor I/O performance on OpenStack block device (OpenStack kolla:queen)
Related Questions in OPENSTACK-CINDER
- Devstack installation fail at python update.py /opt/stack//cinder
- Create an instance from volume in openstach with python-novaclient
- Boot from ISO on reboot is again installing it from ISO in icehouse
- Can only reset cinder volume state as the admin user
- Openstack All-In-One local storage size
- Openstack cinder volume resize does not reflect without a vm reboot
- Failing to attach volume to openstack instance
- HOT template for cinder volume with or without volume_type
- OpenStack magnum Kubernetes cluster config issues
- Kubernetes associate cinder storage with pod
- Openstack volume service list showing down
- how openstack cinder distribute volume without special type while configure two ceph backend pools
- What is the difference between ceph rbd and iscsi in the context of Cinder volume (of type ceph)?
- OpenStack (Swift) or CEPH deduplication feature? or any deduplication HA storage cluster solutions?
- Openstack heat : Stack deletion behaviour in case of attaching a volume as a part of HEAT templete
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The difference here is that the
db synccommand upgrades the database schema, whiledb online_data_migrationsmigrates or re-formats data.When running the migration command under Octata the following scripts would be invoked. https://github.com/openstack/cinder/blob/ocata-em/cinder/db/sqlalchemy/api.py#L5854 https://github.com/openstack/cinder/blob/ocata-em/cinder/db/sqlalchemy/api.py#L5537
The general idea is that the implementation might have changed and data needs to be transformed or moved to work in a newer version of the service.