Dell PowerMax Snapvx unlink fails

Bug #2045230 reported by Yian Zong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Yian Zong

Bug Description

Dell PowerMax SnapVx unlink fails as the linked Device is not yet fully defined.

The proposed fix for U4P 9.2 and above is:

Add a new Boolean configuration 'snapvx_unlink_symforce' in cinder.conf

If the option snapvx_unlink_symforce is True
Get the status of the defined state presented by the REST API interface
If the DEFINED state is False, then proceed with an unlink –symforce operation
If the DEFINED state is True, proceed as usual

If the option snapvx_unlink_symforce is False or MISSING
If the DEFINED state is False, raise an exception and proceed as usual
If the DEFINED state is True, proceed as usual

Yian Zong (yianzong)
Changed in cinder:
assignee: nobody → Yian Zong (yianzong)
Yian Zong (yianzong)
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/+/902262

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/+/902262
Committed: https://opendev.org/openstack/cinder/commit/03ac369854597f6c886906c1f71561894b10aa04
Submitter: "Zuul (22348)"
Branch: master

commit 03ac369854597f6c886906c1f71561894b10aa04
Author: Yian Zong <email address hidden>
Date: Thu Nov 30 09:30:19 2023 +0000

    Dell PowerMax: Fix SnapVx unlink failure

    Dell PowerMax SnapVx unlink fails as the linked device
    is not yet fully defined.
    This patch fixed the issue by checking the new configuration
    'snapvx_unlink_symforce' and the linked device 'defined' status
    to determine the value of 'symforce' in the payload of
    SnapVx unlink restcall.

    Closes-Bug: #2045230
    Change-Id: I614f6aef2d4da76c417b4a143ab80e4a5f716dcd

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/2024.1)

Fix proposed to branch: stable/2024.1
Review: https://review.opendev.org/c/openstack/cinder/+/914005

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/2024.1)

Reviewed: https://review.opendev.org/c/openstack/cinder/+/914005
Committed: https://opendev.org/openstack/cinder/commit/c6ff40580b06feeb934591bf0ad38ba496b0ef5a
Submitter: "Zuul (22348)"
Branch: stable/2024.1

commit c6ff40580b06feeb934591bf0ad38ba496b0ef5a
Author: Yian Zong <email address hidden>
Date: Thu Nov 30 09:30:19 2023 +0000

    Dell PowerMax: Fix SnapVx unlink failure

    Dell PowerMax SnapVx unlink fails as the linked device
    is not yet fully defined.
    This patch fixed the issue by checking the new configuration
    'snapvx_unlink_symforce' and the linked device 'defined' status
    to determine the value of 'symforce' in the payload of
    SnapVx unlink restcall.

    Closes-Bug: #2045230
    Change-Id: I614f6aef2d4da76c417b4a143ab80e4a5f716dcd
    (cherry picked from commit 03ac369854597f6c886906c1f71561894b10aa04)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 24.0.0.0rc2

This issue was fixed in the openstack/cinder 24.0.0.0rc2 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.