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

Clarify live migration limitation #3103

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Conversation

dann1
Copy link
Contributor

@dann1 dann1 commented Nov 8, 2024

Description

When using the API or the CLI

onevm migrate --live --help
## USAGE
migrate <range|vmid_list> <hostid> [<datastoreid>]
        Migrates the given running VM to another Host. If used with --live
        parameter the miration is done without downtime.

        States: RUNNING
        valid options: enforce, live, poweroff, poweroff_hard

## OPTIONS
     -e, --enforce             Enforce that the host capacity is not exceeded
     --live                    Do the action with the VM running
     --poff                    Do the migrate by poweringoff the vm
     --poff-hard               Do the migrate by poweringoff hard the vm
     -v, --verbose             Verbose mode
     -h, --help                Show this message
     -V, --version             Show version and copyright information
     --user name               User name used to connect to OpenNebula
     --password password       Password to authenticate with OpenNebula
     --endpoint endpoint       URL of OpenNebula xmlrpc frontend

one might be under the impression that migrating system datastores live is possible. However, the API has a validation

[one.vm.migrate] A migration to a different system datastore cannot be performed live.

Clarify this on the documentation.

Also I don't know why other changes appeared, probably some automatic linting happened on vscode.

Branches to which this PR applies

  • master
  • one-6.10
  • one-6.10-maintenance

  • Check this if this PR should not be squashed

@rsmontero rsmontero merged commit 7b97560 into OpenNebula:master Nov 11, 2024
3 checks passed
rsmontero pushed a commit that referenced this pull request Nov 11, 2024
rsmontero pushed a commit that referenced this pull request Nov 11, 2024
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.

2 participants