]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add version columns to services table
authorThang Pham <thang.g.pham@gmail.com>
Fri, 24 Jul 2015 14:56:32 +0000 (07:56 -0700)
committerThang Pham <thang.g.pham@gmail.com>
Mon, 17 Aug 2015 23:31:34 +0000 (16:31 -0700)
commit677ff1c699387dc3d7a598e52d1860b5ba8da1bc
treec3b455836a85f4b3602e714dbe623989990d8b91
parent442aea54c9cdcbeb44b9eb8289b8207dddfd4adc
Add version columns to services table

The following patch is part of the cinder effort to
support rolling upgrade.  This patch adds columns
to the services table to track the RPC and
oslo_versionedobjects versions of each service.

Follow up patches will be made to have each service:
register its RPC and oslo_versionedobjects versions on
startup, make the RPC and oslo_versionedobjects versions
compatible with an older release, and update the versions
once all services are updated to the latest release.

Change-Id: Ifa6c6ac230988c75dcc4e5fe220bfc5ee70ac338
Partial-Implements: blueprint rpc-object-compatibility
cinder/backup/rpcapi.py
cinder/db/sqlalchemy/migrate_repo/versions/053_add_version_columns_to_service.py [new file with mode: 0644]
cinder/db/sqlalchemy/models.py
cinder/objects/backup.py
cinder/objects/base.py
cinder/objects/snapshot.py
cinder/objects/volume.py
cinder/tests/unit/test_migrations.py