Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WWID search fails for bionic #8

Open
sudeephb opened this issue Dec 7, 2023 · 0 comments
Open

WWID search fails for bionic #8

sudeephb opened this issue Dec 7, 2023 · 0 comments

Comments

@sudeephb
Copy link
Contributor

sudeephb commented Dec 7, 2023

line 445 of src/charm.py should be adapted for bionic like this :
wwid = re.findall(r"(([\d\w]+))|^([\d\w]+)", result)

The output of multipath -11 can differ between different versions of multipath. See below:
18.04
$ sudo multipath -ll
3624a937085a63e7d52ae469c00011014 dm-0 PURE,FlashArray
size=2.0T features='0' hwhandler='0' wp=rw
-+- policy='service-time 0' prio=50 status=active |- 6:0:0:1 sdh 8:112 active ready running |- 6:0:1:1 sdi 8:128 active ready running |- 6:0:2:1 sdj 8:144 active ready running |- 6:0:3:1 sdk 8:160 active ready running |- 6:0:4:1 sdl 8:176 active ready running |- 6:0:5:1 sdm 8:192 active ready running |- 10:0:0:1 sda 8:0 active ready running |- 10:0:1:1 sdb 8:16 active ready running |- 10:0:2:1 sdc 8:32 active ready running |- 10:0:3:1 sdd 8:48 active ready running |- 10:0:4:1 sde 8:64 active ready running - 10:0:5:1 sdf 8:80 active ready running

VS
20.04

~$ sudo multipath -ll
data1 (3624a937085a63e7d52ae469c00011018) dm-0 PURE,FlashArray
size=2.0T features='1 queue_if_no_path' hwhandler='1 alua' wp=rw
-+- policy='queue-length 0' prio=50 status=active |- 9:0:0:1 sda 8:0 active ready running |- 9:0:1:1 sdb 8:16 active ready running |- 9:0:2:1 sdc 8:32 active ready running |- 9:0:3:1 sdd 8:48 active ready running |- 9:0:4:1 sde 8:64 active ready running |- 9:0:5:1 sdf 8:80 active ready running |- 10:0:0:1 sdh 8:112 active ready running |- 10:0:1:1 sdi 8:128 active ready running |- 10:0:2:1 sdj 8:144 active ready running |- 10:0:3:1 sdk 8:160 active ready running |- 10:0:4:1 sdl 8:176 active ready running - 10:0:5:1 sdm 8:192 active ready running


Imported from Launchpad using lp2gh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant