Hitachi: ``hitachi_mirror_pool`` option does not work

Bug #2011810 reported by Atsushi Kawai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Unassigned

Bug Description

Hitachi driver supports the option ``hitachi_mirror_pool`` in the patch https://review.opendev.org/c/openstack/cinder/+/796170 which was merged into Antelope.

Even though the option is set a pool identifier(a number or a pool name) for a secondary storage, the pool identifier is used the value of the option ``hitachi_pool``.

The option ``hitachi_pool`` is set the pool identifier for a primary storage.
It has a huge risk to be used unexpected pool on secondary storage.

[workaround]
Use same pool number for both primary and secondary storage as the option ``hitachi_pool``

Revision history for this message
Atsushi Kawai (atsushi-kawai-bu) wrote :

The bug should be fixed and backported into Antelope.

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/877672

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.opendev.org/c/openstack/cinder/+/877672
Committed: https://opendev.org/openstack/cinder/commit/2270611507720ba5c05bb6acaf0a5825711ba992
Submitter: "Zuul (22348)"
Branch: master

commit 2270611507720ba5c05bb6acaf0a5825711ba992
Author: Atsushi Kawai <email address hidden>
Date: Fri Mar 17 05:52:44 2023 +0000

    Hitachi: Fix to use correct pool on secondary storage

    This patch fixes to use correct pool number for a secondary storage on
    GAD environment[*1].
    Even though the option ``hitachi_mirror_pool`` is to set pool number for
    secondary storage, the option does not work and a pool number for
    primary storage would be used on secondary storage.
    The bug should be fixed and delete the risk to be used unexpected pool
    number.

    [1] GAD is the storage mirroring product on Hitachi storage. The feature
    was implied as the patch
     https://review.opendev.org/c/openstack/cinder/+/796170 and was merged
    into Antelope.

    Closes-Bug: #2011810
    Change-Id: I9c37ada5e6af1f3c28ebd5c3c2a8baf2d88d0a96

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 24.0.0.0rc1

This issue was fixed in the openstack/cinder 24.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.