NEC driver: non-disruptive backup failed

Bug #1852201 reported by Naoki Saito
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Undecided
Naoki Saito

Bug Description

With NEC driver, when running non-disruptive backup using a temporary volume as LUN 0 it gave following error message.
2019-11-08 07:58:24.370 58 ERROR oslo_messaging.rpc.server [req-fd39d7d5-c0b0-47c3-a5d1-71f86b13182d 6212407db0ab46c8889a6c04817e0b75 e89019385ebb4a6b913d9c2d944f1e6a - default default] Exception during message handling: VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: Bad or unexpected response from the storage volume backend API: Command `iSMcfg addldsetld -ldset LX:edhat3dee8e45afb -ldname LX:7PVjAR1c6A1yCXaIxyAPlH_l -lun 0` failed.
2019-11-08 07:58:24.370 58 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2019-11-08 07:58:24.370 58 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 163, in _process_incoming
2019-11-08 07:58:24.370 58 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2019-11-08 07:58:24.370 58 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 265, in dispatch
2019-11-08 07:58:24.370 58 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2019-11-08 07:58:24.370 58 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 194, in _do_dispatch
2019-11-08 07:58:24.370 58 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
2019-11-08 07:58:24.370 58 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 1801, in initialize_connection_snapshot
2019-11-08 07:58:24.370 58 ERROR oslo_messaging.rpc.server raise exception.VolumeBackendAPIException(data=err_msg)
2019-11-08 07:58:24.370 58 ERROR oslo_messaging.rpc.server VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: Bad or unexpected response from the storage volume backend API: Command `iSMcfg addldsetld -ldset LX:edhat3dee8e45afb -ldname LX:7PVjAR1c6A1yCXaIxyAPlH_l -lun 0` failed.

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/693816

Changed in cinder:
assignee: nobody → Naoki Saito (n-saito)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/696463

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

Reviewed: https://review.opendev.org/696463
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=25cc53e43ef2ae4e862f96cdb867baae269bb512
Submitter: Zuul
Branch: stable/train

commit 25cc53e43ef2ae4e862f96cdb867baae269bb512
Author: Naoki Saito <email address hidden>
Date: Tue Nov 12 20:23:51 2019 +0900

    NEC driver: fix a non-disruptive backup error

    When attaching a snapshot to a node,
    NEC driver automatically creates and attaches LUN-0
    if the node does not have it yet.
    The LUN-0 is reserved for storage functions control.

    Currently, the driver does not update a LUN list after creating LUN-0
    and selects the already used LUN to attach the snapshot.
    That causes a non-disruptive backup error.

    This patch adds the LUN list update.
    The list is stored in `ldset' variable.

    Change-Id: I6d5d34ac802ecf6239f2d7e1a2a13c58ce5db263
    Closes-Bug: #1852201
    (cherry picked from commit 04f8e46659a4b29db3aec9832c608b350c3a63cc)

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

This issue was fixed in the openstack/cinder 15.0.1 release.

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

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