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)
Reviewed: https:/ /review. opendev. org/696463 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=25cc53e43ef 2ae4e862f96cdb8 67baae269bb512
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 25cc53e43ef2ae4 e862f96cdb867ba ae269bb512
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: I6d5d34ac802ecf 6239f2d7e1a2a13 c58ce5db263 db3aec9832c608b 350c3a63cc)
Closes-Bug: #1852201
(cherry picked from commit 04f8e46659a4b29