Bug 1721222
| Summary: | ovirt_vm module does not migrate pinned VM when forced_migrate param is used | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Jan Zmeskal <jzmeskal> |
| Component: | ansible | Assignee: | Martin Perina <mperina> |
| Status: | CLOSED NOTABUG | QA Contact: | Lukas Svaty <lsvaty> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.3.4 | CC: | akrejcir, omachace |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-06-27 11:12:14 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jan Zmeskal
2019-06-17 15:32:25 UTC
Per code this is intended behaviour: https://github.com/oVirt/ovirt-engine/blob/127dc1537c31e644894a2ad3cd20c8711b7713b8/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/validator/VmValidator.java#L391 Andrej, can you confirm that this is intended behaviour? Thanks. Hi Ondra, this is however in contradiction with documentation: https://docs.ansible.com/ansible/latest/modules/ovirt_vm_module.html The doc say about force_migrate: If true, the VM will migrate even if it is defined as non-migratable. Jan This is intended. There are 3 migration modes: - Automatic migration allowed - It is possible to migrate the VM by a script with force_migrate=no - Manual migration only - The force_migrate has to be 'yes'. - Migration not allowed - This mode can be useful for example when the VM uses pass-through of host devices. It looks like a documentation bug. (In reply to Andrej Krejcir from comment #4) > This is intended. There are 3 migration modes: > - Automatic migration allowed - It is possible to migrate the VM by a script > with force_migrate=no > - Manual migration only - The force_migrate has to be 'yes'. > - Migration not allowed - This mode can be useful for example when the VM > uses pass-through of host devices. > > It looks like a documentation bug. If this behaviour is indeed intended, I believe we can close this. I created a new docs bug here: https://bugzilla.redhat.com/show_bug.cgi?id=1724535 |