diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2020-07-22 15:41:21 +1200 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2020-07-24 13:55:51 +1200 |
commit | ba046b2a14459132ca10d30a1d2cc0a01126bb1d (patch) | |
tree | b031cbdfa59bc43061d9921ec67879f5aac58b17 /trove/common/notification.py | |
parent | 39b0df0a6b87a6f2cb748cb81ac376088f34b88f (diff) | |
download | trove-ba046b2a14459132ca10d30a1d2cc0a01126bb1d.tar.gz |
Support online volume resize
Trove now supports to resize volume without downtime. To use this
feature, the version of Nova and Cinder needs to be at least Pike, the
config option ``cinder_service_type`` needs to be set to ``volumev3``.
The cloud admin can disable this feature by setting
``online_volume_resize=False``, default is enabled.
Change-Id: I000a4e90800454972dd39f2f82d286571bc0b96c
Diffstat (limited to 'trove/common/notification.py')
-rw-r--r-- | trove/common/notification.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/trove/common/notification.py b/trove/common/notification.py index c5fa57e2..a050e0a7 100644 --- a/trove/common/notification.py +++ b/trove/common/notification.py @@ -205,23 +205,6 @@ class TroveInstanceCreate(TroveCommonTraits): super(TroveInstanceCreate, self).notify('create') -class TroveInstanceModifyVolume(TroveCommonTraits): - - ''' - Additional traits for trove.instance.create notifications that describe - instance action events - - This class should correspond to trove_instance_modify_volume in - ceilometer/event_definitions.yaml - ''' - - def __init__(self, **kwargs): - super(TroveInstanceModifyVolume, self).__init__(**kwargs) - - def notify(self): - super(TroveInstanceModifyVolume, self).notify('modify_volume') - - class TroveInstanceModifyFlavor(TroveCommonTraits): ''' |