]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add missing RPC calls versions to rpcapi modules
authorMichał Dulko <michal.dulko@intel.com>
Wed, 13 Jan 2016 15:18:45 +0000 (16:18 +0100)
committerMichał Dulko <michal.dulko@intel.com>
Fri, 29 Jan 2016 13:33:29 +0000 (08:33 -0500)
commit45145e596960f963a65d8706d0664facc2677a86
tree3c01c83775c03dfc0b4c859fd2caeb7fccc7333a
parent32ebecb28a021f06fe197f5e0cf9d5c624e2733a
Add missing RPC calls versions to rpcapi modules

Some RPC calls in rpcapi modules are not passing version indicators to
the RPC client. The RPC call version should be indicated explicitely
because otherwise it gets defaulted to the latest one or '1.0'. This
creates a set of problem in maintaining RPC API backward compatibility.

This commit changes these calls to point to the right versions according
to git history and version comments in rpcapi files.

Change-Id: Ib05d9748e18589df5a67f7b7ea668394cc8df769
Related-Blueprint: rpc-object-compatibility
cinder/backup/rpcapi.py
cinder/scheduler/rpcapi.py
cinder/tests/unit/backup/test_rpcapi.py
cinder/tests/unit/scheduler/test_rpcapi.py
cinder/tests/unit/test_volume_rpcapi.py
cinder/volume/rpcapi.py