-
Notifications
You must be signed in to change notification settings - Fork 91
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
CP-6337: Remove explicit mapping patch in multipath and move it into sm #54
Conversation
@@ -51,8 +51,8 @@ def resize_map(m): | |||
mpexec("resize map %s" % m) | |||
|
|||
# Don't reconfigure!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean to leave this comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No :(
I left it by mistake
|
Looks good - ship it! |
This script is a basic multipath.conf to add and remove WWIDs in the blacklist_exceptions section Signed-off-by: Germano Percossi <germano.percossi@citrix.com>
Signed-off-by: Germano Percossi <germano.percossi@citrix.com>
This patch ensure the new mechanism for explicit multipath mapping is active. The corresponding patch in dm-multipath can be removed. Signed-off-by: Germano Percossi <germano.percossi@citrix.com>
Once started the multipath daemon does not load the needed kernel modules. In the past it was not a problem because they are loaded as soon as a device is added using the CLI. Now we need some checks before doing this and they fail if this modules are not loaded. Loading modules while starting multipath is the standard behaviour in more recent versions of multipath. We just ensure this is always true. Signed-off-by: Germano Percossi <germano.percossi@citrix.com>
# but we do not care about it. | ||
if len(stdout) != 0: | ||
rc = 0 | ||
return rc != False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I replaced "rc and True or False" with this. Is it more readable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks better - keep it.
GitHub: closes xcp-ng#54 on xapi-project/sm
There are surely 2 things to be addressed: