From b4d3914a86267a739d3c6c16eac5832d65e40960 Mon Sep 17 00:00:00 2001 From: jlothe Date: Tue, 10 Feb 2026 15:35:39 +0530 Subject: [PATCH] ESI-3293 Added check to add comment for online copy only for Alletra9k version --- cinder/volume/drivers/hpe/hpe_3par_common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'}