Skip to content

Mux mirror failure check for SXM #6439

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Vincent-lau
Copy link
Contributor

@Vincent-lau Vincent-lau commented Apr 24, 2025

Continuation of #6434, more mutiplexing for SXM, this time the mirror status checking logic.

No functional change.

More to come...

@Vincent-lau Vincent-lau force-pushed the private/shul2/sxm-mux5 branch from cdf43c5 to 39db19e Compare April 24, 2025 16:48
The current logic in storage_migrate.ml for mirror failure check is
specific to tapdisk, hence multiplex it.

`pre_deactivate_hook` also has something similar to check for mirror
failure, so do something similar there.

Signed-off-by: Vincent Liu <[email protected]>
@Vincent-lau Vincent-lau force-pushed the private/shul2/sxm-mux5 branch 2 times, most recently from be73446 to 063c93e Compare April 25, 2025 12:42
Previously this was deleted in commit 1fe6389 as it was not multiplexed,
but looks like we still need to keep it in storage_mux because sm-cli
needs to make rpc calls to storage_mux when trying to list all the
mirrors to make it work properly, due to the fact that the sr plugins
are stored in the address space of the xapi process.

There are other invocations in sm-cli such as `Storage_migrate.start`
which may have similar problems. But I have left them alone as I don't
any reasonable way of calling them from the cli.

Signed-off-by: Vincent Liu <[email protected]>
@Vincent-lau Vincent-lau force-pushed the private/shul2/sxm-mux5 branch from 7f9d5b6 to eef608a Compare April 25, 2025 12:53
Signed-off-by: Vincent Liu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant