HPMSA driver fails using deprecated syntax with newest firmware

Bug #1897926 reported by Chris M
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Chris M

Bug Description

The HPMSA driver fails with the newest HPE MSA array firmware because it's using deprecated command syntax.

The HPMSA driver supports multiple generations of HPE MSA storage products. Over time, the management API has been updated with older versions being deprecated. For backwards compatibility, the HPMSA driver continued to use some deprecated API commands.

The latest HPE MSA firmware has removed some the deprecated API syntax--in particular, it no longer accepts 'host' as a synonym for 'initiator' when specifying WWPNs or IQNs--so the driver needs to be updated to check the array's firmware version and use the newer API version where appropriate, while continuing to use the older API version with older firmware.

Chris M (pots)
Changed in cinder:
assignee: nobody → Chris M (pots)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/victoria)

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/756357

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

Reviewed: https://review.opendev.org/755160
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=d739b867144f5b5069ad7ef357eb74ccb02149ad
Submitter: Zuul
Branch: master

commit d739b867144f5b5069ad7ef357eb74ccb02149ad
Author: Chris M <email address hidden>
Date: Wed Sep 30 02:04:01 2020 +0000

    Critical fix for MSA 2060 and MSA 1060

    Correct omission in HPE MSA driver doc and fix driver failures caused
    by use of deprecated API command syntax that's not accepted by the
    latest firmware. The changes are conditional on the firmware version
    so that arrays with older firmware will not be affected.

    Change-Id: I73b093bcee4ac83cb80480097818b28104f8e15f
    Closes-Bug: #1897926

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

Reviewed: https://review.opendev.org/756357
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=0d554e06ca5a09ecc7c826721e820289a248b9ff
Submitter: Zuul
Branch: stable/victoria

commit 0d554e06ca5a09ecc7c826721e820289a248b9ff
Author: Chris M <email address hidden>
Date: Wed Sep 30 02:04:01 2020 +0000

    Critical fix for MSA 2060 and MSA 1060

    Correct omission in HPE MSA driver doc and fix driver failures caused
    by use of deprecated API command syntax that's not accepted by the
    latest firmware. The changes are conditional on the firmware version
    so that arrays with older firmware will not be affected.

    Change-Id: I73b093bcee4ac83cb80480097818b28104f8e15f
    Closes-Bug: #1897926
    (cherry picked from commit d739b867144f5b5069ad7ef357eb74ccb02149ad)

tags: added: in-stable-victoria
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 18.0.0.0b1

This issue was fixed in the openstack/cinder 18.0.0.0b1 development milestone.

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.