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

SAP: Use is_instance_storage_share instead of ssh #517

Open
wants to merge 1 commit into
base: stable/xena-m3
Choose a base branch
from

Conversation

fwiesel
Copy link
Member

@fwiesel fwiesel commented Dec 9, 2024

The libvirt-driver implements is_instance_storage_share twice: Once on driver-internally as _is_path_shared_with needing an ssh trust, and via the driver interface is_instance_storage_share, relying on RPC.

By moving exposing is_instance_storage_share in ComputeVirtAPI, the driver can use this instead of the internal method removing the need for an SSH key in case of having a shared storage.

But since it requires a change of the driver internal API, it is questionable if we can upstream the change as it is.

Change-Id: Icddad1ab000ea07dea7af3aa5f7c18974f4eb8fb

@fwiesel
Copy link
Member Author

fwiesel commented Dec 9, 2024

Alternative to #513. This one changes the dest_host argument of the driver to a migration.
It requires more changes in more places, but it allows us to use the migration object in the vmwareapi driver instead of having to fetch it with an extra db call.

The libvirt-driver implements is_instance_storage_share twice:
Once on driver-internally as `_is_path_shared_with` needing an ssh
trust, and via the driver interface `is_instance_storage_share`,
relying on RPC.

By moving exposing `is_instance_storage_share` in ComputeVirtAPI,
the driver can use this instead of the internal method removing
the need for an SSH key in case of having a shared storage.

But since it requires a change of the driver internal API, it is
questionable if we can upstream the change as it is.

Change-Id: Icddad1ab000ea07dea7af3aa5f7c18974f4eb8fb
@fwiesel fwiesel force-pushed the pass_migration_to_resize branch from 58c98db to 06ed4fa Compare December 9, 2024 15:41
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