diff --git a/cinder/volume/drivers/hpe/hpe_3par_common.py b/cinder/volume/drivers/hpe/hpe_3par_common.py index 8591d3434e..f43e4daaef 100644 --- a/cinder/volume/drivers/hpe/hpe_3par_common.py +++ b/cinder/volume/drivers/hpe/hpe_3par_common.py @@ -2659,8 +2659,8 @@ def create_cloned_volume(self, volume, src_vref): LOG.info("array version: %(ver)s", {'ver': self.API_VERSION}) comment_line = None - if self.API_VERSION >= 40600000: - # comment can be added + if self.API_VERSION >= 40600000 and self.API_VERSION < API_VERSION_2023: + # comment added for online copy only for Alletra9k version comments = {'volume_id': volume['id'], 'name': volume['name'], 'type': 'OpenStack'}