Verify WWN of connected iSCSI devices if passed
If a WWN has been provided in connection_properties, verify that the found devices have that expected WWN. Fail the attachment if not. This prevents cases where a device already exists on the host from an old attachment that wasn't fully cleaned up, and the new attachment got the same LUN. Using this old device could lead to data corruption. Change-Id: I45a2221c0518213dc8132831c0bde9db4734da2b Closes-Bug: 1813609changes/76/633676/2
parent
322554c386
commit
14be08d0b5
@ -0,0 +1,9 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Adds verification that found iSCSI devices have the expected WWN
|
||||
(must be provided in connection_properties). The attachment fails if
|
||||
the WWNs do not match. This prevents cases where a device already
|
||||
exists on the host from an old attachment that wasn't fully cleaned
|
||||
up, and the new attachment got the same LUN. Using this old device
|
||||
could lead to data corruption.
|
Loading…
Reference in New Issue