Created attachment 1380897 [details] engine.log Description of problem: When trying to move a disk of a running stateless VM, the validation message of the failure is empty. Version-Release number of selected component (if applicable): rhvm-4.2.1-0.2.el7.noarch How reproducible: Always Steps to Reproduce: 1. Create and start a stateless VM with disk attached 2. Try to move the stateless VM disk while the VM is running Actual results: The operation fails as expected but the validation message is meaningless: 2018-01-14 09:07:53,396+02 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engineScheduled-Thread-13) [] EVENT_ID: VDS_INITIATED_RUN_VM_AS_STATELESS(537), VM test was restarted on Host host_mixed_1 as stateless Expected results: A meaningful validation message Additional info: engine.log
The empty validation message for stateless VM disk live storage migration attempt: 2018-01-14 09:07:48,186+02 WARN [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateDiskCommand] (default task-12) [558ad827-6484-47e1-8c28-6be86bfd8040] Validation of action 'LiveMigrateDisk' failed for user admin@internal-authz. Reasons: VAR__ACTION__MOVE,VAR__TYPE__DISK
Following your steps to reproduce I got "Cannot create Snapshot. The VM is running as Stateless. Please try again when VM is not running as Stateless." Something might be missing in the scenario?
I manage to reproduce it every time, just try to live migrate a stateless VM disk. 2018-01-14 13:11:33,192+02 WARN [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateDiskCommand] (default task-5) [eac1800c-bb16-4891-a14a-58a94de35631] Validation of action 'LiveMigrateDisk' failed for user admin@internal-authz. Reasons: VAR__ACTION__MOVE,VAR__TYPE__DISK
OK, I've tried on your environment, you have the same expected error that I got while the VM is up but while it's not up you get another error regarding the state of the VM which is actually a dup of bug 1532873 (since the VM is not in Up or Paused status). *** This bug has been marked as a duplicate of bug 1532873 ***