forked from openstack/cinder
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vmware] VmdkDriverRemoteApi: RPC initialization improvements
Currently, creating the RPC client at the driver initialization might lead into an issue that, while upgrading to newer releases, the RPC client will limit the maximum RPC version to the older release's version, since that version is never refreshed while the volume backend is running. Initializing the RPC client every time it's needed will make sure it always refreshes the available RPC service versions. Also, inherit the RPC_DEFAULT_VERSION from the VolumeAPI, so that the smallest available major version is requested by default, instead of the biggest available version.
- Loading branch information
Showing
3 changed files
with
25 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters