Update git submodules
* Update os-brick from branch 'master' to 0a5d4c1506a9b85dfe0afa6796e1b94d2b3cc81a - Merge "Fix multipath resize map with friendly names" - Fix multipath resize map with friendly names When multipath is enabled and friendly names are ON and we try to extend a volume, we pass the SCSI WWID to the multipath_resize_map method which is not correct. There are 2 things we can pass to the multipathd resize map command: 1) Multipath device (eg: dm-0) 2) Alias (eg: mpath1) or UUID (eg: 36005076303ffc56200000000000010aa) The value should be an alias (mpath1) when friendly names are ON and UUID (36005076303ffc56200000000000010aa) when friendly names are OFF. However, we only pass the UUID irrespective of the value set for friendly names. This patch passes the multipath device path (to multipathd resize map command) which is the real path of the multipath device (/dev/dm-*). This fixes the issue as it passes the same value irrespective of if the friendly names are ON or OFF. -> self.multipath_resize_map(os.path.realpath(mpath_device)) (Pdb) mpath_device '/dev/disk/by-id/dm-uuid-mpath-3600140522774ce73be84f9cb9537e0c9' (Pdb) os.path.realpath(mpath_device) '/dev/dm-5' Closes-Bug: 1609753 Change-Id: I1c60af19c2ebaa9de878cd07cfc0077c5ea56fe3
This commit is contained in:
parent
29c8c48fcf
commit
d3ad9ad589
2
os-brick
2
os-brick
|
@ -1 +1 @@
|
|||
Subproject commit bfb55b7b58b4a89a690c9c72d7c0ec45b3b66493
|
||||
Subproject commit 0a5d4c1506a9b85dfe0afa6796e1b94d2b3cc81a
|
Loading…
Reference in New Issue