Merge "Change pure drivers default replication interval"

This commit is contained in:
Jenkins 2017-08-15 15:29:22 +00:00 committed by Gerrit Code Review
commit 6bab0a6d5f
4 changed files with 16 additions and 6 deletions

View File

@ -60,7 +60,7 @@ GET_ARRAY_SECONDARY = {"version": "99.9.9",
REPLICATION_TARGET_TOKEN = "12345678-abcd-1234-abcd-1234567890ab"
REPLICATION_PROTECTION_GROUP = "cinder-group"
REPLICATION_INTERVAL_IN_SEC = 900
REPLICATION_INTERVAL_IN_SEC = 3600
REPLICATION_RETENTION_SHORT_TERM = 14400
REPLICATION_RETENTION_LONG_TERM = 6
REPLICATION_RETENTION_LONG_TERM_PER_DAY = 3

View File

@ -61,7 +61,7 @@ PURE_OPTS = [
"max_over_subscription_ratio config option."),
# These are used as default settings. In future these can be overridden
# by settings in volume-type.
cfg.IntOpt("pure_replica_interval_default", default=900,
cfg.IntOpt("pure_replica_interval_default", default=3600,
help="Snapshot replication interval in seconds."),
cfg.IntOpt("pure_replica_retention_short_term_default", default=14400,
help="Retain all snapshots on target for this "
@ -1719,7 +1719,7 @@ class PureISCSIDriver(PureBaseVolumeDriver, san.SanISCSIDriver):
the underlying storage connectivity with the FlashArray.
"""
VERSION = "6.0.0"
VERSION = "7.0.0"
def __init__(self, *args, **kwargs):
execute = kwargs.pop("execute", utils.execute)
@ -1907,7 +1907,7 @@ class PureFCDriver(PureBaseVolumeDriver, driver.FibreChannelDriver):
supports the Cinder Fibre Channel Zone Manager.
"""
VERSION = "4.0.0"
VERSION = "5.0.0"
def __init__(self, *args, **kwargs):
execute = kwargs.pop("execute", utils.execute)

View File

@ -10,7 +10,7 @@ Support for iSCSI storage protocol is available with the PureISCSIDriver
Volume Driver class, and Fibre Channel with PureFCDriver.
All drivers are compatible with Purity FlashArrays that support the REST
API version 1.2, 1.3, or 1.4 (Purity 4.0.0 and newer).
API version 1.2, 1.3, 1.4, or 1.5 (Purity 4.0.0 and newer).
Limitations and known issues
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -237,7 +237,7 @@ Option Description Default
``pure_replica_interval_default`` Snapshot
replication
interval in
seconds. ``900``
seconds. ``3600``
``pure_replica_retention_short_term_default`` Retain all
snapshots on
target for

View File

@ -0,0 +1,10 @@
---
upgrade:
- The default value for pure_replica_interval_default
used by Pure Storage volume drivers has changed from
900 to 3600 seconds.
fixes:
- Fixes an issue where starting the Pure volume drivers
with replication enabled and default values for
pure_replica_interval_default would cause an error to
be raised from the backend.